---
title: "Lists the Automation Accounts within an Azure subscription."
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Automation/automationAccounts"
tags: ["AutomationAccount"]
---

# Lists the Automation Accounts within an Azure subscription.

`GET /subscriptions/{subscriptionId}/providers/Microsoft.Automation/automationAccounts`

Retrieve a list of accounts within a given subscription.

## Parameters

- `../../common/v1/definitions.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../common/v1/definitions.json#/components/parameters/ApiVersionParameter` — unresolved $ref

## Response `200`

OK

- AutomationAccountListResult — The response model for the list account operation.
  - `value` AutomationAccount[] — Gets or sets list of accounts. — unresolved $ref
  - `nextLink` string — Gets or sets the next link.

## Other responses

- `default` — Error response describing why the operation failed.

---

[API](https://skmtc.dev/azure/apis/automationmanagement.md) · [All operations](https://skmtc.dev/azure/apis/automationmanagement/llms.txt) · [OpenAPI document](https://skmtc.dev/azure/apis/automationmanagement/revisions/3a6d45d251d3?raw)
