---
title: "Get all the sites in the subscription."
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.OffAzure/masterSites"
tags: ["MasterSitesController"]
---

# Get all the sites in the subscription.

`GET /subscriptions/{subscriptionId}/providers/Microsoft.OffAzure/masterSites`

List MasterSite resources by subscription ID

## Parameters

- `../../../../../../common-types/resource-management/v3/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v3/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref

## Response `200`

Azure operation completed successfully.

- MasterSiteListResult — The response of a MasterSite list operation.
  - `value` MasterSite[], required — The MasterSite items on this page — unresolved $ref
  - `nextLink` string, uri — The link to the next page of items

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-07-13** (2020-01-01) `2e2d5874be5f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/migrate-microsoft-offazure-offazure/changes/subscriptions/:subscriptionId/providers/Microsoft.OffAzure/masterSites/get.md)

---

[API](https://skmtc.dev/azure/apis/migrate-microsoft-offazure-offazure.md) · [All operations](https://skmtc.dev/azure/apis/migrate-microsoft-offazure-offazure/llms.txt) · [OpenAPI document](https://skmtc.dev/azure/apis/migrate-microsoft-offazure-offazure/revisions/c73be763fe18?raw)
