How To Check Office 365 Directory Synchronization

Azure AD Connect Sync

So – you set up Azure AD Connect to take care of the synchronization between your on-premise AD and Office 365. But what’s the status on the synchronization?

Fortunately it’s very easy to see how your synchronization is working out generally.

Check Office 365 Directory Synchronization Using the Admin Console

Open up the Microsoft 365 Admin Center and click on Health and Directory sync status:

AAD Connect synchronization status

In the above example it seems that the last directory sync happened two days ago. This should prompt you to immediately log in to your Azure AD Connect server and check what’s going on.

The below table shows an overview of the properties that are visible in the Directory sync status view:

Azure AD Connect Sync Status

Directory syncOn or Off. Tells if directory synchronization is turned on or off.
Latest directory syncLast time directory sync ran. Will display a warning and a link to a troubleshooting tool if the last sync was more than three days ago.
Password syncOn or off. Specifies whether you have password hash sync between our on-premises and your Microsoft 365 tenant.
Last password syncLast time password hash sync ran. Will display a warning and a link to a troubleshooting tool if the last sync was more than three days ago.
Directory sync client versionContains a download link if a new version of Azure AD Connect has been released.
Directory sync service accountDisplays the name of your Microsoft 365 directory sync service account.
Idfix toolContains a link to the Idfix tool.
Domains verifiedNumber of domains in your Microsoft 365 tenant that you have verified you own.
Domains not verifiedDomains you have added, but not verified.

Check Office 365 Directory Synchronization Using PowerShell

If you prefer to use PowerShell the same information can be read using the following command:

  1. Get-MsolCompanyInformation

The output from this command may look similar to this:

PS C:\> Get-MsolCompanyInformation DisplayName : Easy365Manager PreferredLanguage : en Street : Naverland 2 City : Glostrup State : Danmark PostalCode : 2600 Country : CountryLetterCode : DK TelephoneNumber : 70201961 MarketingNotificationEmails : {} TechnicalNotificationEmails : {} SelfServePasswordResetEnabled : True UsersPermissionToCreateGroupsEnabled : True UsersPermissionToCreateLOBAppsEnabled : True UsersPermissionToReadOtherUsersEnabled : True UsersPermissionToUserConsentToAppEnabled : True DirectorySynchronizationEnabled : True DirSyncServiceAccount : LastDirSyncTime : 10/8/2020 11:50:31 AM LastPasswordSyncTime : 10/8/2020 11:50:09 AM PasswordSynchronizationEnabled : True
Did you like this post? Maybe your friends will too!