Remove-AzureADDomain

Removes a domain.

Syntax

Remove-AzureADDomain
      -Name <String>
      [<CommonParameters>]

Description

The Remove-AzureADDomain cmdlet removes a domain from Azure Active Directory (AD).

Examples

Example 1: Remove a domain

PS C:\>Remove-AzureADDomain -Name Contoso.com

This command removes a domain.

Parameters

-Name

Specifies the name of the domain to remove.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Notes

See the migration guide for Remove-AzureADDomain to the Microsoft Graph PowerShell.