Confirm-AzureADDomain
Validate the ownership of a domain.
Syntax
Confirm-AzureADDomain
-Name <String>
[-CrossCloudVerificationCode <CrossCloudVerificationCodeBody>]
[<CommonParameters>]
Description
The Confirm-AzureADDomain cmdlet validates the ownership of an Azure Active Directory domain.
Examples
Example 1: Confirm the domain
PS C:\>Confirm-AzureADDomain -Name Contoso.com
This command will confirm your domain; changing the status to "Verified".
Example 2: Confirm the domain with a cross cloud verification code
PS C:\>Confirm-AzureADDomain -Name Contoso.com -CrossCloudVerificationCode ms84324896
This command will confirm your domain for dual federation scenarios.
Parameters
-CrossCloudVerificationCode
The cross-cloud domain verification code.
Type: | CrossCloudVerificationCodeBody |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Specifies the name of the domain.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Notes
See the migration guide for Confirm-AzureADDomain to the Microsoft Graph PowerShell.