Edit

Share via


Get-AzureADDomainVerificationDnsRecord

Retrieve the ___domain verification DNS record for a ___domain

Syntax

Default (Default)

Get-AzureADDomainVerificationDnsRecord
    -Name <String>
    [<CommonParameters>]

Description

Gets the ___domain's verification records from the verificationDnsRecords navigation property. You can't use the ___domain with your Azure AD tenant until you have successfully verified that you own the ___domain. To verify the ownership of the ___domain, you need to first retrieve a set of ___domain verification records which you need to add to the zone file of the ___domain.

Examples

Example 1

PS C:\WINDOWS\system32> Get-AzureADDomainVerificationDnsRecord -Name drumkit.onmicrosoft.com

DnsRecordId                          Label                   SupportedService Ttl
-----------                          -----                   ---------------- ---
aceff52c-06a5-447f-ac5f-256ad243cc5c drumkit.onmicrosoft.com Email            3600
5fbde38c-0865-497f-82b1-126f596bcee9 drumkit.onmicrosoft.com Email            3600

This example shows how to retrieve the ___domain verification DNS records for the given ___domain name

Parameters

-Name

The ___domain name for which the ___domain verification DNS records are to be retrieved

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

Outputs

Object

Notes

See the migration guide for Get-AzureADDomainVerificationDnsRecord to the Microsoft Graph PowerShell.