Microsoft.AzureActiveDirectory (stable:2021-04-01)

2025/09/26 • 14 new, 14 deleted methods

B2CTenants_CheckNameAvailability (new)
Description Checks the availability and validity of a domain name for the tenant.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/checkNameAvailability
{
subscriptionId: string ,
api-version: string ,
checkNameAvailabilityRequestBody:
{
name: string ,
countryCode: string ,
}
,
}

⚐ Response (200)

{
message: string ,
nameAvailable: boolean ,
reason: enum ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
B2CTenants_ListByResourceGroup (new)
Description Get all the Azure AD B2C tenant resources in a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories
{
subscriptionId: string ,
api-version: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
type: enum ,
sku:
{
name: enum ,
tier: enum ,
}
,
properties:
{
billingConfig:
{
billingType: enum ,
effectiveStartDateUtc: string ,
}
,
tenantId: string ,
}
,
id: string ,
name: string ,
location: string ,
tags: object ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
B2CTenants_ListBySubscription (new)
Description Get all the Azure AD B2C tenant resources in a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/b2cDirectories
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
type: enum ,
sku:
{
name: enum ,
tier: enum ,
}
,
properties:
{
billingConfig:
{
billingType: enum ,
effectiveStartDateUtc: string ,
}
,
tenantId: string ,
}
,
id: string ,
name: string ,
location: string ,
tags: object ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
B2CTenants_Get (new)
Description Get the Azure AD B2C tenant resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories/{resourceName}
{
subscriptionId: string ,
api-version: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
type: enum ,
sku:
{
name: enum ,
tier: enum ,
}
,
properties:
{
billingConfig:
{
billingType: enum ,
effectiveStartDateUtc: string ,
}
,
tenantId: string ,
}
,
id: string ,
name: string ,
location: string ,
tags: object ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
B2CTenants_Create (new)
Description Initiates an async request to create both the Azure AD B2C tenant and the corresponding Azure resource linked to a subscription.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories/{resourceName}
{
subscriptionId: string ,
api-version: string ,
resourceGroupName: string ,
resourceName: string ,
createTenantRequestBody:
{
location: string ,
properties:
{
createTenantProperties:
{
displayName: string ,
countryCode: string ,
}
,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
type: enum ,
sku:
{
name: enum ,
tier: enum ,
}
,
properties:
{
billingConfig:
{
billingType: enum ,
effectiveStartDateUtc: string ,
}
,
tenantId: string ,
}
,
id: string ,
name: string ,
location: string ,
tags: object ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
B2CTenants_Update (new)
Description Update the Azure AD B2C tenant resource.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories/{resourceName}
{
subscriptionId: string ,
api-version: string ,
resourceGroupName: string ,
resourceName: string ,
updateTenantRequestBody:
{
sku:
{
name: enum ,
tier: enum ,
}
,
properties:
{
billingConfig:
{
billingType: enum ,
effectiveStartDateUtc: string ,
}
,
tenantId: string ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
type: enum ,
sku:
{
name: enum ,
tier: enum ,
}
,
properties:
{
billingConfig:
{
billingType: enum ,
effectiveStartDateUtc: string ,
}
,
tenantId: string ,
}
,
id: string ,
name: string ,
location: string ,
tags: object ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
B2CTenants_Delete (new)
Description Initiates an async operation to delete the Azure AD B2C tenant and Azure resource. The resource deletion can only happen as the last step in [the tenant deletion process](https://aka.ms/deleteB2Ctenant).
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories/{resourceName}
{
subscriptionId: string ,
api-version: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (new)
Description Lists the operations available from this provider.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.AzureActiveDirectory/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GuestUsages_Create (new)
Description Creates a Guest Usages resource, which is used to linking a subscription to an instance of Azure AD External Identities. [Learn more](https://aka.ms/extidbilling).
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/guestUsages/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
Resource:
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
tenantId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
tenantId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GuestUsages_Update (new)
Description Updates a Guest Usages resource for the Microsoft.AzureActiveDirectory resource provider
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/guestUsages/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
ResourcePatch:
{
tags: object ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
tenantId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GuestUsages_Delete (new)
Description Deletes a Guest Usages resource for the Microsoft.AzureActiveDirectory resource provider
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/guestUsages/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GuestUsages_Get (new)
Description Gets a Guest Usages resource for the Microsoft.AzureActiveDirectory resource provider
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/guestUsages/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
tenantId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GuestUsages_ListBySubscription (new)
Description Gets Guest Usages resources under a subscription for the Microsoft.AzureActiveDirectory resource provider
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/guestUsages
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
tenantId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GuestUsages_ListByResourceGroup (new)
Description Gets Guest Usages resources under a resource group for the Microsoft.AzureActiveDirectory resource provider
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/guestUsages
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
tenantId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
B2CTenants_CheckNameAvailability (removed)
Description Checks the availability and validity of a domain name for the tenant.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/checkNameAvailability
{
subscriptionId: string ,
api-version: string ,
checkNameAvailabilityRequestBody:
{
name: string ,
countryCode: string ,
}
,
}

⚐ Response (200)

{
message: string ,
nameAvailable: boolean ,
reason: enum ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
B2CTenants_ListByResourceGroup (removed)
Description Get all the Azure AD B2C tenant resources in a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories
{
subscriptionId: string ,
api-version: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
type: enum ,
sku:
{
name: enum ,
tier: enum ,
}
,
properties:
{
billingConfig:
{
billingType: enum ,
effectiveStartDateUtc: string ,
}
,
tenantId: string ,
}
,
id: string ,
name: string ,
location: string ,
tags: object ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
B2CTenants_ListBySubscription (removed)
Description Get all the Azure AD B2C tenant resources in a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/b2cDirectories
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
type: enum ,
sku:
{
name: enum ,
tier: enum ,
}
,
properties:
{
billingConfig:
{
billingType: enum ,
effectiveStartDateUtc: string ,
}
,
tenantId: string ,
}
,
id: string ,
name: string ,
location: string ,
tags: object ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
B2CTenants_Get (removed)
Description Get the Azure AD B2C tenant resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories/{resourceName}
{
subscriptionId: string ,
api-version: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
type: enum ,
sku:
{
name: enum ,
tier: enum ,
}
,
properties:
{
billingConfig:
{
billingType: enum ,
effectiveStartDateUtc: string ,
}
,
tenantId: string ,
}
,
id: string ,
name: string ,
location: string ,
tags: object ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
B2CTenants_Create (removed)
Description Initiates an async request to create both the Azure AD B2C tenant and the corresponding Azure resource linked to a subscription.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories/{resourceName}
{
subscriptionId: string ,
api-version: string ,
resourceGroupName: string ,
resourceName: string ,
createTenantRequestBody:
{
location: string ,
properties:
{
createTenantProperties:
{
displayName: string ,
countryCode: string ,
}
,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
type: enum ,
sku:
{
name: enum ,
tier: enum ,
}
,
properties:
{
billingConfig:
{
billingType: enum ,
effectiveStartDateUtc: string ,
}
,
tenantId: string ,
}
,
id: string ,
name: string ,
location: string ,
tags: object ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
B2CTenants_Update (removed)
Description Update the Azure AD B2C tenant resource.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories/{resourceName}
{
subscriptionId: string ,
api-version: string ,
resourceGroupName: string ,
resourceName: string ,
updateTenantRequestBody:
{
sku:
{
name: enum ,
tier: enum ,
}
,
properties:
{
billingConfig:
{
billingType: enum ,
effectiveStartDateUtc: string ,
}
,
tenantId: string ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
type: enum ,
sku:
{
name: enum ,
tier: enum ,
}
,
properties:
{
billingConfig:
{
billingType: enum ,
effectiveStartDateUtc: string ,
}
,
tenantId: string ,
}
,
id: string ,
name: string ,
location: string ,
tags: object ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
B2CTenants_Delete (removed)
Description Initiates an async operation to delete the Azure AD B2C tenant and Azure resource. The resource deletion can only happen as the last step in [the tenant deletion process](https://aka.ms/deleteB2Ctenant).
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories/{resourceName}
{
subscriptionId: string ,
api-version: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (removed)
Description Lists the operations available from this provider.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.AzureActiveDirectory/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GuestUsages_Create (removed)
Description Creates a Guest Usages resource, which is used to linking a subscription to an instance of Azure AD External Identities. [Learn more](https://aka.ms/extidbilling).
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/guestUsages/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
Resource:
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
tenantId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
tenantId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GuestUsages_Update (removed)
Description Updates a Guest Usages resource for the Microsoft.AzureActiveDirectory resource provider
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/guestUsages/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
ResourcePatch:
{
tags: object ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
tenantId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GuestUsages_Delete (removed)
Description Deletes a Guest Usages resource for the Microsoft.AzureActiveDirectory resource provider
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/guestUsages/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GuestUsages_Get (removed)
Description Gets a Guest Usages resource for the Microsoft.AzureActiveDirectory resource provider
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/guestUsages/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
tenantId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GuestUsages_ListBySubscription (removed)
Description Gets Guest Usages resources under a subscription for the Microsoft.AzureActiveDirectory resource provider
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/guestUsages
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
tenantId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GuestUsages_ListByResourceGroup (removed)
Description Gets Guest Usages resources under a resource group for the Microsoft.AzureActiveDirectory resource provider
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/guestUsages
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
tenantId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}