OneOffice Logo

Exchange Server

Migrating your Exchange email to OneOffice

Introduction

The Microsoft Exchange Server is an email and calendaring server developed by Microsoft. You can migrate Email, Contacts and Calendar data from the Exchange Server to OneOffice.

To migrate your data, we will need the EWS (Exchange Web Services) URL -- this is used to find the Server name of your Exchange account, the Email Address, and the Password of the Exchange account that has access to users' mailboxes.

Firstly, you will have to prepare the source server before migrating your data.

Preparing the Source Environment

To migrate data from your Exchange account, you need to have an Admin account that has an ApplicationImpersonation role.This will ensure that the Admin has access to all the user's mailboxes to migrate their accounts from the Exchange Server.

We suggest that you create a new user account and assign the required access to this account since other Admin users might not have the required access.

Apart from this, you need to verify your Exchange Web Services (EWS) URL.

1. Creating an Administrator account

Exchange 2010

To create an account in the Exchange Server, open the Exchange Management Console, and create a New Mailbox by following the New-Mailbox section on this help page.

Once the mailbox has been created, follow these steps to grant the required access.

  1. Open the Exchange Management Shell
  2. Enter the following command:

Get-Mailbox -ResultSize Unlimited | Add-MailboxPermission -AccessRights FullAccess -User <username>

Exchange 2013 and 2016

Create an account and attach a mailbox to the Exchange 2013 or 2016 server.

Once the mailbox has been created, follow these steps to grant the required access.

  1. Open the Exchange Management Shell
  2. Enter the following command:

Get-Mailbox -ResultSize Unlimited | Add-MailboxPermission -AccessRights FullAccess -User <username>

2. Granting ApplicationImpersonation Role

Once the Admin access has been granted, provide ApplicationImpersonation role using the following steps:

  1. Open the Exchange Management Shell
  2. Enter the following command:

New-ManagementRoleAssignment -Role ApplicationImpersonation -User <admin_user_name>

where <admin_user_name> is the username of the account for which you have granted Admin access.

3. Determining the EWS URL

The EWS URL is used to fetch the Server Name of your Exchange Server. In general, the default format for the EWS URL is https://mail.domain.com/EWS/Exchange.asmx. However, this does not work with all Exchange Servers.

In such cases, a Powershell command can be used in the Exchange Server.

  1. Open the Exchange Management Shell.
  2. Enter:

Get-WebServicesVirtualDirectory |Select name, *url* | fl

The EWS URL will be displayed.

4. Users list

Next step is know which users you want to migrate. If it's all of them, we can fetch the data from Office 365 for you. If not, please send us a CSV with all user email and we'll take it from there.

5. Start Migration

Once we get your green light, we will run the scripts in the background to pull all your data. We typically skip folders such as Spam, Junk, and Deleted. We will pull all user-created folders automatically with all existing data.