Forum Discussion
davi-baldin
Feb 04, 2019Copper Contributor
Monitoring DirSync Azure AD status from api
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
2 Replies
Both Get-MsolCompanyInformation and Get-AzureADTenantDetail expose the last sync date, so does the Graph API (https://graph.microsoft.com/v1.0/organization).
- ShankyHuntCopper ContributorThanks