Skip to main content

tenants

Creates, updates, deletes, gets or lists a tenants resource.

Overview

Nametenants
TypeResource
Idazure.subscription.tenants

Fields

NameDatatypeDescription
idstringThe fully qualified ID of the tenant. For example, /tenants/00000000-0000-0000-0000-000000000000.
countrystringThe country/region name of the address for the tenant.
countryCodestringThe Country/region abbreviation for the tenant.
defaultDomainstringThe default domain for the tenant.
displayNamestringThe display name of the tenant.
domainsstringThe list of domains for the tenant.
tenantCategorystringThe category of the tenant. Possible values are TenantCategoryHome,TenantCategoryProjectedBy,TenantCategoryManagedBy
tenantIdstringThe tenant ID. For example, 00000000-0000-0000-0000-000000000000.
tenantTypestringThe tenant type. Only available for Home tenant category.

Methods

NameAccessible byRequired ParamsDescription
listSELECTGets the tenants for your account.

SELECT examples

Gets the tenants for your account.

SELECT
id,
country,
countryCode,
defaultDomain,
displayName,
domains,
tenantCategory,
tenantId,
tenantType
FROM azure.subscription.tenants
;