CIAM Tenants - List By Resource Group
Get all the Azure AD for customers tenants resources in a resource group.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/ciamDirectories?api-version=2023-05-17-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
The name of the resource group. |
subscription
|
path | True |
string |
Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
api-version
|
query | True |
string |
Version of the API to be used with the client request. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
List of Azure AD for customers tenants in resource group successfully retrieved. |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
CIAMTenants_ListByResourceGroup
Sample Request
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/ciamDirectories?api-version=2023-05-17-preview
Sample Response
{
"value": [
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/ciamDirectories/contoso",
"name": "contoso",
"type": "Microsoft.AzureActiveDirectory/ciamDirectories",
"location": "United States",
"sku": {
"name": "Standard",
"tier": "A0"
},
"properties": {
"provisioningState": "Succeeded",
"createTenantProperties": {
"displayName": "Contoso",
"countryCode": "US"
},
"billingConfig": {
"billingType": "MAU",
"effectiveStartDateUtc": "1/1/0001 12:00:00 AM"
},
"domainName": "contoso.onmicrosoft.com",
"tenantId": "00000000-0000-0000-0000-000000000000"
},
"tags": null,
"systemData": {
"createdBy": "contosoAdmin@onmicrosoft.com",
"createdByType": "User",
"createdAt": "2020-02-03T01:01:01.1075056Z",
"lastModifiedBy": "contosoAdmin@onmicrosoft.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-02-04T01:01:01.1075056Z"
}
}
],
"nextLink": null
}
Definitions
Name | Description |
---|---|
ciam |
The type of billing. Will be MAU for all new customers. Cannot be changed if value is 'MAU'. Learn more about Azure AD for customers billing at aka.ms/b2cBilling. |
CIAMResourceSKU |
SKU properties of the Azure AD for customers tenant. Learn more about Azure AD for customers billing at https://aka.ms/ciambilling. |
CIAMResource |
The name of the SKU for the tenant. |
CIAMTenant |
The Azure AD for customers resource. |
CIAMTenant |
The collection of Azure AD for customers tenant resources |
ciam |
The type of the Azure AD for customers tenant resource. |
created |
The type of identity that created the resource. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Provisioning |
Provisioning State |
system |
Metadata pertaining to creation and last modification of the resource. |
ciamBillingType
The type of billing. Will be MAU for all new customers. Cannot be changed if value is 'MAU'. Learn more about Azure AD for customers billing at aka.ms/b2cBilling.
Name | Type | Description |
---|---|---|
MAU |
string |
Azure AD for customers usage is billed to a linked Azure subscription and uses a monthly active users (MAU) billing model. |
CIAMResourceSKU
SKU properties of the Azure AD for customers tenant. Learn more about Azure AD for customers billing at https://aka.ms/ciambilling.
Name | Type | Description |
---|---|---|
name |
The name of the SKU for the tenant. |
CIAMResourceSKUName
The name of the SKU for the tenant.
Name | Type | Description |
---|---|---|
PremiumP1 |
string |
|
PremiumP2 |
string |
|
Standard |
string |
CIAMTenantResource
The Azure AD for customers resource.
Name | Type | Description |
---|---|---|
id |
string |
An identifier that represents the Azure AD for customers tenant resource. |
location |
string |
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 for more information. |
name |
string |
The name of the Azure AD for customers tenant resource. |
properties.billingConfig.billingType |
The type of billing. Will be MAU for all new customers. Cannot be changed if value is 'MAU'. Learn more about Azure AD for customers billing at aka.ms/b2cBilling. |
|
properties.billingConfig.effectiveStartDateUtc |
string |
The data from which the billing type took effect |
properties.createTenantProperties.countryCode |
string |
Country code of Azure tenant (e.g. 'US'). Refer to https://aka.ms/ciam-data-location to see valid country codes and corresponding data residency locations. If you do not see a country code in an valid data residency location, choose one from the list. |
properties.createTenantProperties.displayName |
string |
The display name of the Azure AD for customers tenant. |
properties.domainName |
string |
The domain name of the tenant |
properties.provisioningState |
Provisioning State |
|
properties.tenantId |
string |
An identifier of the Azure AD for customers tenant. |
sku |
SKU properties of the Azure AD for customers tenant. Learn more about Azure AD for customers billing at https://aka.ms/ciambilling. |
|
systemData |
Metadata pertaining to creation and last modification of the resource. |
|
tags |
object |
Resource Tags |
type |
The type of the Azure AD for customers tenant resource. |
CIAMTenantResourceList
The collection of Azure AD for customers tenant resources
Name | Type | Description |
---|---|---|
nextLink |
string |
The URL to get the next set of Azure AD for customers tenant resources. |
value |
List of Azure AD for customers tenant resources |
ciamTypeValue
The type of the Azure AD for customers tenant resource.
Name | Type | Description |
---|---|---|
Microsoft.AzureActiveDirectory/ciamDirectories |
string |
The resource type for Azure AD for customers tenant resource. |
createdByType
The type of identity that created the resource.
Name | Type | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
ProvisioningState
Provisioning State
Name | Type | Description |
---|---|---|
Canceled |
string |
|
Deleted |
string |
|
Deleting |
string |
|
Failed |
string |
|
Provisioning |
string |
|
Succeeded |
string |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |