EdbMails EDB Recovery and Migration software
  • Reseller
  • Free Trial
  • Video Tutorials
  • Support
  • FAQ
  • Free Tools
  • Knowledge Base
  • Products
    Exchange EDB / Email Recovery Tools
    • EDB Recovery and MigrationRecover EDB to PST, EDB to Office 365 and Exchange NO Duplicate Migration
    • OST Recovery and MigrationRecover OST to PST, OST to Office 365 and Exchange Migration
    • PST Recovery and MigrationRecover Outlook PST, PST to Office 365 and Exchange Migration
    • MBOX Export and MigrationExport MBOX to PST, MBOX to Office 365 and Exchange Migration
    • NSF Export and MigrationExport NSF to PST, NSF to Office 365 and Exchange Migration
    Exchange and Office 365 Migration
    • Exchange Server MigrationMigrate Exchange 2007, 2010, 2013, 2016, 2019 to Office 365 tenants. Also, migrate between Exchange servers and PST
    • Office 365 MigrationMigrate Source Office 365 tenants to Destination Office 365 tenants. Also, migrate to Exchange Server and PST
    • IMAP Email Backup & MigrationMigrate all IMAP email servers (Gmail, Zimbra, Zoho, Yahoo etc.), Office 365, Exchange and Backup to Outlook PST
    • SharePoint Online MigrationMigrate documents, files and folders from SharePoint sites
    • OneDrive for Business MigrationMigrate documents, files and folders from OneDrive
    • Microsoft Teams MigrationMigrate Teams, documents, files and folders etc.
    Exchange and Office 365 Backup
    • Office 365 BackupIncremental, Granular, Encrypted and Compressed Office 365 Mailboxes Backup
    • Exchange Server BackupIncremental, Granular, Encrypted and Compressed Exchange Mailboxes Backup
    • SharePoint, OneDrive & Teams BackupBackup Online site collections, Team sites, Office 365 groups, all documents etc.
    • Duplicate Remover - Office 365 & Exchange Remove duplicate emails, calendars, contacts, journal etc. from Office 365 and Exchange
    • GAL and All Address Lists migrationDirectly migrate Exchange and Office 365 Global address list and Address Lists items
    Go to products
  • Pricing
  • Features
  • Download
  • Account
    1. Home
    2. Product
    3. Configure AD sync tools for hybrid Exchange migration

    Manage Exchange Hybrid Migration

    Manage Exchange Server migration within a hybrid environment

User Manual

  • Exchange Migration Overview
  • Initial Setup
  • System Requirements
  • Installation
    • Installation process
    • Reinstall or Upgrade
    • How to uninstall
  • FAQ
    • General
    • Migration Free Trial / Demo
    • Migration License
    • Before Migration
    • Migration - Steps
    • After Migration
  • Videos
    • Exchange to Exchange
    • Exchange to Office 365
    • Exchange to PST
    • Public Folder to Office 365
    • Archive Mailbox to Office 365
    • Public Folder to Exchange
    • Archive Mailbox to Exchange
  • Screenshots
    • Exchange to Exchange
    • Exchange to Office 365
    • Exchange to PST
  • How it works?
    • Exchange to Exchange
    • Exchange to Office 365
    • Exchange to PST
    • Exchange Public Folder to Office 365
    • Exchange Public Folder to Exchange
    • Exchange 2010 to 2016 Public folder
    • Exchange 2013 Public folder to Office 365
    • Exchange 2016 Public folder to Office 365
    • Exchange Public Folder to Shared Mailbox
    • Archive Mailbox to Office 365
    • Archive Mailbox to Exchange
    • Hosted Exchange Migration
    • Hosted Exchange to Live Exchange Migration
    • Hosted Exchange to Office 365 Migration
    • Live Exchange to Hosted Exchange Migration
    • Hosted Exchange Public Folder to Office 365 Migration
    • Cross-forest migration from Exchange 2013 to Exchange 2019/2016
    • Hybrid Migration
    • Public folder Migration in Hybrid Environment
    • Migrate GAL and all address list
    • Disable msExchMailboxGuid
  • Connect to Exchange server for multiple mailboxes migration
    • Connect with Global Admin
    • Connect to Multiple users using CSV file
    • Connect using full access permission
    • Connect individual users for Single / Specific user Migration
  • Connect to Hosted Exchange for its Migration
    • Connect with Full Access permissions
    • Connect to multiple users using CSV file
    • Connect to Individual user for migration
  • Connect to Office 365
    • Modern Authentication Using OAuth 2.0
      • Microsoft 365 modern authentication
      • Automatic Registration
      • Manual Registration
    • Connect with Global Admin
    • Connect to Office 365 with full access permission
    • Connect to Office 365 with CSV file option
    • Connect to Office 365 as single user mailbox
  • Set Exchange Server Impersonation rights
    • Exchange 2007 and below
    • Exchange 2010, 2013, 2016 and 2019
    • Set using Exchange Server GUI
  • Understanding the Application
    • Program's Component
    • Migration
    • Incremental Migration
    • Exchange Throttling Policy
  • Set Office 365 Impersonation rights
    • Using PowerShell commands
    • Using Office 365 GUI
  • Migration Types
    • Cutover Migration
    • Staged Migration
    • Hybrid Migration
  • Map the Mailboxes
  • Migration Walkthrough
    • From Exchange 2003
    • From Exchange 2007
    • From Exchange 2010 to Exchange 2019
    • From Exchange 2010 to Exchange 2016
    • From Exchange 2010 to Office 365
    • From Exchange 2013 to Exchange 2019
    • From Exchange 2013 to Exchange 2016
    • From Exchange 2013 to Office 365
    • From Exchange 2016 to Exchange 2019
    • From Exchange 2016 to Office 365
    • From Exchange 2019 to Office 365
    • From Office 365
  • Multifactor Authentication
    • Enable MFA in Office 365
    • Create App password for MFA
    • Disable Security Defaults

