Migrate G Suite to Office 365 through IMAP Part 1

Rafael Galante Gutiérrez Rafael Galante Gutiérrez Updated On - 30 Sep 2019

In the following article we will detail the steps to follow to migrate G Suite to Office 365 through IMAP.

1- Migrate G Suite to Office 365 through IMAP Part 1
2- Migrate G Suite to Office 365 through IMAP Part 2

What Is IMAP?

The Internet message access protocol is an application protocol that allows access to messages stored on an Internet server. Through IMAP you can access email from any computer that has an Internet connection.

What Is Migration For IMAP?

It consists in replicating emails from one server to another server.

What Can We Migrate Through IMAP?

Only emails and the folder structure are migrated. The contacts, calendars and tasks must be migrated manually, making exports and imports.

Before Beginning Migration

Before starting the migration from G Suite to Office 365, you have to make two settings in Gmail accounts:

  1. Enable IMAP in Gmail
    • From our Gmail account we access Settings.
      Access setting from Gmail account
    • On the Settings page, switch to Forwarding and POP / IMAP mail. switch to Forwarding and POP / IMAP mail
    • We enable IMAP access by checking Enable IMAP. Enable IMAP access
  2. Allow access for less secure applications
    • From our Gmail account, we access Settings.
    • Go to Accounts and import > Other Google account settings. Import other Google account
    • Security
      Go to Security option on the left panel
      Go to security option
    • We go down at the bottom in the right panel and check Allow access to less secure applications. Allow access to less secure applications

Preparing Migration In The Office 365 Environment

  • We must create two .CSV files:
    1. The first CSV will help us create the users in Office 365. To do this, we must follow the following structure of the attached CSV:
      follow the structure of the attached CSV
    2. The second CSV will be used to associate the GMAIL account with the user in Office 365. To do this, we must follow the following structure of the attached CSV:

      EmailAddress,UserName,Password
      terrya@contoso.edu,contoso\terry.adams,1091990
      annb@contoso.edu,contoso\ann.beebe,2111991
      paulc@contoso.edu,contoso\paul.cannon,3281986
      EmailAddress: is the email address of the Office 365 mailbox.
      UserName: is the login name for the Gmail user’s mailbox.
      Password: is the password of the Gmail user’s mailbox.
  • We access the Office 365 administration console:
    https://admin.microsoft.com/AdminPortal/Home#/homepage

    1. In the admin console of Office 365, we access Users > Active Users > More > Import multiple users: Admin console of Office 365
    2. We select our CSV file with the necessary users to create in Office 365 and click on Verify and next: Select CSV file
    3. In the dialog box set user options you can set the login status and choose the product license that will be assigned to all users.
  • We access the Exchange Online administration console:
    https://outlook.office365.com/ecp
    Once the users are created we must start with the replication of emails.

Conclusion

Till here you have got information about how you can prepare the environment for G Suite to Office 365 migration. To know the remaining steps of migration, please read part 2