Gmail to Office 365 exchange online migration using IMAP

Migrate email to Office 365:  This is a general landing page that lists all the ways to migrate email to Office 365.

Migrate Gmail mailboxes to Office 365:

I would like to share the steps to migrate a mailbox from Gmail or any other IMAP provider to Office 365 exchange online. Following steps may be helpful for reference. 

Create a CSV file as per the screenshot mentioned below. You should include office 365 email address ,IMAP user account and  password in the CSV file.

 Login to office 365 portal and select exchange admin center as seen below.

 Under recipients , select migration tab. 

Select the add button and create a new migration batch. 

 Select migration to exchange online option from the drop down list.

 Choose IMAP migration from the available option and click next.

 Browse and select the CSV file where in mailbox information is stored and click next.

 Put down the IMAP server FQDN. Gmail's default IMAP server is and click next.

 Create a batch file name and click next.

 You can mention admin's email address to notify the migration status and click next.

 You should be able to see the migration batch status as 'syncing'. It will take few minutes based on the mailbox size.

Once migration is completed  'synced' status will change. 

 Admin will receive an email stating that migration is completed or failed based on batch status.


This step by step guide may help you for IMAP migration.

Comments (8)

  1. gautam says:

    Thanks a lot, this really helped me.

  2. says:

    Excellent job and very simple steps……………….. Thanks Saleesh

  3. Satya says:

    Marvelous…… Amazing………
    This is so easy………
    I can’t believe it.

  4. CaveatEmptor says:

    If your old server uses your email address as the login, your csv import will not work. So for those with hosted email, beware.

  5. Jon says:

    Any idea how to fix a mistyped password for one of the mailboxes in a batch causing it to fail? Thanks in advance.

  6. Jon says:

    RE: Any idea how to fix…

    Nevermind. Editing the batch and uploading the CSV file again with the corrected password has allowed the mailbox to begin syncing. Note, however, that the details of the batch in the EAC will double the total number of mailboxes until the batch is resumed. Once resumed it dropped back down to the original total. I hope others facing this situation find this information useful.

  7. Mario says:

    How reliable is this method? Would it work for 365 to 365 (different tenants)? I have heard of folders missing.

Skip to main content