Mutex Acquisition Failed – Azure AD Connect Error

While working at a customer site, I was notified that the AAD Connect hasn't synchronized in the last 24 hours. Checking out the portal confirmed that even though password sync was working. 

More...

The error message didn't point to the actual problem. The event viewer on the Azure AD Connect server showed the error "Maintenance or sync cycle not being run because mutex acquisition failed. Will retry in 10 seconds". The event id was 904. 

AAD Connect Mutex Error

The issue turned out to be really simple. There was another admin session on the server with the Azure AD Connect configuration and MIIS client open. He/she may have been checking out a configuration, but failed to close all the tools. 

I closed off the AAD Connect tools and fired a delta sync manually. Sure enough, the sync started working. Lesson learned - don't be confused with the error you get, always check the basics ;-)

Rajith Jose Enchiparambil
 

UC Architect, Blogger, Husband & Dad. I have been in IT for the last 17 years, with interests in Exchange, Office 365 & Azure. I am active on Experts Exchange & TechNet forums and I am a technical author for SearchExchange. Follow me on Twitter, LinkedIn, Facebook or Google+ for the latest updates. For consultancy opportunities, drop me a line.

Click Here to Leave a Comment Below 0 comments