The "Remove" domain link is unavailable or "You cannot remove the initial domain" error when you try to remove a domain from Office 365

Article translations Article translations
Article ID: 2787317 - View products that this article applies to.
Expand all | Collapse all


When you try to remove a domain from Microsoft Office 365, you experience one of the following symptoms:
  • The Remove link is unavailable.
  • When you try to remove the domain by using Windows PowerShell, you receive the following error message:
    Remove-MsolDomain : You cannot remove the initial domain created for you in Office 365.
    At line:1 char:18
    + Remove-MsolDomain <<<< -DomainName <DomainName>
    + CategoryInfo : OperationStopped: (:) [Remove-MsolDomain], MicrosoftOnlineException
    + FullyQualifiedErrorId : Microsoft.Online.Administration.Automation.InitialDomainDeletionException,Microsoft.Online.Administration.Automation.RemoveDomain


This issue occurs if the domain is the Microsoft Online routing domain. The Microsoft Online routing domain is the domain that's issued to you by Office 365 (for example, This domain can't be deleted. Therefore, the Remove link is unavailable.


For more information, see the following Microsoft Knowledge Base article:
2284755 You get an error message when you try to remove a domain from Office 365
Still need help? Go to the Office 365 Community website.


Article ID: 2787317 - Last Review: July 9, 2014 - Revision: 10.0
Applies to
  • Microsoft Office 365
  • Office 365 User and Domain Management
o365 o365022013 o365e o365p o365a o365m KB2787317

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from