How to Remove an Accepted Domain During a Microsoft 365 Tenant Migration
Question details
The user needs to remove an accepted domain from a source tenant during a Microsoft 365 tenant-to-tenant migration.

- Product
- Microsoft 365 / Exchange Online
- Device & OS
- not provided
- Scenario
- A tenant-to-tenant migration is in progress, and the administrator needs to detach a domain from the source tenant to move it to the target tenant.
- Observed behavior
- The domain cannot be removed from the Microsoft 365 source tenant because it is still being referenced by Exchange Online objects, users, groups, aliases, connectors, or policies.
Ensure you have global administrator access to the source Microsoft 365 tenant and have identified a fallback '.onmicrosoft.com' domain to assign to your existing users and groups.
Clear All Domain References and Remove the Domain manually
To successfully remove an accepted domain, you must systematically eliminate all dependencies and references tied to it across Microsoft 365 and Exchange Online.
Microsoft 365 prevents the removal of a domain if a single object still uses it. You must thoroughly audit the source tenant to ensure no hidden aliases or connectors are locking the domain.
Log in to the Microsoft 365 admin center and navigate to the Exchange admin center. Identify every mailbox, user, distribution group, contact, and alias that currently uses the domain you want to remove.
Change the primary email addresses and secondary aliases of all affected users and groups to the default routing domain (e.g., yourtenant.onmicrosoft.com).
Review and update any custom mail flow rules, send/receive connectors, and organization relationships that explicitly reference the outgoing domain.
Navigate to Settings > Domains in the Microsoft 365 admin center, select the domain you wish to delete, and click 'Remove domain'.

Contact Microsoft 365 Admin Support
If you encounter hidden objects or backend errors preventing domain removal after clearing visible references, request assistance directly from Microsoft Support.
Manage Your Migration Documentation with WPS Office
While Microsoft 365 handles your tenant migration routing, WPS Office provides a free, lightweight, and highly compatible suite for tracking your migration checklists, IT project plans, and administration reports.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install the Suite: Run the downloaded installer and follow the simple on-screen prompts to set up the software.
- 3. Open Migration Documents: Launch WPS Office and directly open your existing Excel IT checklists and Word project plans to continue working seamlessly.

Frequently Asked Questions
Why do I get an error saying the domain is still in use when I try to remove it?
This error occurs because Exchange Online or Microsoft 365 still has active dependencies on the domain. This could be a hidden proxy alias, a deleted user still in the recycle bin, a shared mailbox, or an enterprise application that hasn't been updated to the fallback domain.
Can I remove a domain if it is set as the default domain?
No, you cannot remove the default domain. You must first set another domain (such as your initial .onmicrosoft.com domain) as the default domain under Settings > Domains in the Microsoft 365 admin center before attempting removal.
How long does it take for Microsoft 365 domain removal to complete?
Once all references are cleared, the actual domain removal process usually takes a few minutes. However, propagating the changes you made to clear those references (like updating user aliases in bulk) can take anywhere from 15 minutes to 24 hours depending on the tenant size.
Can community forum moderators help me remove my tenant domain?
No, community forum moderators do not have the backend access required to view or modify your tenant configuration. You must open an official support request through the Microsoft 365 admin center for tenant-specific assistance, and you should never post sensitive tenant details publicly.




