---
title: "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts"
tags: ["BatchAccount"]
---

# GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts`

Gets information about the Batch accounts associated with the specified resource group.

## Path parameters

- `resourceGroupName` string, required
- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The operation was successful. The response contains a list of Batch account entities associated with the resource group.

- BatchAccountListResult — Values returned by the List operation.
  - `value` BatchAccount[] — The collection of Batch accounts returned by the listing operation.
    - `id` string — The ID of the resource.
    - `name` string — The name of the resource.
    - `type` string — The type of the resource.
    - `location` string — The location of the resource.
    - `tags` object — The tags of the resource.
  - `nextLink` string — The continuation token.

## Other responses

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

---

[API](https://skmtc.net/azure/apis/batchmanagement.md) · [All operations](https://skmtc.net/azure/apis/batchmanagement/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/batchmanagement/versions/ea58b7a60d64/schema)
