01745 616 524 admin@comstat.uk
  • Facebook
  • Facebook
Comstat | Ruthin, North Wales | 01745 616 524
  • Home
  • Hosting
  • Support
  • How to
    • Articles
    • Microsoft 365
    • Web Server
  • Contact
Select Page

How to migrate email from cPanel to Microsoft 365

Jul 13, 2025

Step-by-step guide

Use our workflow in this article to prepare and migrate email accounts from to Microsoft 365. This workflow explains how to migrate one account. If you have multiple email accounts, we recommend migrating one account at a time. It is possible to migrate an entire email resource, but this is complext and is not recommended unless you have expert in-house IT skillsets. 

Click on the headers below to follow our migration workflow. Click on inmages to view at full-sized resolution.

Workflow overview
  1. Preparation: Gather necessary information and prepare your environment
  2. Backup Emails: Ensure all emails are backed up
  3. Set Up Microsoft 365: Configure your Microsoft 365 environment
  4. Migrate Emails: Transfer emails from cPanel to Microsoft 365
  5. Update DNS Records: Point your domain to Microsoft 365
  6. Verify and Test: Ensure everything is working correctly
Preparatory Steps

1. Gather information:

  • Delete junk email and deleted items from cPanel email accounts
  • List and assess email accounts/data volumes to be migrated
  • Assess broadband to calculate projected download/upload times
  • Login credentials for cPanel and Microsoft 365 admin accounts
  • Login credentials for your domain name registrar, or wherever your authoritative domain name’s zone record is managed. In some case this might be handled by your Microsoft 365 tenancy.

2. Backup emails:

  • Use cPanel’s backup tools to download a copy of your emails

3. Setup or review your Microsoft 365 tenancy

  • Ensure you have the necessary Microsoft 365 licenses
  • Use the Email Accounts tool to download emails as .mbox or .pst files
Migration Process

1. Log into cPanel dashboard with your admin credentials

2. Export your emails

  • Navigate to the Email section
  • Use the <Email Accounts> tool to download emails as .mbox or .pst files

3. Log in to Microsoft 365 Admin Center with your global admin credentials

 4. Set Up your 365 Migration Endpoint

  • Go to the Exchange admin center
  • Navigate to Recipients > Migration > More > Migration endpoints
  • Create a new migration endpoint using the IMAP server details from cPanel

5. Create a Migration batch

  • In the Exchange admin center, go to Recipients > Migration
  • Click on “+” and select “Migrate to Exchange Online”
  • Choose “IMAP migration” and follow the prompts to create a migration batch

 6. Start the migration

  • Start the migration batch and monitor progress
  • Once the migration is complete, verify that all emails have been transferred
Update DNS Records

1. Log into your domain name registrar

  • Access your domain registrar’s dashboard with your credentials

2. Update MX records

  • Replace the existing MX records with those provided by Microsoft 365
  • This ensures that new emails are delivered to Microsoft 365

3. Update other DNS records

  • Update SPF, DKIM, and DMARC records as recommended by Microsoft 365
  • Review rDNS and edit as necessary
Verify and Test

1. Check Email Delivery

  • Send test emails to and from the migrated accounts to ensure proper delivery

2. Verify new 365 account settings

  • Ensure that all email settings and folders are correctly configured in Microsoft 365

3.  Monitor for Issues

  • Keep an eye on the accounts for any issues over the next few day
Summary

These steps will migrate accounts  from cPanel to Microsoft 365. UNless you are expert, you should migrate one email account at a time. This affords better scope for stepping back if you encounter issues, and also migration of accounts in bulk require practiced experience. 

Large email accounts backups can take a lot of time to download especially with poor broadband, and uploading content can take even longer. Be prepared for some hours of outage if you have large backups and poor bandwidth.

 

Bear in mind that IMAP is an older technology and it is possible when migrating to Microasoft’s more modern ActiveSync environment, it accounts with large folder may appear corrupted. In this case, creating a new folder and copying content (rather than moving) usually resolves the problem.

If you encounter any issues, Microsoft’s support resources are well documented for additional help.

Categories

  • Articles
  • Exchange
  • Microsoft 365
  • Web Server
  • Facebook
Site design by Caistar.com (a Comstat association). Web hosting by ComStat.uk
Manage Cookie Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}
1
Scan the code
WhatsApp
👋Scan the QR code or click open Chat to talk to us on WhatsApp.
Open chat