This article will guide you through the steps for migrating mailboxes from On-Premises Exchange 2003 servers to Microsoft 365. This task flow will not work for Exchange 2007+ or Hosted Exchange. For those workflows, refer to the Exchange Migration Guides list.
There are some tools and resources that will make the migration easier.
MigrationWiz
MigrationWiz is a migration tool, not a syncing tool. If changes are made at the source after migration, they will not sync to the destination, nor will changes made at the destination sync to the source. We do not have “live” monitoring of changes (as with a sync agent) and we cannot handle scenarios such as conflict resolution without user interaction.
MigrationWiz supports the capability to share migration projects across a Workgroup. When the Project Sharing feature is turned on, all Agents besides those who are Inactive can view all migrations projects.
First Migration?
We have created a guide on scoping, planning, and managing the migration process for your use. If this is your first migration, we recommend reading this guide carefully.
Prerequisites
Please consider the information below before choosing this migration type.
Licensing
We recommend that you purchase User Migration Bundle licenses for this migration scenario. User Migration Bundle licenses allow the performance of multiple migrations with a single license. For questions on licensing, visit MigrationWiz Licenses.
Use your license by following the next steps:
- Purchase Licenses.
- Create a Customer.
- Apply Licenses.
- Review Considerations.
Purchase licenses by following the steps below:
- Sign in to your BitTitan account.
- In the top navigation bar, click Purchase.
- Click the Select button and choose User Migration Bundle licenses.
- Enter the number of licenses you want to purchase. Click Buy Now.
- Enter a Billing address if applicable.
- Click Next.
- Review the Order Summary and enter a payment method.
- Click Place Your Order.
Create Customer on MSPComplete by performing these steps:
- Click the Add button in the top navigation bar
- Click the Add Customer button on the All Customers page
- Select the appropriate workgroup in the left navigation pane and click All Customers.
- Click Add Customer.
- Enter the new customer’s information in the Add Customer form. Primary Email Domain and Company Name are required. The rest are optional.
- Click Save.
- Repeat steps 1 through 4 for each customer you want to add.
Perform these steps on MSPComplete:
- Select the correct workgroup on the top of the left navigation pane.
Important
This is the workgroup which the customer and migration projects were created under. Your account must be part of the workgroup if the project was not created under your account. - Click Customers on the left navigation pane.
- Click the customer that employs the user to whom you want to use the User Migration Bundle license.
- Click the Users tab at the top of the page.
- Apply the license to the users by checking the box to the left of their emails.
- Click the Apply User Migration Bundle License button at the top of the page.
Tip
We recommend adding users to the Customer page with the vanity domain. Then apply the User Migration Bundle Licenses, before editing to show the .onmicrosoft domain, if the .onmicrosoft domain will be used for the migration. - Click Confirm if at least one unassigned User Migration Bundle license is available for each selected user.
Important
If there are no User Migration Bundle licenses currently available to be assigned and your role in the workgroup is Manager or higher, the form that appears provides all the necessary information and will walk you through the steps of purchasing User Migration Bundle licenses.
Licenses are released once payment has been received:
- Licenses are available immediately upon payment if you purchase via credit card.
- If you purchase via wire transfer (100+ licenses), the licenses will be available once payment is received and accepted.
- We do not accept purchase orders because of processing overhead.
In both cases, you will be notified by email that payment has been accepted and licenses are available in your account upon notification.
For more information on licensing, including coupon redemption and other licensing types, see our Licensing FAQ.
Limitations
Please consider the following limitations when performing a migration.
- We are not able to support migrations with two-factor or multifactor authentication.
- The maximum size of individual files that can be migrated is 60GB.
- App passwords are not supported for the Microsoft 365 endpoint.
Migrated Items
Please click the bars below to check the migrated and non-migrated items. We are constantly working to create a better migration experience for you so these items may change over time.
Migrated items vary by version of Exchange. The following list is for Exchange Server 2003. If you are using an alternate version of Exchange, please refer to the Migrated and Not Migrated Items list and check for your version of Exchange.
Exchange Server 2003
Migrated
- Inbox
- Folders
- Contacts
- Calendars
- Tasks
- Journals
- Notes
- Post (when the destination is Exchange or Microsoft 365)
Not Migrated
- Inactive inboxes
- Email templates
- Email flags (if the destination is G Suite)
- Safe Sender/Block Lists
- Mail Settings
- Standalone documents stored in Mailbox Folders or Public Folders (Example: IPM.Document item types)
- System Public Folders
- StickyNote folders
- Public Folders
- BCC recipients on email items
- Optional attendees of calendar entries (Microsoft Exchange Web DAV API does not return this information for items)
Important
Before submitting a migration, please consider that Calendar Permissions can be migrated except for Resource Calendars, only if an account exists at the destination that matches the UPN prefix of an account with Calendar Permissions at the source. Otherwise, if there is no matching account at the destination, Calendar Permissions will not be migrated.Exchange questions and troubleshooting
Our Exchange Mailbox FAQ, Exchange Migration Setup and Planning, and Exchange Mailbox Migration Troubleshooting guides contain many common questions and concerns, along with more information, guidance, and steps to resolve issues such as throttling.
Prepare the Source Environment
Set Up Admin Account
To create an administrator account (e.g., MigrationWiz), perform the following steps when logged into the Exchange Server.
- Open the System Manager.
- Expand the Recipient Configuration node.
- Right-click on the Mailbox node.
- Click on New Mailbox.
- Click on Next.
- Click on Next.
- Enter "MigrationWiz" as the first name.
- Enter "MigrationWiz" as the user logon name, and optionally select a user principal name (UPN) domain.
- Enter a password and confirm the password.
- Click on Next.
- Click on Browse to select a Mailbox database.
- Click on Next.
- Click on New.
- Click on Finish.
OWA
If you have not already done so, set up router ports for OWA traffic, by following the steps in the Prerequisites section of this article. Set different OWA URLs for each environment and configure router ports to accept inbound/outbound mail traffic for those OWA URLs.
If you have followed through all the prerequisite steps of this guide, this step will already have been completed.
Test Mailbox Access
To test mailbox access on the Exchange Server 2003, perform the following:
- Open the browser to https://mail.example.com/exchange
- Ideally, we recommend opening this URL from a non-domain-joined machine on a different network than the Exchange Server.
- com is the DNS name of the OWA server.
- When prompted for credentials, enter the username and password of the account to be used to access the mailbox.
- This can be either the credentials of the end user mailbox itself or administrative credentials.
- To migrate using administrative credentials, enter administrative credentials into OWA.
- The Inbox of the end user's mailbox or administrator's mailbox should be visible once logged in.
-
If using administrative credentials, change the URL to https://mail.example.com/exchange/user@example.com
- user@example.com is the primary SMTP address of the mailbox being accessed.
- The result is that the Inbox of the mailbox user@example.com should be visible.
Configure the Exchange Authentication Method
To configure the Exchange authentication method:
- Open the Exchange System Manager.
- Go to Server > Protocols > HTTP > Exchange Virtual Server.
- Right-click on the Exchange node and select Properties.
- Click on the Access tab.
- Click on the Authentication button.
- Make sure Basic Authentication is selected as the only authentication mode, and a single backslash (\) is specified for the Default domain.
- Click on OK.
- Click on OK.
- For the Public node, repeat Steps 3-8.
Make sure that the settings are identical in IIS:
- Open the Internet Information Services (IIS) Manager.
- Go to Server > Web Sites > Default Web Site (or the website node that contains your Exchange virtual directories).
- Right-click on Exchange in the navigation tree on the left, and select Properties.
- Click the Directory Security tab.
- Click the Edit button within the Authentication and Access Control section.
- Make sure Basic Authentication is selected as the only authentication mode, and a single backslash (\) is specified for the Default domain.
- Click on OK.
- Click on OK.
- For the Public node, repeat Steps 3-8.
Make sure to back out any .config file so that you can easily go back to the previous state.
Increase MAPI-named Property Limits
- Start the Registry Editor on the mailbox server.
- Locate the following registry key:
- HKLM\SYSTEM\CurrentControlSet\Services\MSExchangeIS\<ServerName>\<Private-GUID>
- Set the following DWORD values or create new values if they do not exist.
- NonMAPI Named Props Quota == 00007fff
- Named Props Quota == 00007fff
You may either wait approximately 30 minutes for these values to take effect automatically, or reboot the server to take effect immediately.
These instructions have also been documented on the Microsoft website.
Prepare the Destination Environment
Modern Authentication Requirements
The steps listed in the Required Permission for Performing M365 Mailbox and Archive Migrations article apply to both the source and destination tenant when they are Exchange Online, in regards to Exchange Web Services (EWS) in the mailbox, and archive mailbox. Use a Global Administrator for the configuration steps.
Please review the documentation before preparing the source.
Create an Administrator Account
Create an administrator account in Microsoft 365 to be used for migration or use the global admin account for the tenant. The administrator account must have full access to the user mailboxes, have the required API Permissions, or be granted impersonation rights.
We recommend adding the necessary API permissions to the Modern Authentication app you are using for your O365 mailbox or archive mailbox endpoint. You can follow the steps outlined in this guide, as this is BitTitan's recommended approach.
However, you can still use the BitTitan impersonation approach if you already have a service account with the Application Impersonation role already assigned. Microsoft is phasing out RBAC Application Impersonation in Exchange Online and no longer allows the assignment of this role to new accounts.
Set Up Accounts in Microsoft 365
Set up accounts on Microsoft 365 and assign licenses. These can be created in several ways:
- Manually, one at a time.
- By bulk import, via CSV file.
- By PowerShell script.
Prepare the Tenant to Send & Receive Large Items
We do not impose any limit on item/attachment sizes. However, large items/attachments can fail to migrate because of external factors. There are two considerations:
-
What is the maximum attachment size allowed by the Destination system?
- Most email systems impose size limits. For example, if the Destination system has a 30MB limit, any item/attachment larger than 30MB will fail to migrate.
-
What is the connection timeout for the Source and Destination system?
- For security reasons, most email systems close opened connections after a predetermined amount of time. For example, if the Destination system only has 512Kbps of network bandwidth and closes connections after 30 seconds, we may be unable to transfer large items/attachments before the connection is closed.
MigrationWiz will automatically make multiple attempts to migrate large items. Upon completion of a migration, you may resubmit it in error retry mode to try to migrate failed items. This is always free of charge.
When migrating from or to Office 365 use the steps provided here to increase the Max Send and Max Recieve quotas, Change message size limits in Office 365.
MigrationWiz Steps
Create a Mailbox Migration project
- Click the Go to My Projects button.
- Click the Create Project button.
- Click on the type of project that you wish to create. For this migration:
-
Mailbox: Mailbox projects are used to migrate the contents of the primary user mailbox from the previous environment to the new environment. Most mailbox migrations can migrate email, calendars, and contacts.
Important
For mailbox migrations, use administrative credentials to access mailboxes. In most migration scenarios, the admin account needs to have full access rights to the Source mailboxes.
-
Mailbox: Mailbox projects are used to migrate the contents of the primary user mailbox from the previous environment to the new environment. Most mailbox migrations can migrate email, calendars, and contacts.
- Click Next Step.
- Enter a Project name and select a Customer.
- Click Next Step.
- Select or create your endpoints
- Click Next Step.
- Click Save and Go to Summary.
Endpoints
Endpoints are created through MigrationWiz. If you select an existing endpoint from the dropdown, it will only show ten endpoints. If you have more than ten, you may need to search it.
Consider that endpoint search is case and character-specific. For example, Cust0mer will not show up if the search is customer. We recommend keeping a list of endpoints you have created, along with any unique spellings or capitalization you may have used.
Create your Endpoints
Please review the following tabs to create your destination and source endpoints.
Create your source endpoint by following the next steps:
- Click New.
- Name your endpoint.
- Select type Exchange Server 2003+.
- Enter the OWA URL.
- Provide credentials: Click the Provide Credentials radio button, and enter the admin account credentials for the account, previously set up under the Prepare the Source Environment section of this guide.
- Click Add.
Create your destination endpoint by following the next steps:
- Click New.
- Name your endpoint.
- Select type Office 365.
- Provide the credentials.
- Click Add.
- Complete the Application (client) ID, the Directory (tenant) ID, the Client Secret, and the Region of Destination Tenant fields.
Important
Do not forget to complete the client ID, the tenant ID, and the Region of Destination fields, otherwise, you cannot save your project migration.
Application (client) ID, Directory (tenant) ID, and Client Secret
For Microsoft 365 Mailbox and Archive migrations, MigrationWiz adds the Application (client) ID, Directory (tenant) ID, and Client Secret fields.
While the Application (client) ID and the Directory (tenant) ID are mandatory, the Client Secret field is not. It will depend on the permissions of the user account that performs the migration. Please review the following information before the creation of your M365 endpoints.
-
The client secret value is not mandatory if you use delegated permissions. Please leave the Client Secret field empty.
-
The client secret value is mandatory if you use the Application Impersonation using API Permissions approach.
- If you already have an admin account with the Impersonation role enabled (not using the Application Impersonation using API Permissions approach) the client secret value is not mandatory. Please leave the Client Secret field empty.
For more information about how to get the Application (client) ID and Directory (tenant) ID values from the Application Registration, please review step 3 of this article.
Region of Destination Tenant
MigrationWiz displays a dropdown to select the Preferred Region of the Tenant at the destination endpoint. This value updates the Preferred Region of the Destination Tenant field in the project's Advanced Options, and vice versa. You will notice that both values are always the same.
The Region of Destination Tenant feature optimizes the migration performance and speed when choosing the region closest to the destination tenant.
Tip
You can find the region of your destination tenant directly in the Microsoft Entra admin center by going to Identity > Overview > Properties, and using the Country or region or the Data location.
For more information on this topic, review this article.
Warning
If you do not complete this field you will not be able to save your project and the “This field cannot be left blank.” error will appear.Endpoint Validation
Once the information has been provided for both, the source and destination endpoint, and the customer selects Save and Go to Summary, MigrationWiz performs an endpoint validation check.
This validation tests the administrator credentials entered into the project and the Modern Authentication setup only. If there is an issue, the screen redirects to the endpoint and provides an error message or flyout that can be selected for more information regarding the error.
Common Errors when Configuring Your Endpoint
For more information on the AADSTS700016, AADSTS90002, and ADDSTS50126 issues review the Common Errors Using Modern Authentication page.
Add Users
Add the user accounts that will be migrated to the project. MigrationWiz allows you to bulk import mailboxes into the system. Bulk Add uses a CSV containing the source and destination email addresses for the users to add the users to the project.
To import one or more mailboxes:
- Sign in to your MigrationWiz account.
- Select the Project for which you want to perform the bulk import.
- Click Add.
- Click Bulk Add.
- Follow the instructions on the page.
Advanced Options
The following advanced options may be useful for your migration.
Support Tab
Default Options for Microsoft 365 Endpoints
By default, some fields are view-only. In other words, you cannot edit or remove them from the support options page. To edit them, you need to edit the source or destination endpoint of your project.
Among these default options, you can find ModernAuthClientIdExport, ModernAuthTenantIdExport, ModernAuthClientSecretExport, ModernAuthClientIdImport, ModernAuthTenantIdImport, and ModernAuthClientSecretImport.
The support options above are required when configuring your endpoint.
Important
Keep in mind that the ModernAuthClientSecretExport and the ModernAuthClientSecretImport support options are text-masked.
Warning
You cannot update the default Advanced Options, in case you try to modify or add new ones the following message arises.
Source/Destination Tab
Set to use impersonation at Destination. Check the Use impersonation at Destination box.
Run Verify Credentials
- Sign in to your MigrationWiz account.
- Open the Project containing items you wish to validate.
- Select the items you wish to validate.
- Click on the Start button in your dashboard.
- Select Verify Credentials from the drop-down list.
Once complete, the verification results will be shown in the Status section.
Notify Users
Notify users that a migration is occurring. Send an email to all users telling them the time and date of the migration.
Run Migration
Pre-Stage pass
- Select the users to migrate.
- Click the Start button from the top.
- Select Pre-Stage Migration.
- Under the Migration Scheduling section, select 90 days ago from the drop-down list.
- Click Start Migration.
MX Record Cutover
Change over MX records on the DNS provider's portal.
Also, include the AutoDiscover (CName) setting.
- Set up mail forwarding.
- Set up mail routing on Microsoft 365.
Full (Delta) pass
- Select the users to migrate.
- Click the Start button from the top.
- Select Full Migration.
- Click Start Migration.
Run Retry Errors
Look through the user list and click any red "failed migration" errors. Review the information and act accordingly.
If problems persist contact Support.
Request Statistics
Click the pie chart icon in the MigrationWiz dashboard to receive an email containing all the project migration statistics.