
On the Add or sync users to your Microsoft account page, choose Get started. Under Sign-in and security, select Add or sync users to your Microsoft account. In the admin center, select Setup in the left nav. To synchronize your users, groups, and contacts from the local Active Directory into Azure Active Directory, install Azure Active Directory Connect and set up directory synchronization. The Run IdFix in step four (4) below, will also make sure your on-premises Active Directory is ready for directory synchronization. org, adjust the UPN suffix of the local user accounts first as described in Prepare a non-routable domain for directory synchronization. lan, instead of an internet routable suffix such as. For example: rather than the Active Directory domain ends in a non-routable suffix like.

We recommend that you configure the userPrincipalName (UPN) attribute for each local user account to match the primary email address that corresponds to the licensed Microsoft 365 user. These values must be unique and any duplicates must be removed. Make sure that no duplicates exist in your directory for the following attributes: mail, proxyAddresses, and userPrincipalName.

Prepare for Directory Synchronizationīefore you synchronize your users and computers from the local Active Directory Domain, review Prepare for directory synchronization to Microsoft 365.
