Step by Step Guide to Migrate Exchange EDB to Office 365

  1. Note:
    1. If the login through admin user is failing then try to impersonate any other User.
    2. Make sure the impersonated user account has impersonation permissions to each associated Mailbox (Users). That's, impersonated user should have impersonation permissions to all the associated Mailboxes.
  2. Note:
    1. If the login through admin user is failing then try to impersonate any other User.
    2. Make sure the impersonated user account has impersonation permissions to each associated Mailbox (Users). That's, impersonated user should have impersonation permissions to all the associated Mailboxes.

     

    Execute the below commands in PowerShell (Run as Administrator)

    1. Click on the Windows Start button.

    2. Search for Windows PowerShell (PowerShell should already be installed).

    3. Start PowerShell under an administrator context (right-click -> run as administrator)

     

    Step 1:

    Command: Copy & Paste it on PowerShell

    Set-ExecutionPolicy Unrestricted

    Result:
    admin-account

    Step 2:

    Command: Copy & Paste it on PowerShell

    $LiveCred = Get-Credential

    Enter the User Name (SMTP) and Password of Office 365 account having Global Admin credentials.

    Result:
    live-credentials

    Step 3:

    Command: Copy & Paste it on PowerShell

    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection

    Result:
    session

    Step 4:

    Command: Copy & Paste it on PowerShell

    Import-PSSession $Session

    Result:
    import

    Result:
    import-session

    Step 5:

    Command: Copy & Paste it on PowerShell

    Enable-OrganizationCustomization

    Ingore this results, if the error is "This operation is not required. Organization is already enabled for customization."

    Result:
    enable-organization

    Step 6:

    Command: Copy & Paste it on PowerShell & change User

    New-ManagementRoleAssignment -Role "ApplicationImpersonation" -User user@domain.com

    Result:
    management-roles



    Note: Click here to know the steps to set Impersonation rights using GUI

  3. a. Download the EdbMails setup and install it on your computer where you have your Offline EDB file that you wish to recover.  Download

    b. Double click the EdbMails setup (EdbMailsSetup.exe) to start the installation process.

    c. On the Welcome page, click "Next >" to proceed. And to complete the installation, follow the instructions that appear on the installation screens accordingly.

    installation

  4. Click the "Start Your Free Trial" button

    Demo login EdbMails

  5. Select the Export Method as "EDB Recovery (Offline) & Incremental Migration" and click "Continue"

    select edb
    In the next screen select the EDB file that you wish to migrate emails from EDB to Office 365.

    Click the "Browse for EDB" button to navigate to where the EDB is located. If you are using Exchange 2003, EdbMails will automatically look for the corresponding STM file in the same location. If you are using Exchange 2007 or above, STM file is no longer used.

    Now click the "Continue" button to start the recovery operation.

    select edb

  6. a. Right click the Tree view and select the Mailbox / folder that you wish to migrate to Office 365. Choose the "Migrate Selected Mailboxes / Folders To Office 365 Server" popup menu item to continue with the migration operation.

    pst

     

    b. Click the "Migrate to Office 365 [Incremental]" option to continue.

    pst

     

    c. Enter the Office 365 account credentials to connect to Office 365 and click "Login to Office 365"

    Before connecting to Office 365, set the impersonation rights to a user.

    Click here to know how to set the impersonation rights.

    pst

     

    d. After the successful login, Map the mailboxes to Office 365 mailboxes and click on "Export EDB to Office 365" to export.

    office365

     

    e. During export operation, the progress will be displayed as shown in the below screenshot.

    progress

     

    f. Once the Export operation is completed, the message "Export operation has been completed." will be prompted.

Video Tutorial for EDB to Office 365