Home

Monitoring DirSync Azure AD status from api

Highlighted
Occasional Visitor

Hi team.

 

Can I get the current DirSync (AAD Connect) status from API call? - We would like to monitor synchronisation delay between on-premisses and Office365. I'm wondering we can consume a public API instead of parsing admin home page.

 

Regards,

 

Davi

1 Reply
Highlighted

Both Get-MsolCompanyInformation and Get-AzureADTenantDetail expose the last sync date, so does the Graph API (https://graph.microsoft.com/v1.0/organization).