Hello Torben,
Thank you for your message.
I'm afraid that it's not possible to monitor AD Connect in a native way with the Microsoft 365 Service Status sensors. Nevertheless, you could write a script which will execute a request on the Graph API of Microsoft to get that information and execute it with the EXE/Script or EXE/Script Advanced sensor.
Note that depending on the sensor you use, the response returned by the script must follow the format corresponding to that sensor. You will find it in this manual: https://www.paessler.com/manuals/prtg/custom_sensors
Here are also some documentations I found regarding the API and AD Connect:
https://docs.microsoft.com/en-us/graph/api/resources/synchronization-overview?view=graph-rest-beta#synchronization-schema
https://docs.microsoft.com/en-us/graph/api/synchronization-synchronizationjob-get?view=graph-rest-beta&tabs=http
If you have questions, do not hesitate.
Regards.
Add comment