Move a Domain Between Office 365 Tenants

Migrate domains without email downtime using Cloudiway's mail routing.

Last updated: 2025-01-15 How To

Three-Phase Domain Migration

📧
Phase 1
Migrate Mailboxes
🔄
Phase 2
Setup Mail Routing
🌐
Phase 3
Transfer Domain

Overview

The Challenge

A domain can be attached to only one Office 365 tenant at a time. This creates a challenge: how do you transfer a domain without losing emails during the transition?

The Solution

Cloudiway's mail routing platform forwards emails during the domain transition, ensuring no mail is lost while the domain is being moved from one tenant to another.

DNS Preparation

Lower your MX record TTL values at the start of migration to minimize DNS caching issues when switching records.

Phase 1: Mailbox Migration

First, migrate all user mailboxes from the source tenant to the target tenant. Use Cloudiway's migration platform for this step.

Recommended: Big Bang Migration

For fastest results, migrate all mailboxes in a single operation. This approach minimizes the time spent in the transition phase and reduces complexity.

1 Configure source and target connectors
2 Add users to migration list
3 Run pre-processing
4 Execute mailbox migration

Phase 2: Mail Routing Setup

Configure Cloudiway's mail routing platform to forward emails from the source domain to the target tenant's onmicrosoft.com addresses.

How Mail Routing Works

user@company.com Cloudiway user@tenant2.onmicrosoft.com

This ensures all emails sent to user@company.com are delivered to the user's new mailbox in the target tenant while the domain is being transferred.

Phase 3: Domain Transfer

1

Rename Users in Source Tenant

Execute a PowerShell script to reassign all user accounts from company.com addresses to temporary onmicrosoft.com addresses.

# Change primary SMTP from @company.com to @source.onmicrosoft.com
2

Wait for Replication

Allow propagation time after removing the domain from the source tenant. This typically takes 15-60 minutes.

3

DNS Verification in Target Tenant

Add the TXT verification record in the target Office 365 admin portal to prove domain ownership.

4

Reassign Primary Addresses

Restore users' primary SMTP addresses to their company.com domain in the target tenant.

5

Update MX Records

Point MX records back to the target Office 365 tenant to complete the migration.

Done! Mail now flows directly to the target tenant.

Was this article helpful?

We value your feedback

Help us improve your experience

What would you like to share with us?

Need direct support? Open a ticket