Skip to main content

root_domain

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

Overview

Nameroot_domain
TypeResource
Identra_id.domains.root_domain

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
authenticationTypestringIndicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Microsoft Entra ID performs user authentication. Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. Not nullable. To update this property in delegated scenarios, the calling app must be assigned the Domain-InternalFederation.ReadWrite.All permission.
availabilityStatusstringThis property is always null except when the verify action is used. When the verify action is used, a domain entity is returned in the response. The availabilityStatus property of the domain entity in the response is either AvailableImmediately or EmailVerifiedDomainTakeoverScheduled.
domainNameReferencesarrayThe objects such as users and groups that reference the domain ID. Read-only, Nullable. Doesn't support $expand. Supports $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group.
federationConfigurationarrayDomain settings configured by a customer when federated with Microsoft Entra ID. Doesn't support $expand.
isAdminManagedbooleanThe value of the property is false if the DNS record management of the domain is delegated to Microsoft 365. Otherwise, the value is true. Not nullable
isDefaultbooleantrue if this is the default domain that is used for user creation. There's only one default domain per company. Not nullable.
isInitialbooleantrue if this is the initial domain created by Microsoft Online Services (contoso.com). There's only one initial domain per company. Not nullable
isRootbooleantrue if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable.
isVerifiedbooleantrue if the domain completed domain ownership verification. Not nullable.
manufacturerstring
modelstring
passwordNotificationWindowInDaysnumber (int32)Specifies the number of days before a user receives notification that their password expires. If the property isn't set, a default value of 14 days is used.
passwordValidityPeriodInDaysnumber (int32)Specifies the length of time that a password is valid before it must be changed. If the property isn't set, a default value of 90 days is used.
rootDomainRoot domain of a subdomain. Read-only, Nullable. Supports $expand.
serviceConfigurationRecordsarrayDNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Doesn't support $expand.
stateStatus of asynchronous operations scheduled for the domain.
supportedServicesarrayThe capabilities assigned to the domain. Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. The values that you can add or remove using the API include: Email, OfficeCommunicationsOnline, Yammer. Not nullable.
verificationDnsRecordsarrayDNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Doesn't support $expand.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdomain_idGet the root domain of a subdomain. This API returns a single object.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
domain_idstringThe unique identifier of domain

SELECT examples

Get the root domain of a subdomain. This API returns a single object.

SELECT
id,
authenticationType,
availabilityStatus,
domainNameReferences,
federationConfiguration,
isAdminManaged,
isDefault,
isInitial,
isRoot,
isVerified,
manufacturer,
model,
passwordNotificationWindowInDays,
passwordValidityPeriodInDays,
rootDomain,
serviceConfigurationRecords,
state,
supportedServices,
verificationDnsRecords
FROM entra_id.domains.root_domain
WHERE domain_id = '{{ domain_id }}' -- required
;