---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/b2cDirectories"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/b2cDirectories"
tags: ["B2CTenants"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/b2cDirectories

`GET /subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/b2cDirectories`

Get all the Azure AD B2C tenant resources in a subscription.

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Azure AD B2C tenant resources in subscription successfully retrieved.

- B2CTenantResourceList — The collection of Azure AD B2C tenant resources
  - `value` B2CTenantResource[] — List of Azure AD B2C tenant resources
    - `type` 'Microsoft.AzureActiveDirectory/b2cDirectories' — The type of the B2C tenant resource.
    - `sku` B2CResourceSKU, required — SKU properties of the Azure AD B2C tenant. Learn more about Azure AD B2C billing at [aka.ms/b2cBilling](https://aka.ms/b2cBilling).
      - `name` 'Standard' | 'PremiumP1' | 'PremiumP2' — The name of the SKU for the tenant.
      - `tier` 'A0' — The tier of the tenant.
    - `properties` B2CTenantResourceProperties — Properties of the Azure AD B2C tenant Azure resource.
      - `billingConfig` object — The billing configuration for the tenant.
        - `billingType` 'MAU' | 'Auths' — The type of billing. Will be MAU for all new customers. If 'Auths', it can be updated to 'MAU'. Cannot be changed if value is 'MAU'. Learn more about Azure AD B2C billing at [aka.ms/b2cBilling](https://aka.ms/b2cbilling).
        - `effectiveStartDateUtc` string — The data from which the billing type took effect
      - `tenantId` string — An identifier of the Azure AD B2C tenant.
      - `isGoLocalTenant` boolean — Enable GoLocal add-on to store data at rest in the specific Geo. Refer to [aka.ms/B2CDataResidency](https://aka.ms/B2CDataResidency) to see local data residency options.
    - `id` string — An identifier that represents the Azure AD B2C tenant resource.
    - `name` string — The name of the Azure AD B2C tenant resource.
    - `location` string, required — The location in which the resource is hosted and data resides. Can be one of 'United States', 'Europe', 'Asia Pacific', or 'Australia'. Refer to [this documentation](https://aka.ms/B2CDataResidency) for more information.
    - `tags` object — Resource Tags
    - `systemData` SystemData — unresolved $ref

## Other responses

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

---

[API](https://skmtc.net/azure/apis/cpim-microsoft-azureactivedirectory-externalidentities.md) · [All operations](https://skmtc.net/azure/apis/cpim-microsoft-azureactivedirectory-externalidentities/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cpim-microsoft-azureactivedirectory-externalidentities/revisions/0ea03104124e/schema)
