---
title: "List Domain Services in Subscription"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.AAD/domainServices"
tags: ["DomainServices"]
---

# List Domain Services in Subscription

`GET /subscriptions/{subscriptionId}/providers/Microsoft.AAD/domainServices`

The List Domain Services in Subscription operation lists all the domain services available under the given subscription (and across all resource groups within that subscription).

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

HTTP 200 (OK) if the operation was successful.

- DomainServiceListResult — The response from the List Domain Services operation.
  - `value` DomainService[] — the list of domain services.
    - `id` string — Resource Id
    - `name` string — Resource name
    - `type` string — Resource type
    - `location` string — Resource location
    - `tags` object — Resource tags
    - `etag` string — Resource etag
  - `nextLink` string — The continuation token for the next page of results.

## Other responses

- `default` — Domain Service error response.

---

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