How do you move a custom domain from one Microsoft 365 tenant to another?
A custom domain can live in only one Microsoft 365 tenant at a time, so it moves at cutover.
In short
- First, hold incoming mail.
- Remove the domain from everything in the old tenant, then verify it in the new one.
- License the new mailboxes and make the domain their main email address.
- Only then point the MX record at the new tenant.
- Removing the domain takes five minutes to a day, and verifying may need another hour.
- In between, people use their onmicrosoft.com addresses.
On this page
- Why the domain has to move at cutover
- A few days before cutover
- What has to come off the source tenant
- The cutover order Microsoft gives
- How long each step can take
- Planning it with Accred
- Questions
- Can the same domain be in two Microsoft 365 tenants?
- How long does it take to remove a domain from Microsoft 365?
- What happens to email while the domain moves?
- Sources
Why the domain has to move at cutover
- A domain name can be verified in only one Microsoft Entra tenant. To verify it in the destination, you first remove it from the source.
- One exception: a subdomain, such as europe.contoso.com, can be verified in a different tenant from contoso.com with its own DNS record.
- Until the domain moves, people in the destination tenant use their onmicrosoft.com addresses. Microsoft recommends matching mailboxes between the tenants by those addresses.
A few days before cutover
- Add the domain in the destination tenant and create its verification TXT record. Verification fails while the source still has the domain, but this gives the record time to spread. Microsoft says DNS changes can take up to 72 hours.
- Lower the MX record’s TTL to about five minutes, if your DNS host allows it. Then the cutover change takes effect quickly.
- If the source tenant syncs from on-premises Active Directory, turn that sync off. Microsoft says this can take 24 hours or more.
What has to come off the source tenant
- If the domain hosts a SharePoint public website, set the site’s URL back to the initial onmicrosoft.com domain.
- It cannot be the default domain: make the onmicrosoft.com domain the default.
- No user sign-in names or email addresses, including secondary proxy addresses, can use it.
- No shared or resource mailboxes, contacts, Microsoft 365 groups, distribution lists, or teams can use it. Clean up mail-enabled security groups and distribution lists in the Exchange admin center.
- No app registrations can use it in their app ID URI.
- The admin removing it cannot be signed in with an account on that domain.
- If the domain is federated, for example with AD FS, first rename or remove its users and groups in on-premises Active Directory. Forced delete does not work for federated domains.
With hundreds or thousands of users, Microsoft recommends PowerShell. One missed user blocks the removal.
The cutover order Microsoft gives
- Hold incoming mail. Point the MX record at a host that does not accept mail, so sending servers queue messages and retry for up to 24 hours. Some may bounce the message instead. A backup MX service can hold mail for longer.
- Remove the domain from every object in the source tenant, then remove the domain itself.
- Verify the domain in the destination. You may have to wait an hour after removing it from the source.
- If you want, add the autodiscover CNAME record. If you use AD FS, set the domain up for AD FS in the destination.
- Assign licenses to the destination users, then make the domain their primary email address.
- If you do not use password hash sync, pass-through authentication, or AD FS, set passwords on the destination accounts and tell people.
- Once the mailboxes are licensed and active, point the MX record at the destination. When the old TTL runs out, mail flows into the new mailboxes. Release anything a backup MX service held.
- Test mail in both directions. Then re-create the source’s mail flow rules, connectors, and allow and block lists.
The MX record moves last, so mail arrives only once a licensed mailbox holds each address. When a third-party tool does the move, Microsoft’s guide copies mailbox content after this. People start in new, empty mailboxes, and older mail fills in over one or more passes.
How long each step can take
Turning off directory sync in the source
What Microsoft says24 hours or more, so do it ahead of the cutover
DNS records spreading
What Microsoft saysUp to 72 hours (Exchange guidance), or from instantly to a few days depending on the registrar (Microsoft Entra guidance)
Removing the domain from the source
What Microsoft saysAbout five minutes if few objects use it; several hours to a day if many do. A removal started in Microsoft Entra runs in the background and can take up to 24 hours
Verifying in the destination
What Microsoft saysYou may have to wait an hour after the domain is removed from the source
Queued inbound mail
What Microsoft saysSending servers retry for 24 hours
Planning it with Accred
Accred Migrate plans tenant-to-tenant moves by client, wave, and workload. You move the domain itself in the Microsoft 365 admin center, the Microsoft Entra admin center, and your DNS. For a walk-through of keeping mail flowing during the move, see Accred Consulting’s guide to moving an email domain without losing mail. To have the whole move run for you, see Accred Consulting’s tenant-to-tenant migration service.
Questions
Can the same domain be in two Microsoft 365 tenants?
No. A domain can be verified in only one tenant at a time. A subdomain can be verified in a different tenant from its parent domain.
How long does it take to remove a domain from Microsoft 365?
About five minutes when few objects use the domain, and several hours to a day when many do. A removal started in Microsoft Entra runs in the background and can take up to 24 hours.
What happens to email while the domain moves?
If you point the MX record at a host that does not accept mail, sending servers queue messages and retry for 24 hours. Some may bounce them instead. Point the MX record at the destination only after its mailboxes are licensed and use the domain as their main address. Mail then flows to them.
Sources
- How to migrate mailboxes from one Microsoft 365 organization to another · Microsoft Learn
- Remove a domain from Microsoft 365 · Microsoft Learn
- Add and verify custom domain names in Microsoft Entra ID · Microsoft Learn
- Add your custom domain to Microsoft Entra · Microsoft Learn
- Cross-tenant mailbox migration · Microsoft Learn