Answer:
The recommended approach is as follows:
Use this article from Microsoft for the most up-to-date information: Set up Directory Synchronization
- Download and install AAD Sync or AAD Connect (if you need support for federation).
- Set msExchMailbxoGuid to Null. Read How can I set msExchMailboxGuid attribute to null for more information.
- Configure filtering to define which objects are synced. Read the Azure AD Connect sync: Configure filtering article from Microsoft for more information.
- Use Microsoft AAD Sync or AAD Connect to create and synchronize the accounts from the On-premises environment to Office 365.
- Assign Office 365 licenses to accounts on Office 365.
- Remove the null attribute from the msExchMailboxGuid, using the Synchronization Rules Editor.
- Perform another synchronization, using AAD Connect (or AAD Sync).
- Migrate.
Note: This step can also be initiated after Step 4, once the licenses have been assigned.
Important: