Skip to main content

find_tenant_information_by_domain_name

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

Overview

Namefind_tenant_information_by_domain_name
TypeResource
Identra_id.tenant_relationships.find_tenant_information_by_domain_name

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
defaultDomainNamestringPrimary domain name of a Microsoft Entra tenant.
displayNamestringDisplay name of a Microsoft Entra tenant.
federationBrandNamestringName shown to users that sign in to a Microsoft Entra tenant.
tenantIdstringUnique identifier of a Microsoft Entra tenant.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdomain_nameGiven a domain name, search for a tenant and read its tenantInformation. You can use this API to validate tenant information and use the tenantId to configure cross-tenant access settings between you and the tenant.

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_namestringUsage: domainName='{domainName}'

SELECT examples

Given a domain name, search for a tenant and read its tenantInformation. You can use this API to validate tenant information and use the tenantId to configure cross-tenant access settings between you and the tenant.

SELECT
defaultDomainName,
displayName,
federationBrandName,
tenantId
FROM entra_id.tenant_relationships.find_tenant_information_by_domain_name
WHERE domain_name = '{{ domain_name }}' -- required
;