Hosted Exchange to Exchange Online (Office 365) Migration

Aftab Alam    Aftab Alam     Updated On - 17 Apr 2019

In the present article, we will discuss the step-by-step procedure to access the hosted Exchange mailboxes and migrate to Exchange Online (Office 365). You need to arrange both source and destination platforms for the migration and then start the migration from the Exchange Admin Center.
Prepare the source hosted Exchange environment.

Here are the detailed steps –

  1. Create a new account for the migration and also grant the full access rights to each mailbox for the respective account. Run the PowerShell cmdlet.
    Get-Mailbox -ResultSize unlimited | Add-MailboxPermission -AccessRights FullAccess -User <the user account name>
  2. Allow the impersonation right to the user. It is very important to have the impersonation rights for a large size migration. Run the cmdlet.
    New-ManagementRoleAssignement -Role ApplicationImpersonation -User <username>
  3. Export the mailboxes to a CSV file.

    NOTE:
    If you are an administrator, then you do not need to provide the password for every mailbox. But a non-administrator needs to provide both mailboxes and password in the CSV.

Prepare the destination environment

Here are the steps –

  1. Setup the user account to receive the mailboxes.
  2. Create a new admin account which will have all the permission related to the mailbox.
    NOTE: You need to create a new admin account because if the user is a part of the Domain Administrator, Schema Administrator, or Enterprise Administrator groups, then they cannot have any administrative rights for migration. There is a default security setting in Exchange Server which prevents such admin accounts from migration even if they have the required permission.
  3. Create a new Exchange PowerShell session for the migration.
    $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic -AllowRedirection
  4. Grant the permission for migration with the following cmdlet:
    Get-Mailbox -ResultSize Unlimited | Add-MailboxPermission -AccessRights FullAccess -Automapping $false -User <username>
  5. Disable the throttling for the Administrator account.
  6. Verify that Administrator account is accessible in EWS.
  7. During migration, if the attachment along with the messages is larger than 10 MB, then you need to change some limit settings in the destination mailboxes – increase maximum message size limit, maximum accepted content length, maximum receive message size, and maximum accepted request length.

Start the Migration

The Exchange Online administrator can start the migration using the E-mail Migration wizard present in the Exchange Admin Center. The administrator can create multiple migration batches and can control the migration throughout time. You can also run multiple migration batches at one time. They will run separately and will not affect the efficiency of each other.

Here is the process to create the migration batches using the E-mail migration wizard:

  1. Sign in to Office 365 with administrator credentials (https://portal.office.com)
  2. Go to Admin option, and then click the Exchange option.
  3. Click the Migration option, and go to select the New (+), and choose the option Onboarding.
  4. Select the first option of Remote Move among the option (the remaining option is Staged Migration, Cutover Migration, IMAP Migration, etc.
  5. Next step involves selecting the users to account by clicking the Add (+) and select the users.
  6. Input the hosted Exchange Administrator account. The username option should fulfill like this ‘domain name\Administrator.’
  7. Create the Migration Endpoint and then create the Migration batch with a new name.
  8. Input the destination domain and target credentials.
  9. Start the batch migration. After a successful migration, you can check the mailboxes are present at the on-premises Exchange Server mailboxes.

The manual process requires a vast number of changes in both the source and destination ends, and then one has to manually start the migration batch at the Exchange Admin Center. You can also conduct a batch migration of Exchange mailboxes using a CSV file. It will require significant time to complete and a single error or mistake can washout the whole migration effort. It can also further corrupt the data, so if you do not want to face any unkind situation, use a trusted third-party Exchange Migration application from a professional vendor.

Kernel Migrator for Exchange

Kernel Migrator for Exchange is a special migration software which help to easily migrate Hosted Exchange mailboxes to Office 365. It also provides a clean migration report consisting status of each mailbox.

Download Now