I am trying to remove a few extra '.onmicrosoft.com' domains I added to my Azure AD for testing
Steps taken so far:
1. Removed all dependancies on domain in Azure AD
2. Attempted to remove domain under 'Custom domain names' section of the Azure AD on azure portal. Resulted in "Unable to delete domain name '.onmicrosft.com' from .com"
3. Used used 'Remove-MsolDomain' command in powershell.
Resulted in:
Remove-MsolDomain : Unknown error occurred.
At line:1 char:1
+ Remove-MsolDomain -DomainName ".onmicrosoft.com" - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [Remove-MsolDomain], MicrosoftOnlineException
+ FullyQualifiedErrorId : Microsoft.Online.Administration.Automation.DomainCapabilityUnsetException,Microsoft.Onli
ne.Administration.Automation.RemoveDomain
Note: This is NOT the default '.onmicrosoft.com' domain that was created when tenant was created.


whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is 


