Solved
Forum Discussion
Mike_Moniz
Professor
11 months agoBy "AD Sync" do you mean Active Directory Sync do you mean AD replication between domain controllers, or ADConnect (aka DirSync) which syncs AD with M365/AzureAD/EntraID?
If it's ADConnect I would normally use the MSOnline module and Get-MsolCompanyInformation's LastDirSyncTime but this module likely requires Windows. It does seem that MS Graph API does seem have access to sync info, although it may take some work to write up the code to directly query Graph API.
evecaviedes
Neophyte
11 months agoThanks Mike, It seems like a viable solution. I will try it.
Related Content
- 2 years ago