Azure Active Directory Connect error after upgrading Windows Server 2012R2 to 2019

AV 30 Reputation points

Azure Active Directory Connect error after upgrading Windows Server 2012R2 to 2019

I have upgraded my Windows server from 2012R2 to 2019 and am trying to get the Azure AD Connect V1.6 upgraded to it can sync with Azure AD (Entra ID) again. Can you help? I downloaded the Entra Connect sync tool, from the link in Directory sync status page on Office365 portal. After installing, I launch Azure AD Connect, I must click on Upgrade as it prompts me to, then I get an error: "Upgrade cannot proceed because the Azure Active Directory is missing."

Is anyone able to provide some insight and a way forward to this?

I try to follow the Microsoft documentation for this upgrade and within a few minutes I have 10 or more tabs open with all different information and guides - This is not helpful.

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,167 questions
Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,468 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
17,600 questions
0 comments No comments
{count} votes

Accepted answer
  1. Marilee Turscak-MSFT 29,856 Reputation points Microsoft Employee


    To add to Amit's answer, an upgrade on the same server that has the old version of AAD Connect is not recommended. If you refer to the Swing Migration section of the documentation, it is recommended to set up a new server with Windows 2019 and install the latest version of AAD Connect in staging mode. When the staging server syncs once or twice and everything looks good, then make that one active and set the old server in staging mode.

    If you don't want to go the route of rebuilding the server, you can try the steps in this article to troubleshoot not being able to uninstall the program.

    You can also get hints by collecting the Event Application Logs, and you can validate if the Connector is missing by running:

    Get-ADSyncConnector -Identifier "b891884f-051e-4a83-95af-2544101c9083”

    If the troubleshooting steps do not work, you may to rebuild the server since the Windows registry could be damaged/corrupted.

    Let me know if this helps and if you still run into any issues.

    If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar questions. Otherwise let me know if you run into any issues.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Amit Singh 4,461 Reputation points

    The reason that this occurs is that the current Azure AD Connect configuration is not supported for upgrade. If you want to install a newer version of Azure AD Connect:

    Close the Azure AD Connect wizard.

    Uninstall the existing Azure AD Connect.

    Perform a clean install of the more unique Azure AD Connect.

    2 people found this answer helpful.