Skip to main content

verification_dns_records

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

Overview

Nameverification_dns_records
TypeResource
Identra_id.domains.verification_dns_records

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
isOptionalbooleanIf false, the customer must configure this record at the DNS host for Microsoft Online Services to operate correctly with the domain.
labelstringValue used when configuring the name of the DNS record at the DNS host.
recordTypestringIndicates what type of DNS record this entity represents. The value can be CName, Mx, Srv, or Txt.
supportedServicestringMicrosoft Online Service or feature that has a dependency on this DNS record. Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune.
ttlnumber (int32)Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdomain_id, domain_dns_record_idDNS 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.
listselectdomain_idRetrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified.
insertinsertdomain_id
updateupdatedomain_id, domain_dns_record_id
deletedeletedomain_id, domain_dns_record_idIf-Match

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_dns_record_idstringThe unique identifier of domainDnsRecord
domain_idstringThe unique identifier of domain
If-MatchstringETag

SELECT examples

DNS 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.

SELECT
id,
isOptional,
label,
recordType,
supportedService,
ttl
FROM entra_id.domains.verification_dns_records
WHERE domain_id = '{{ domain_id }}' -- required
AND domain_dns_record_id = '{{ domain_dns_record_id }}' -- required
;

INSERT examples

No description available.

INSERT INTO entra_id.domains.verification_dns_records (
id,
isOptional,
label,
recordType,
supportedService,
ttl,
domain_id
)
SELECT
'{{ id }}',
{{ isOptional }},
'{{ label }}',
'{{ recordType }}',
'{{ supportedService }}',
{{ ttl }},
'{{ domain_id }}'
RETURNING
id,
isOptional,
label,
recordType,
supportedService,
ttl
;

UPDATE examples

No description available.

UPDATE entra_id.domains.verification_dns_records
SET
id = '{{ id }}',
isOptional = {{ isOptional }},
label = '{{ label }}',
recordType = '{{ recordType }}',
supportedService = '{{ supportedService }}',
ttl = {{ ttl }}
WHERE
domain_id = '{{ domain_id }}' --required
AND domain_dns_record_id = '{{ domain_dns_record_id }}' --required
RETURNING
id,
isOptional,
label,
recordType,
supportedService,
ttl;

DELETE examples

No description available.

DELETE FROM entra_id.domains.verification_dns_records
WHERE domain_id = '{{ domain_id }}' --required
AND domain_dns_record_id = '{{ domain_dns_record_id }}' --required
AND If-Match = '{{ If-Match }}'
;