EntraID Connect Service ADSync was not found on the computer

Couston Michael 10 Reputation points
2026-11-16T09:09:47.0066667+00:00

Entra ID Sync is not running on the server. Uninstalling and re-installing brings this error

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

2 answers

Sort by: Oldest
  1. AI answer

    2026-11-16T09:10:58.01+00:00

    If the AADConnect installation trace reports an inconsistent or stale Azure AD Sync Engine product code, remove that specific MSI registration before running setup again; reinstalling without cleaning the installer state will repeat the “Service ADSync was not found” error.^1^

    Confirm the stale product registration

    1. Start the Microsoft Entra Connect setup wizard and leave its first page open.
    2. Open:
         %ProgramData%\AADConnect\
      
    3. Open the newest installation trace log.
    4. Search for:
      • GetInstalledPackagesByUpgradeCode
      • stale product code
      • needs to be upgraded
      • Service ADSync was not found
    5. Record the ProductCode GUID associated with Azure AD Sync Engine.

    This distinguishes an incomplete uninstall from a service that is installed but merely unable to start. Because ADSync is absent, changing its service account or permissions in services.msc is not applicable yet.

    Remove only the product code identified in the log

    Do not delete Entra Connect registry keys manually. Microsoft states that direct registry editing is unsupported and can cause serious problems.^1^

    1. Open Command Prompt as administrator.
    2. Substitute the exact ProductCode GUID found in the trace:
    SET productcode={YOUR-PRODUCT-CODE-GUID}
    SET /a counter=1
    MSIEXEC /x %productcode% /qn /norestart /l*v "%ProgramData%\AADConnect\AADConnect_Uninstall-ForcedUninstall_%counter%.log" EXECUTE_UNINSTALL="1"
    
    1. Run the MSIEXEC command a second time, as specified in Microsoft’s procedure. If corrupted installer data generates prompts, select Yes.
    2. Restart the server.
    3. Start Microsoft Entra Connect setup again and inspect the newest %ProgramData%\AADConnect\ trace.
    4. Confirm that the inconsistent or stale ProductCode is no longer detected, then complete the installation. The ADSync service should be created during installation.

    If the product code cannot be removed

    Run Microsoft’s Program Install and Uninstall troubleshooter, selecting the Entra/Azure AD synchronization component when prompted. It can repair corrupted registry keys and incomplete uninstall information.^2^

    Afterward:

    1. Restart the server.
    2. Start the Connect wizard.
    3. Recheck the newest trace for the stale ProductCode.
    4. Continue setup only after that entry is gone.

    If it remains, Microsoft’s documented final fallback is reinstalling the Windows operating system because the Windows Installer database may be unrecoverable.^1^ An OS reinstall can remove applications, configuration, and data. Before considering it, escalate to Microsoft Support or an experienced Entra administrator, create and verify a full backup, document the existing Entra Connect configuration, and test the recovery procedure.

    If the trace does not show a stale product code

    The exact cause is not established by the missing-service message alone. Review the latest AADConnect installation trace and Event Viewer → Windows Logs → Application/System for the first installation failure. Event Viewer is the documented next diagnostic location for Entra Connect service failures.^3^

    Do not apply LocalDB cleanup, SQL database deletion, service-account changes, or Group Policy changes unless those logs identify the corresponding failure.


    References

    1. Troubleshoot Microsoft Entra Connect upgrade issues
    2. Fix problems that block programs from being installed or removed
    3. One or more Microsoft Entra Connect services don't start
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. Couston Michael 10 Reputation points
    2026-11-16T12:00:27.0133333+00:00

    Used the downloaded MicrosoftProgram_Install_and_Uninstall.meta.diagcab to remove the old version and then a fresh install of version 2.6.92.0

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.