Need email alerts when Sync cycle fails in Azure AD Connect

ShashankSaxena-2458 131 Reputation points

Hello All,

I hope you all are doing good.

I need to get email alerts from Azure AD Connect server when Sync Cycle fails up to one hour. I have researched on the internet and got below article(Solution-2) but somehow the below script is hard to understand, so do we have any simpler way to get it.

Shashank Saxena

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,683 questions
{count} votes