Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Migrate Office 365 Mailboxes Between Tenants: Step‑by‑Step Guide

· 5 min read · Home Tech

In this article
  1. What You’ll Need
  2. Step‑by‑Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Migrating Office 365 mailboxes between tenants is possible using Microsoft’s built‑in cross‑tenant migration tools. The process involves preparing both source and destination tenants, creating a migration endpoint, batching mailboxes, and completing the migration. Below is a detailed step‑by‑step guide.

What You’ll Need

  • Source tenant global administrator credentials.
  • Destination tenant global administrator credentials.
  • PowerShell (Exchange Online Management Shell) installed on a Windows machine.
  • Microsoft 365 licenses (Exchange Online Plan 1/2 or Microsoft 365 Business Standard/Enterprise E3/E5) assigned to destination users.
  • An Azure AD Connect sync if the source tenant uses on‑premises identities (optional but recommended for large migrations).
  • Internet connectivity and sufficient local storage if you choose to export mailboxes to PST for a backup.
  • Microsoft 365 FastTrack support or a third‑party migration tool if you prefer a guided experience.

Step‑by‑Step

  1. Prepare the Destination Tenant
    Log into the destination tenant’s Microsoft 365 admin center. Create user accounts that match the usernames (UPNs) in the source tenant. Assign the appropriate Exchange Online license to each new user. Ensure that mailbox size limits and retention policies are set to accommodate the incoming data.
  2. Validate Source Mailboxes
    In the source tenant, open the Exchange admin center (EAC). Verify that each mailbox you plan to move is healthy, not in an error state, and has a size that fits within the destination limits. Note any shared or resource mailboxes that also need migration.
  3. Export the Source Tenant’s Credentials to PowerShell
    Open the Exchange Online Management Shell. Connect to the source tenant with:
    Connect-ExchangeOnline -UserPrincipalName @source.com
    Use the same shell to connect to the destination tenant in a separate session or window.
    Connect-ExchangeOnline -UserPrincipalName @dest.com
  4. Create a Migration Endpoint
    In the destination tenant’s EAC, navigate to recipients > migration > migration endpoints. Click New and select Exchange Online as the source. Provide a name, the source tenant’s UPN, and the source admin password. This endpoint will authenticate against the source tenant and pull mailbox data.
  5. Build a Migration Batch
    Still in the destination tenant’s EAC, go to recipients > migration > new migration batch. Choose Exchange Online as the source type and select the migration endpoint you just created. Import a CSV file that lists the UPNs of the mailboxes to move. The CSV should contain a header row with the column name ExternalEmailAddress and one UPN per line.
  6. Configure Migration Settings
    Set the migration batch to run in the Automatic mode. Optionally enable Keep the source mailbox online if you want to retain the original mailbox during the transition. Review mailbox features such as calendar sharing and permissions that will be carried over.
  7. Start the Migration Batch
    After reviewing the batch, click Start. The migration engine will authenticate with the source tenant, pull mailbox contents, and create new mailboxes in the destination tenant. Monitor progress in the EAC or via PowerShell:
    Get-MigrationBatch -Identity "BatchName" | Get-MigrationUser | ft Identity, Status, PercentComplete
  8. Verify Mailbox Integrity
    Once the batch status shows Completed, log into the destination tenant’s Outlook Web App (OWA) for a sample user. Verify that mail, calendar events, contacts, and OneDrive attachments are present. Check that the mailbox size matches expectations.
  9. Update Mail Flow
    Change the source tenant’s MX record to point to the destination tenant’s Exchange Online. This step ensures that new inbound mail is delivered to the migrated mailboxes. Allow DNS propagation (typically 30 minutes to a few hours).
  10. Remove the Migration Endpoint
    After confirming all mailboxes are functional, delete the migration endpoint from the destination tenant’s EAC. This prevents accidental reuse and keeps the environment tidy.
  11. Clean Up Source Tenant (Optional)
    If you no longer need the source mailboxes, either delete them or archive them for compliance. Remember to update any shared mailbox permissions and group memberships that referenced the old mailboxes.
  12. Document the Migration
    Record the migration batch ID, start and finish times, and any errors encountered. Store this information in your change‑management system for audit purposes.

Common Mistakes

  • Skipping license assignment in the destination tenant, causing mailboxes to be created without access.
  • Using mismatched UPNs; the migration endpoint requires exact matches.
  • Not updating MX records before the migration finishes, leading to lost inbound mail.
  • Ignoring mailbox size limits; large mailboxes can fail if they exceed the destination quota.
  • Leaving the migration batch in Keep source mailbox online mode for too long, which can cause duplicate data and confusion.
  • Overlooking shared or resource mailboxes, which may need separate migration steps.

Tips

  • Use a CSV preview to catch formatting errors before creating the migration batch.
  • Run a pilot migration on a few mailboxes first to validate the process.
  • Enable mailbox audit logs during migration to track changes.
  • Schedule the migration during off‑peak hours to reduce user impact.
  • Keep a backup of the source mailboxes by exporting to PST if you need a fallback.

Troubleshooting

  • Migration endpoint authentication fails – Verify that the source admin password is correct and that the account has the Exchange Online Migration role. Also check that multi‑factor authentication is disabled for this account.
  • Mailbox size exceeds destination quota – Reduce mailbox size by archiving old items or increasing the destination quota before restarting the migration batch.
  • Batch stalls at 0% or 50% – Check the MigrationBatch status in PowerShell. Look for error messages such as “AuthenticationFailed” or “MailboxNotFound”. Restart the batch if necessary.
  • Missing calendar items or attachments – Ensure that the migration batch was created with the IncludeCalendar and IncludeAttachments options enabled. If not, re‑run the migration with a new batch.
  • Mail flow not working after MX change – Verify that the MX record points to the correct Microsoft 365 domain and that the DNS change has propagated. Use nslookup to confirm.
  • When in doubt, consult Microsoft’s official migration documentation or contact Microsoft 365 support for assistance.

Frequently Asked Questions

Can I migrate shared mailboxes?

Yes. Shared mailboxes can be migrated by adding them to the migration CSV file. However, they must be created in the destination tenant before the migration batch starts.

Will calendar events and attachments be preserved?

All mailbox items, including calendar events, contacts, and attachments, are transferred by default. If you encounter missing items, double‑check the migration batch options.

How long does a typical migration take?

Time varies by mailbox size and internet bandwidth. A small mailbox can finish in minutes, while a 50 GB mailbox may take several hours. Microsoft recommends allowing at least 24 hours for large batches.

Do I need to change my MX records?

Yes. After the migration completes, update the source tenant’s MX record to point to the destination tenant so that new inbound mail lands in the migrated mailboxes.

Can I use third‑party tools instead of Microsoft’s built‑in migration?

Tools such as BitTitan MigrationWiz or SkyKick can simplify the process, especially for very large migrations or when you need additional reporting. However, the built‑in method is free and fully supported by Microsoft.