Check Aad Sync Status Scheduled
Check last Azure AD Connect sync status
Description
This runbook checks whether on-premises directory synchronization is enabled and when the last sync happened. It can send an email alert if synchronization is not enabled.
Location
Organization → General → Check Aad Sync Status (Scheduled)
Full Runbook name
rjgit-org_general_check-aad-sync-status_scheduled
Details
Version
1.0.1
Required modules
RealmJoin.RunbookHelper (>= 0.8.9)
Schedulable
yes
Permissions
Application permissions
Type: Microsoft Graph
Directory.Read.All
Reads /organization to evaluate onPremisesSyncEnabled and the last sync timestamp
Mail.Send
Sends the alert email via /users/{sendAlertFrom}/sendMail when the Entra Connect sync is stale
Parameters
sendAlertTo
Email address to send the report to.
Required
false
Default Value
support@glueckkanja.com
Type
String
sendAlertFrom
Sender mailbox used for sending the report.
Required
false
Default Value
runbooks@glueckkanja.com
Type
String
Last updated
Was this helpful?