02-04-2019 06:40 AM
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
02-04-2019 09:48 AM
Both Get-MsolCompanyInformation and Get-AzureADTenantDetail expose the last sync date, so does the Graph API (https://graph.microsoft.com/v1.0/organization).