Managing Exchange Server migration within a hybrid environment

You are using an AD synchronization tool such as Azure Active Directory Connect or Azure AD Sync to sync the data within your hybrid Exchange environment and would like to configure certain attributes for performing on-premise migration.

Resolution:

For performing on-premise Exchange migration within your hybrid environment, you need to set the attribute msExchMailboxGuid to NULL. Follow the steps outlined below to configure the attribute status.

  • Set the attribute msExchMailboxGuid to NULL
  • Remove the attribute msExchMailboxGuid from the AD synchronization

Set the attribute msExchMailboxGuid to NULL

  1. Use the following cmdlet to stop the scheduler in Azure AD Connect.

    Set-ADSyncScheduler -SyncCycleEnabled $false

  2. Run the Synchronization Rules Editor tool from the Start menu as administrator as shown.

    Synchronization Rules Editor

  3. Select the option Inbound under Direction and choose the rule In from AD - User Exchange. Note down the Precedence value corresponding to this row and click on the Edit button below to edit the rule.
  4. Click Yes to disable the rule and create a copy of the rule. Under Descriptions, change the value of the Precedence to 200.
  5. In the Transformations tab look for the attribute msExchMailboxGuid and set the following values.
    • Under Flow Type->Select Expression
    • Under Source, corresponding to this row-> Select NULL
    • Select the checkbox Apply Once
    • Under Merge Type->Select Update.
    • Click Save after configuring the above changes and delete the rule that you disabled in Step 4.

    Change the Precedence value in this rule to the one you noted down under Step 3.

  6. Use the following command to restart the scheduler you had turned off in Step 1.

    Set-ADSyncScheduler -SyncCycleEnabled $true

  7. Use the following command to perform a full synchronization.

    Start-ADSyncSyncCycle -PolicyType Initial

    After performing the synchronization, you can perform migration within your hybrid environment by creating mailboxes and assigning licences to your Office 365 account.

Back to Top

Remove the attribute msExchMailboxGuid from the AD synchronization

If the aforementioned solution is not working for you, you can try removing the synced users manually from Office 365 or remove the attribute msExchMailboxGuid to remove the synced users in Office 365.

  • Remove Synced users from Office 365 and Azure Admin center
  • Configure AD Sync Tool to exclude the attribute msExchMailboxGuid from sync

Remove Synced users from Office 365

  1. Open Synchronization Service Manager in Azure AD Connect.
  2. Select the Connectors tab.
  3. Select Active Directory Domain Services as the connection type.
  4. Right click and select Properties
  5. From the Properties window, head over to the Configure Directory Partitions and click on Containers.
  6. Enter the password of the local AD user and click OK.
  7. In the Select Containers window, uncheck the selection for HybridUsers and click OK.
  8. To do a full AD synchronization, open Windows PowerShell command and execute the command below.

    Start-ADSyncSyncCycle -PolicyType Initial

  9. Open Synchronization Service Manager and verify if the status of the connectors are successful. You can view the synced accounts under the Deleted Users page of the Office 365 admin center. Finally, you can delete the users from the Azure AD admin center.

    Synchronization Service Manager

  10. After deleting the users from the Azure AD admin center there will be no synchronized accounts which you can verify from the Office 365 admin center. If you would like to know how to delete the users from Azure AD, follow the steps below.

Steps to delete users from Azure AD admin center

  • Login to Azure AD admin center from this link.
  • Select Users from the left pane and navigate to Deleted users.

     Select Deleted users from the Azure Admin center

  • Select the users you want to delete and click the button Delete permanently to permanently delete all the users. Click Yes to confirm.
Back to Top

Configure AD Sync Tool to exclude the attribute msExchMailboxGuid from sync

You can prevent the attribute msExchMailboxGuid from syncing every time by following the steps below.

  1. Open Azure AD Connect app.
  2. Click on Configure and choose Custom synchronization options from the list. Click Next.
  3. Enter your Azure credentials under Connect to Azure AD.
  4. In the Domain / OU Filtering tab select the option HybridUsers and click on the Next button at the bottom.
  5. In the Azure AD Attributes tab, uncheck the option msExchMailboxGuid and check the option I want to further limit the attributes exported to Azure AD and click on the Next button.
  6. In the Configure tab, check mark the option Start the synchronization process when configuration completes.
  7. Click on the Configure button to start the synchronization. After the synchronization is complete, the attribute msExchMailboxGuid is no longer synced to the user accounts.
Back to Top
hidden msg

EdbMails Demo / Trial Version

Step 1. Download and install EdbMails

Step 2. Click the 'Start Your Free Trial' button

Demo login EdbMails

  • Home
  • Features
  • Pricing
  • Support
  • Download
  • Sitemap
  • FAQ
  • Video Tutorials
  • Technical Support
  • Live Chat
  • Contact Us
Shifttocloud Inc.
Rehoboth Beach, DE
United States
+1 (302) 416-3056

Privacy Policy | Terms of Use | GDPR | Security | Press Releases

© 2023 Shifttocloud Inc.

Live Chat

Hi, May I help you?

Hide Chat Now