How to Fix Cannot Remove a Domain from Microsoft 365 Admin Center
Question details
The user is unable to delete a custom domain from their Microsoft 365 tenant because the Remove button is missing or disabled.

- Product
- Microsoft 365 Admin Center
- Device & OS
- not provided
- Scenario
- Attempting to delete or remove an existing, unused domain from a Microsoft 365 environment.
- Observed behavior
- The Remove button is missing, preventing the deletion of the domain, usually due to active dependencies or tenant settings still bound to it.
Ensure you have global administrator privileges in your Microsoft 365 tenant and verify that you have an alternative domain (such as the default .onmicrosoft.com domain) ready to take over existing services.
Remove Domain Dependencies and Change Default Domain
The most common reason a domain cannot be removed is that it is still set as the default domain or is actively assigned to users, groups, or apps.
Microsoft 365 prevents the deletion of any domain that is currently tied to active tenant resources to avoid accidental data loss or service disruption.
Go to the Settings > Domains page in the Microsoft 365 admin center. Select an alternative domain (e.g., your default .onmicrosoft.com domain) and click 'Set as default'.
Navigate to Users > Active users and Teams & groups. Bulk edit or individually change the primary email addresses and UPNs of any users, aliases, or groups still using the domain you want to remove.
Check if the domain is tied to any active Microsoft Azure enterprise applications, custom DNS records, or specific subscriptions, and reassign them.
Return to Settings > Domains, select the target domain. Once all dependencies have cleared from the system, the 'Remove' button should now be visible and clickable.

Verify Compliance Holds and Contact Support
If all dependencies are cleared but the domain still cannot be removed, organizational compliance policies or backend system delays might be locking the domain.
Looking for a Lightweight and Free Office Suite?
Managing Microsoft 365 subscriptions, domains, and administrative settings can sometimes be complex and overwhelming. If you just need a powerful, easy-to-use office suite for document creation without the administrative overhead, try WPS Office.
- 1. Download and Install WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Open Your Documents Seamlessly: Launch WPS Office and directly open any of your existing Microsoft Word, Excel, or PowerPoint files without formatting loss.
- 3. Enjoy Free Office Tools: Start editing, creating, and saving your documents locally or to the cloud without needing a complex domain setup.

Frequently Asked Questions
Why is the Remove button missing for my Microsoft 365 domain?
The Remove button is typically hidden or disabled if the domain is currently set as your tenant's default domain, or if it is still assigned to active users, email aliases, Microsoft 365 groups, or Azure applications.
Can I remove the initial .onmicrosoft.com domain?
No, you cannot remove or delete the original .onmicrosoft.com fallback domain provided by Microsoft when you first created your tenant. You can only remove custom domains you have added.
How long does it take to remove a domain after reassigning users?
After you remove all dependencies and reassign users to a different domain, it can take anywhere from a few minutes to up to 24 hours for the backend directories to synchronize and allow the domain deletion.
What happens to emails sent to the domain after removal?
Once the domain is successfully removed from Microsoft 365 and the DNS records are pulled down, any new emails sent to addresses using that domain will bounce back to the sender as undeliverable.




