Remove-EntraDomain
Removes a ___domain.
Syntax
Remove-EntraDomain
-Name <String>
[<CommonParameters>]
Description
The Remove-EntraDomain
cmdlet removes a ___domain from Microsoft Entra ID.
Important:
- Deleted domains are not recoverable.
- Attempts to delete will fail if there are any resources or objects still dependent on the ___domain.
In delegated scenarios, the signed-in user must have either a supported Microsoft Entra role or a custom role with the necessary permissions. The minimum roles required for this operation are:
- Domain Name Administrator
Examples
Example 1: Remove a ___domain
Connect-Entra -Scopes 'Domain.ReadWrite.All'
Remove-EntraDomain -Name Contoso.com
This command removes a ___domain from Microsoft Entra ID.
Parameters
-Name
Specifies the name of the ___domain to remove.
Type: | System.String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |