Table of Contents
    Migrate to Office 365

    Migrate Exchange Mailboxes to Exchange Online with CSV File


    Table of Contents

      Summary: When you need to bulk migrate mailboxes from local Exchange Server to Exchange Online, you can use a CSV file to batch migrate the mailboxes. In this guide, we will discuss the detailed process to batch migrate Exchange mailboxes to Exchange Online using the CSV file. We will also mention an Exchange Migration tool that simplifies the process of migrating mailboxes and other data from on-premises Exchange Server to Exchange Online (Office 365).

      It is a challenging job to migrate mailboxes from local Exchange Server to Exchange Online as it requires moving a large number of mailboxes. However, you can use a comma-separated values (CSV) file for migrating a large number of mailboxes in batches. This CSV file contains the required details of each mailbox. You just need to specify the CSV file when using the Exchange Admin Center (EAC) or the New-MigrationBatch PowerShell cmdlet to create a migration batch. Below, we will be discussing the process to migrate Exchange Server mailboxes to Exchange Online using Comma Separated Values (CSV) file.

      How to Migrate Exchange Mailboxes to Exchange Online with CSV File?

      You can follow the below process to batch migrate mailboxes from Exchange Server to Exchange Online.

      Preparing for the Migration

      First, you need to create the CSV file. Here’s how:

      • Open the Exchange Admin Center (EAC) and click on recipients.
      Open the Exchange Admin Center EAC
      • Click on the more options () button and then click on Export data to a CSV file.
      Export data to a CSV file
      • Select only the EMAIL ADDRESS option and then click on Export. This will download the CSV file to the default Downloads folder. However, you can also choose an alternative location from the prompt.
      download the CSV file to the default Downloads folder
      • Once the CSV file is downloaded, open the file with a notepad and change the EMAIL ADDRESS header to EMAILADDRESS (see the below image). Then, save the file.
      open the file with a notepad and change the EMAIL ADDRESS header to EMAILADDRESS

      Note: You can also remove any mailboxes that you don’t want to migrate.

      Create the Migration Batch

      Now, you need to create the migration batch and specify the mailboxes to migrate using the CSV file created above. For this,

      Open the Exchange Admin Center EAC in the Exchange Online
      • Enter the name of the migration batch and make sure to select Migration to Exchange Online as the migration path.
      select Migration to Exchange Online as the migration path
      • Next, you need to select the migration type. Here, we will be choosing the Remote move migration.
      Choose the Remote move migration

      Before the migration process, there are a few things that you need to set up to migrate mailboxes to the cloud.

      You need to configure and set up a server with Entra ID Connect. The users and passwords need to be synchronized with the Entra ID. Once this is complete, you need to configure the Hybrid Configuration Wizard (HCW) and connect the Exchange Online to the local Exchange Server. Verify the domain on the Office 365 ports and assign the licenses of Office 365 to the users.

      Read More about Testing a New Exchange Hybrid Configuration with Office 365.

      You need to disable the throttling of the EWS in Office 365 when migrating many mailboxes. For this, login to the Microsoft 365 Admin portal and create a New service request in the Support section.

      create a New service request in the Support section

      In the search field of the Need Help section, search for EWS Throttling Policy Increase. Then, click on Run Tests.

      search for EWS Throttling Policy Increase

      If throttled, you will be notified on the screen. You can select the duration in days.

      Once complete, click on Update Settings.

      If this is not the case, click on Contact Support to open a case with Microsoft.

      If the above is not done, the migration process will be much slower.

      Migrating the Mailboxes

      On the Exchange Online Admin Center, click on Migration and then click on Add migration batch. Enter the name of the migration batch and select the migration path – Migration to Exchange Online.

      Next, select Remote move migration as the migration type and click Next. Then, select the migration endpoint (created by the Hybrid Configuration Wizard).

      When it comes to selecting the users, click on the Migrate from CSV file and click Next. On the next screen, set the Exchange Online tenant in the Target Delivery domain.

      After this is done, you need to select the schedule of the migration batch.

      In the migration option in the Exchange Admin Center (EAC) of Exchange Online, you can see the migration job and its status.

      To Conclude

      As you have seen above, migrating mailboxes to Exchange Online from a local Exchange Server requires significant administrative effort, technical expertise, and a lot of time. Moreover, native methods are limited to migrating only user mailboxes.

      Alternatively, you can use a specialized Exchange Migration tool designed for seamless and efficient migration, Stellar Migrator for Exchange. This software simplifies the process of migrating mailboxes and other data from on-premises Exchange Server to Office 365 (Exchange Online) or another live Exchange environment.

      It allows you to migrate not just user mailboxes but also archive mailboxes, and public folders. With features such as automatic mailbox mapping between source and destination, detailed migration status reports, priority-based exports for VIP users, and support for parallel migration, it ensures a smooth, reliable, and time-saving experience.

      In addition, Stellar Migrator for Exchange provides the flexibility to migrate directly to Exchange Online or to another live Exchange server, with ease and minimal effort.

      Was this article helpful?

      No NO

      About The Author

      Shelly Bhardwaj linkdin

      I am a Product Consultant and is associated with Stellar Data Recovery from last 8 years. I write about the latest technology tips and provide custom solutions related to Exchange Server, Office 365, MS Outlook, and many other Email Clients & different flavors of OS Servers. Read More

      Leave a comment

      Your email address will not be published. Required fields are marked *

      Image Captcha
      Refresh Image Captcha

      Enter Captcha Here :

      Related Posts

      WHY STELLAR® IS GLOBAL LEADER

      Why Choose Stellar?

      • 0M+

        Customers

      • 0+

        Years of Excellence

      • 0+

        R&D Engineers

      • 0+

        Countries

      • 0+

        PARTNERS

      • 0+

        Awards Received

      ×