Skip to content

Instantly share code, notes, and snippets.

@dlundgren
dlundgren / check_aad_sync_status.py
Last active September 25, 2019 09:33
Nagios plugin for checking Azure AD Sync status in Office 365
#!/usr/bin/env python
#
# Checks the Azure AD Connect status in Office 365
#
# The user used to check the Azure AD Connect status needs to be an Administrator of some sort
#
# Setup:
# pip install mechanize
#
# Usage: