Failed install – Azure AD Connect

Today, a colleague reached out to me with a problem that he could not fix. Basically, what happened was that an upgrade for a clients’ Azure AD Sync failed. The Azure AD client had become unusable, thus he decided to remove the entire client and reinstall it.

However, when removing the Azure AD Sync, a component was left behind: The Azure AD Synchronisation Services. So it seems!

In the control panel, you could clearly see the presence of the Sync Service, but when starting the service, it did not do anything.

First thing I tried was to reinstall the Azure AD Sync and see what happens for myself. That way I could see errors and messages the colleague did not see at first.

When installing the Azure AD Client, the following error was displayed: “Service ADSync not found on computer”.


Error in Azure AD Sync

After a good dig, I finally found something that fixed the problem.

During the removal of all the services, something must have gone wrong and must have left some values behind, including registry values. To fix this problem, I had to remove the leftovers in the register.

Go to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products and look trough the SID’s. Find the ones that contains anything with value “Azure AD” in the key “Value”. With anything, I mean anything. The Azure AD Shell, Sync Services and Client.


Registry Values

When those keys are removed, restart the Azure AD Installer and the installer went through. A new Azure AD instance was installed and the sync was happening again.

Print Friendly, PDF & Email

3 comments on “Failed install – Azure AD Connect”

  1. Geof says:

    very good tip it works for me

  2. Djkooo says:

    Thank you very mutch, this help me!!

Leave a Reply

Your email address will not be published. Required fields are marked *