Microsoft 365 Mail Migration Guide
This guide is aimed at experienced system administrators who are capable of connecting to remote systems and using a variety of administration tools.
Overview
This Microsoft 365 Mail Migration UserGuide shows you how to migrate your mailboxes between Microsoft 365 tenants or to Google Workspace.
Cloudiway uses Exchange Web Services API (EWS) to migrate emails, contacts, and calendars. It uses PowerShell for mailbox permissions, shared mailboxes, rooms, and resources. All network operations are performed over TLS 1.2.
Looking for our Microsoft 365 Migration Solution?
Discover all features, pricing, and use cases for Microsoft 365 cross-tenant migration.
View Solution PagePrerequisites
To perform the Microsoft 365 Mail Migration, you need to configure an Entra ID Application with the appropriate permissions.
Entra ID Application
Cloudiway uses an Entra ID Application with Application Permissions to access Microsoft 365 mailboxes. This authentication method requires:
App Registration
Create an application in Microsoft Entra ID
API Permission
Microsoft 365 Exchange Online → full_access_as_app (Application)
Admin Consent
Granted by a Global Administrator
Certificate Authentication
OAuth 2.0 client credentials flow with certificate
What is Migrated
The following items are migrated during a Microsoft 365 mail migration:
Limitations
The following items are NOT migrated:
- Email signatures
- Out of office messages
- Attachments to calendar events
- Public folders (not supported)
- Task steps and "add to my day"
- Conversation History (Skype history)
- External sharing links
Migration Process
The Microsoft 365 to Microsoft 365 mail migration is a five-step process:
Step 1: Create Connectors
For Cloudiway to migrate your mailboxes, it needs to be able to communicate with both your source and target Microsoft 365 tenants. To do this, Cloudiway uses connectors.
You will need to set up a connector for each source tenant you wish to migrate and each target tenant that mail should be migrated to.
Navigate to Connectors
Click on Connectors > New in the Cloudiway platform.
Select Connector Type
Select Connector Type: Microsoft 365 and set a Connector Name with Mail selected.
Choose Authentication Type
This setting is not used for mail migration. Leave it as default.
Automatic Configuration
The platform automatically retrieves the Tenant Name, the Default Domain Name, and automatically creates an Entra ID application.
Step 2: Configure Mail Settings
After setting up source and target connectors, open Mail > Mail Settings to define what is migrated and how.
Items to Migrate
Select the content types to copy: Emails, Trash / Deleted items, Calendars, Contacts, Tasks, Notes and Rules.
Convert Email Addresses
The Convert email addresses option is switched on by default (and is best left on). When activated, this option rewrites email addresses found in:
- Email headers
- Calendar items
- Mailbox permissions
It replaces source email addresses with their corresponding target email addresses in the mapping table.
Date Window
Set a From date and a To date to limit the migration to a period. Leave a date empty to migrate without that bound.
Archive Settings
The archive settings control which content is sent to the target archive and where it lands. They are described in Archive Migration below.
Save Your Settings
Click on the Save button at the bottom of the screen to update your global settings.
Step 3: Fill the User Mailboxes List
The User Mailboxes list (Mail > User Mailboxes) contains all mailboxes to be migrated. There are three ways to populate it:
Option 1: Discovery (Get List)
In Mail > User Mailboxes, click Get list to discover the mailboxes of the source Microsoft 365 tenant and pair them with the target.
The Get user mailboxes dialog opens. Specify the following parameters, then click Get list:
Source Pool and Target Pool
Select the connector pools of the source and target Microsoft 365 tenants created in Step 1.
Target Recipient Type
Keep Standard for user mailboxes.
Matching Rule
Choose how source emails should be mapped to target emails:
- Mail Exact Match: source email = target email ([email protected] → [email protected])
- Keep Email Prefix Same as Source: only the domain changes ([email protected] → [email protected])
- FirstName.LastName: (e.g., [email protected])
- F.LastName: (e.g., [email protected])
- FLastName: (e.g., [email protected])
- LastNameF: (e.g., [email protected])
Target Domain
Enter the email domain of the target tenant (for example company.com). It is used to build the target addresses.
Option 2: Import CSV
In Mail > User Mailboxes, open the Manage menu and click Import CSV to upload a CSV file containing the mailboxes to migrate.
Prepare your CSV file
Create a CSV file with the source and target email addresses. For more details on the syntax of the CSV file, read our guide: How to Fill the Users/Groups CSV File
Open Import CSV
Click Manage > Import CSV. The Import mailboxes dialog opens.
Select your CSV file
Click the drop zone to browse your computer, or drag and drop your .csv file onto it.
Upload
Click Upload to import the mailboxes.
Option 3: Create User
In Mail > User Mailboxes, click Manage > Create user to add individual mailboxes manually. Enter the source email address and the target email address for each user.
Step 4: Verify the Mapping Table
Cloudiway automatically populates the mapping table when source mailboxes are discovered with Get list. Open Project Configuration > Mappings and make sure that every source email address is paired with the right target email address and that none is missing.
The Users tab lists each mapping with its first name, last name, source email and target email. Use the pencil icon to edit a row, New user to add one, or Export CSV and Import CSV to review and update the table in bulk.
If you make an error in your mapping table, you will have to erase everything and restart the migration with new licenses.
It's important that all users exist in the mapping table before migration begins.
Step 5: Run Migration
Now that you have performed all the pre-migration steps within your tenants and within Cloudiway, you're ready to migrate.
- Verify that the target email address is correct for each user
- Ensure the target account already exists in the target tenant
- Ensure the target account has a valid Microsoft 365 license assigned
Important: Cloudiway does not provision user accounts. All target mailboxes must be created and licensed before starting the migration.
For Individual Users
- In Mail > User Mailboxes, stay on the User mailboxes tab
- Tick the checkbox of each mailbox you want to migrate
- Click Migrate in the toolbar
For User Batches
Batches let you migrate groups of mailboxes in waves.
- In Mail > User Mailboxes, open the Batches tab
- Click New batch to create a batch, then add its members
- Click Migrate on the row of the batch you want to submit
Migrate Shared Mailboxes
Shared mailboxes have their own list. Discover them from Project Configuration > Discovery > Shared Mailboxes, then migrate them from Mail > Shared Mailboxes the same way as user mailboxes. The platform handles shared mailbox permissions automatically.
Migrate Rooms and Equipment
Discover room and equipment mailboxes from Project Configuration > Discovery > Rooms & Equipment, then migrate them from Mail > Rooms & Equipment. They are migrated with their calendar data and booking settings.
Delta Pass
Cloudiway is an incremental migration platform that supports delta passes. For more details, read our complete guide: Delta Pass Mail Migration.
Every time you restart the migration of a mailbox:
- Only items that haven't already been copied to the target will be migrated
- Items that have been modified in the source will be updated in the target
- The platform does not duplicate items, just updates them
How to Start a Delta Pass
To start a delta pass, simply restart the migration and the platform takes care of everything.
Delta Pass Limitations
Cloudiway is a migration platform, not a synchronisation platform. For this reason, we limit the number of delta passes:
- You can submit as many migration passes as you want for 3 months
- Until consuming the amount of GBs allowed by the assigned licenses
- Usually, you only need one pass before the cutover and another after the cutover
Change Propagation
When migrating from Exchange or Microsoft 365, changes after migration are propagated including:
- Mail deletion
- Moving mail from one folder to another
- Mail marked as read
- Deletions from Google are propagated
When migrating from other sources, these changes are not propagated (the respective APIs do not propose a way to detect the changes between two passes).
X500 Aliases Migration
X500 aliases keep replies to messages sent before the migration working across tenants. In Mail > Mail Global Actions, click Run on Migrate X500: it transfers X500 addresses and the LegacyExchangeDN between the source and target tenants. Use Logs to follow the action.
Archive Migration
In-Place archives can be migrated separately or along with primary mailboxes. You can also migrate emails to the target archive based on age.
- Separately: open Mail > Mail Archives, click Get list to discover the archives of the source tenant, then migrate them like user mailboxes.
- By age: in Mail > Mail Settings > Archive settings, tick Migrate to archives and set Archive mails older than. Emails older than this date are sent to the target archive. Migrate everything to archives sends all content to the archive, and Archive location chooses between Online Archive and PST File.
Frequently Asked Questions
How many mailboxes can I migrate concurrently?
A Microsoft 365 account can access up to 100 mailboxes concurrently. Therefore, by default, Cloudiway allows you to migrate 100 concurrent users per connector. To speed up your migration, you can create additional connectors with different migration accounts.
What happens if I make an error in the mapping table?
Any error in the mapping table will cause corruptions and incomplete migrations (loss of metadata, loss of permissions). If you make an error, you cannot simply rerun the migration as the delta pass will only propagate changes. You will need to erase everything and restart the migration with new licenses.
Are email signatures migrated?
No, email signatures are not migrated. All other user settings are retained including folder structure, read/unread status, calendar entries, flags, reminders, notes, contacts, and rules.
Does Cloudiway support delta passes?
Yes, Cloudiway is an incremental migration platform that supports delta passes. Every time you restart the migration, only items that haven't been copied will be migrated, and modified items will be updated. You can submit migration passes for 3 months within your license quota.
Are archives migrated by default?
In-Place archives at the source are treated differently to standard mail and are not migrated by default. You can buy a mail archive quota package to perform an archive migration. Cloudiway supports migration to Microsoft 365 archives to prevent downloading the entire mailbox to Outlook OST files.
Get a free migration quote in minutes — entirely self-service.