---
title: "Accounts_ListByResourceGroup"
method: GET
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account"
tags: ["Accounts"]
---

# Accounts_ListByResourceGroup

`GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.visualstudio/account`

Gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription.

## Path parameters

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

## Query parameters

- `api-version` string, required

## Response `200`

The operation succeeded. The response contains the details of the Visual Studio Team Services account resources linked to the Azure subscription.

- AccountResourceListResult — The response to an account resource list GET request.
  - `value` AccountResource[] — Array of resource details.
    - `id` string — Unique identifier of the resource.
    - `location` string — Resource location.
    - `name` string — Resource name.
    - `tags` object — Resource tags.
    - `type` string — Resource type.

---

[API](https://skmtc.dev/azure/apis/visual-studio-resource-provider-client.md) · [All operations](https://skmtc.dev/azure/apis/visual-studio-resource-provider-client/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/visual-studio-resource-provider-client/revisions/3e33b3da678f/schema)
