Confirm-MsolEmailVerifiedDomain

Confirms ownership of an unmanaged tenant.

Syntax

Confirm-MsolEmailVerifiedDomain
       -DomainName <String>
       [-TenantId <Guid>]
       [<CommonParameters>]

Description

The Confirm-MsolEmailVerifiedDomain cmdlet confirms ownership of an unmanaged tenant. An unmanaged tenant is a directory without a global administrator that was created to complete a self-service signup offer.

In order to confirm ownership, a custom TXT or MX DNS record must be added for the domain. The domain must first be added using the New-MsolDomain cmdlet. Next use the Get-MsolDomainVerificationDNS cmdlet to retrieve the details of the DNS record that must be set.

There may be a delay of 15-60 minutes between when the DNS update is made and when the cmdlet is able to verify.

Examples

Example 1: Confirm ownership of a domain

Confirm-MsolEmailVerifiedDomain -DomainName "contoso.com"

This command confirms ownership of the domain contoso.com. In order for domain verification to succeed, the appropriate DNS records must first be set up. The list of DNS records to set up can be retrieved using the Get-MsolDomainVerificationDns cmdlet.

Required Parameters

-DomainName

Specifies the fully qualified domain name (FQDN) to verify.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-TenantId

Specifies the unique ID of the tenant on which to perform the operation. The default value is the tenant of the current user. This parameter applies only to partner users.

Type:Guid
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Inputs

System.String

System.Nullable`1[[System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]

Outputs

System.Object