locked
Error Installing Azure AD Connect - Service ADSync not found RRS feed

  • Question

  • Hi, 

    when I try to install Azure AD Connect I get an error.

    Any Ideas? Thanks

    Bye

    Daniel

    Logfile:

    -----

    [20:34:13.313] [  1] [INFO ] 
    [20:34:13.314] [  1] [INFO ] ================================================================================
    [20:34:13.314] [  1] [INFO ] Application starting
    [20:34:13.314] [  1] [INFO ] ================================================================================
    [20:34:13.314] [  1] [INFO ] Start Time (Local): Wed, 11 Dec 2019 20:34:13 GMT
    [20:34:13.314] [  1] [INFO ] Start Time (UTC): Wed, 11 Dec 2019 19:34:13 GMT
    [20:34:13.315] [  1] [INFO ] Application Version: 1.4.32.0
    [20:34:13.315] [  1] [INFO ] Application Build Date: 2019-11-07 23:47:52Z
    [20:34:14.424] [  1] [INFO ] Telemetry session identifier: {d8adddd3-7cea-4cb1-89a8-90bc1271c162}
    [20:34:14.424] [  1] [INFO ] Telemetry device identifier: r0/Ewl+b6+iM/FSAov77XW4ZzNIFfrqOphFD6WzOHQA=
    [20:34:14.424] [  1] [INFO ] Application Build Identifier: AD-IAM-HybridSync master (56cd35969)
    [20:34:14.533] [  1] [INFO ] machine.config path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config.
    [20:34:14.534] [  1] [INFO ] Default Proxy [ProxyAddress]: <Unspecified>
    [20:34:14.534] [  1] [INFO ] Default Proxy [UseSystemDefault]: Unspecified
    [20:34:14.534] [  1] [INFO ] Default Proxy [BypassOnLocal]: Unspecified
    [20:34:14.534] [  1] [INFO ] Default Proxy [Enabled]: True
    [20:34:14.534] [  1] [INFO ] Default Proxy [AutoDetect]: Unspecified
    [20:34:14.534] [  1] [INFO ] Default Proxy [UseDefaultCredentials]: False
    [20:34:14.564] [  1] [VERB ] Scheduler wizard mutex wait timeout: 00:00:05
    [20:34:14.564] [  1] [INFO ] AADConnect changes ALLOWED: Successfully acquired the configuration change mutex.
    [20:34:14.607] [  1] [INFO ] RootPageViewModel.GetInitialPages: Beginning detection for creating initial pages.
    [20:34:14.615] [  1] [INFO ] Checking if machine version is 6.1.7601 or higher
    [20:34:14.665] [  1] [INFO ] The current operating system version is 10.0.17763, the requirement is 6.1.7601.
    [20:34:14.665] [  1] [INFO ] Password Hash Sync supported: 'True'
    [20:34:14.706] [  1] [INFO ] DetectInstalledComponents stage: The installed OS SKU is 8
    [20:34:14.712] [  1] [INFO ] DetectInstalledComponents stage: Checking install context.
    [20:34:14.715] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Visual C++ 2013 Redistributable Package
    [20:34:14.717] [  1] [VERB ] Getting list of installed packages by upgrade code
    [20:34:14.723] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {20400cf0-de7c-327e-9ae4-f0f38d9085f8}: verified product code {cb0836ec-b072-368d-82b2-d3470bf95707}.
    [20:34:14.725] [  1] [VERB ] Package=Microsoft Visual C++ 2013 x64 Minimum Runtime - 12.0.40660, Version=12.0.40660, ProductCode=cb0836ec-b072-368d-82b2-d3470bf95707, UpgradeCode=20400cf0-de7c-327e-9ae4-f0f38d9085f8
    [20:34:14.727] [  1] [INFO ] Determining installation action for Microsoft Visual C++ 2013 Redistributable Package (20400cf0-de7c-327e-9ae4-f0f38d9085f8)
    [20:34:14.727] [  1] [INFO ] Product Microsoft Visual C++ 2013 Redistributable Package (version 12.0.40660) is installed.
    [20:34:14.727] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Directory Sync Tool
    [20:34:14.728] [  1] [VERB ] Getting list of installed packages by upgrade code
    [20:34:14.728] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}: no registered products found.
    [20:34:14.728] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}: no registered products found.
    [20:34:14.728] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {545334d7-13cd-4bab-8da1-2775fa8cf7c2}: verified product code {526b2e61-721f-4a22-9034-474ed46b1727}.
    [20:34:14.729] [  1] [VERB ] Package=Microsoft Azure AD Connect synchronization services, Version=1.1.882.0, ProductCode=526b2e61-721f-4a22-9034-474ed46b1727, UpgradeCode=545334d7-13cd-4bab-8da1-2775fa8cf7c2
    [20:34:14.736] [  1] [INFO ] Determining installation action for Microsoft Directory Sync Tool UpgradeCodes {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}, {dc9e604e-37b0-4efc-b429-21721cf49d0d}
    [20:34:14.736] [  1] [INFO ] DirectorySyncComponent: Product Microsoft Directory Sync Tool is not installed.
    [20:34:14.736] [  1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Sync Engine
    [20:34:14.736] [  1] [VERB ] Getting list of installed packages by upgrade code
    [20:34:14.737] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {545334d7-13cd-4bab-8da1-2775fa8cf7c2}: verified product code {526b2e61-721f-4a22-9034-474ed46b1727}.
    [20:34:14.737] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}: no registered products found.
    [20:34:14.737] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}: no registered products found.
    [20:34:14.737] [  1] [VERB ] Package=Microsoft Azure AD Connect synchronization services, Version=1.1.882.0, ProductCode=526b2e61-721f-4a22-9034-474ed46b1727, UpgradeCode=545334d7-13cd-4bab-8da1-2775fa8cf7c2
    [20:34:14.740] [  1] [INFO ] Determining installation action for Azure AD Sync Engine (545334d7-13cd-4bab-8da1-2775fa8cf7c2)
    [20:34:14.933] [  1] [VERB ] Check product code installed: {4e67cad2-d71b-4f06-a7ae-bb49c566bb93}
    [20:34:14.933] [  1] [INFO ] GetProductInfoProperty({4e67cad2-d71b-4f06-a7ae-bb49c566bb93}, VersionString): unknown product
    [20:34:14.934] [  1] [INFO ] AzureADSyncEngineComponent: Product Azure AD Sync Engine (version 1.1.882.0) is installed, needs to be upgraded to version 1.4.32.0.
    [20:34:14.934] [  1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect Synchronization Agent
    [20:34:14.934] [  1] [VERB ] Getting list of installed packages by upgrade code
    [20:34:14.934] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {3cd653e3-5195-4ff2-9d6c-db3dacc82c25}: no registered products found.
    [20:34:14.934] [  1] [INFO ] Determining installation action for Azure AD Connect Synchronization Agent (3cd653e3-5195-4ff2-9d6c-db3dacc82c25)
    [20:34:14.934] [  1] [INFO ] Product Azure AD Connect Synchronization Agent is not installed.
    [20:34:14.934] [  1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect Health agent for sync
    [20:34:14.934] [  1] [VERB ] Getting list of installed packages by upgrade code
    [20:34:14.934] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {114fb294-8aa6-43db-9e5c-4ede5e32886f}: no registered products found.
    [20:34:14.934] [  1] [INFO ] Determining installation action for Azure AD Connect Health agent for sync (114fb294-8aa6-43db-9e5c-4ede5e32886f)
    [20:34:14.934] [  1] [INFO ] Product Azure AD Connect Health agent for sync is not installed.
    [20:34:14.934] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure AD Connect Authentication Agent
    [20:34:14.934] [  1] [VERB ] Getting list of installed packages by upgrade code
    [20:34:14.934] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {0c06f9df-c56b-42c4-a41b-f5f64d01a35c}: no registered products found.
    [20:34:14.934] [  1] [INFO ] Determining installation action for Microsoft Azure AD Connect Authentication Agent (0c06f9df-c56b-42c4-a41b-f5f64d01a35c)
    [20:34:14.934] [  1] [INFO ] Product Microsoft Azure AD Connect Authentication Agent is not installed.
    [20:34:14.934] [  1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect Administration Agent
    [20:34:14.934] [  1] [VERB ] Getting list of installed packages by upgrade code
    [20:34:14.934] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {886051ec-1165-4df8-a492-19d1e0ff57ee}: no registered products found.
    [20:34:14.934] [  1] [INFO ] Determining installation action for Azure AD Connect Administration Agent (886051ec-1165-4df8-a492-19d1e0ff57ee)
    [20:34:14.934] [  1] [INFO ] Product Azure AD Connect Administration Agent is not installed.
    [20:34:14.934] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Command Line Utilities
    [20:34:14.934] [  1] [VERB ] Getting list of installed packages by upgrade code
    [20:34:14.934] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {52446750-c08e-49ef-8c2e-1e0662791e7b}: no registered products found.
    [20:34:14.934] [  1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Command Line Utilities (52446750-c08e-49ef-8c2e-1e0662791e7b)
    [20:34:14.934] [  1] [INFO ] Product Microsoft SQL Server 2012 Command Line Utilities is not installed.
    [20:34:14.934] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Express LocalDB
    [20:34:14.934] [  1] [VERB ] Getting list of installed packages by upgrade code
    [20:34:14.934] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {c3593f78-0f11-4d8d-8d82-55460308e261}: no registered products found.
    [20:34:14.934] [  1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Express LocalDB (c3593f78-0f11-4d8d-8d82-55460308e261)
    [20:34:14.934] [  1] [INFO ] Product Microsoft SQL Server 2012 Express LocalDB is not installed.
    [20:34:14.934] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Native Client
    [20:34:14.934] [  1] [VERB ] Getting list of installed packages by upgrade code
    [20:34:14.934] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {1d2d1fa0-e158-4798-98c6-a296f55414f9}: verified product code {f2a516e0-0769-452c-97f6-d8bfd33681ce}.
    [20:34:14.935] [  1] [VERB ] Package=Microsoft SQL Server 2012 Native Client , Version=11.4.7001.0, ProductCode=f2a516e0-0769-452c-97f6-d8bfd33681ce, UpgradeCode=1d2d1fa0-e158-4798-98c6-a296f55414f9
    [20:34:14.935] [  1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Native Client (1d2d1fa0-e158-4798-98c6-a296f55414f9)
    [20:34:14.935] [  1] [INFO ] Product Microsoft SQL Server 2012 Native Client (version 11.4.7001.0) is installed.
    [20:34:14.935] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure AD Connect Authentication Agent
    [20:34:14.935] [  1] [VERB ] Getting list of installed packages by upgrade code
    [20:34:14.935] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {fb3feca7-5190-43e7-8d4b-5eec88ed9455}: no registered products found.
    [20:34:14.935] [  1] [INFO ] Determining installation action for Microsoft Azure AD Connect Authentication Agent (fb3feca7-5190-43e7-8d4b-5eec88ed9455)
    [20:34:14.935] [  1] [INFO ] Product Microsoft Azure AD Connect Authentication Agent is not installed.
    [20:34:14.936] [  1] [INFO ] Determining installation action for Microsoft Azure AD Connection Tool.
    [20:34:14.968] [  1] [WARN ] Failed to read DisplayName registry key: Fehler beim Ausführen des Befehls "Get-ItemProperty". Der Pfad "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MicrosoftAzureADConnectionTool" kann nicht gefunden werden, da er nicht vorhanden ist.
    [20:34:14.968] [  1] [INFO ] Product Microsoft Azure AD Connection Tool is not installed.
    [20:34:14.968] [  1] [INFO ] Performing direct lookup of upgrade codes for: Azure Active Directory Connect
    [20:34:14.968] [  1] [VERB ] Getting list of installed packages by upgrade code
    [20:34:14.968] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {d61eb959-f2d1-4170-be64-4dc367f451ea}: verified product code {afc87a10-261b-47bc-935e-744cc0e40312}.
    [20:34:14.969] [  1] [VERB ] Package=Microsoft Azure AD Connect, Version=1.4.32.0, ProductCode=afc87a10-261b-47bc-935e-744cc0e40312, UpgradeCode=d61eb959-f2d1-4170-be64-4dc367f451ea
    [20:34:14.969] [  1] [INFO ] Determining installation action for Azure Active Directory Connect (d61eb959-f2d1-4170-be64-4dc367f451ea)
    [20:34:14.969] [  1] [INFO ] Product Azure Active Directory Connect (version 1.4.32.0) is installed.
    [20:34:15.316] [  1] [INFO ] ServiceControllerProvider: GetServiceStartMode(seclogon) is 'Manual'.
    [20:34:15.316] [  1] [INFO ] ServiceControllerProvider: verifying EventLog is in state (Running)
    [20:34:15.317] [  1] [INFO ] ServiceControllerProvider: current service status: Running
    [20:34:15.317] [  1] [INFO ] DetectInstalledComponents stage: Sync engine upgrade required.
    [20:34:15.318] [  1] [WARN ] MicrosoftOnlinePersistedStateProvider.Backup: unable to locate the persisted state file for backup.  Path: C:\ProgramData\AADConnect\PersistedState.xml
    [20:34:15.335] [  1] [INFO ] CallExportSyncConfig: launching ExportSyncConfig.exe.
    [20:34:16.069] [  1] [INFO ] ServiceControllerProvider: verifying ADSync is in state (Running)
    [20:34:16.074] [  1] [ERROR] Caught an exception while creating the initial page set on the root page.
    Exception Data (Raw): System.InvalidOperationException: Der Dienst ADSync wurde nicht auf dem Computer . gefunden. ---> System.ComponentModel.Win32Exception: Der angegebene Dienst ist kein installierter Dienst
       --- Ende der internen Ausnahmestapelüberwachung ---
       bei System.ServiceProcess.ServiceController.GenerateNames()
       bei System.ServiceProcess.ServiceController.get_ServiceName()
       bei System.ServiceProcess.ServiceController.GenerateStatus()
       bei System.ServiceProcess.ServiceController.get_Status()
       bei Microsoft.Online.Deployment.Framework.Providers.ServiceControllerProvider.IsServiceInState(String serviceName, ServiceControllerStatus desiredStatus)
       bei Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.DetectInstalledComponents.Execute(String& message, GlobalContext globalWizardContext, Boolean& isPasswordSyncSupported)
       bei Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.RootPageViewModel.GetInitialPagesCore()
       bei Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.RootPageViewModel.GetInitialPages()
    [20:34:18.391] [  1] [INFO ] Opened log file at path C:\ProgramData\AADConnect\trace-20191211-203413.log
    [20:37:18.294] [  1] [INFO ] Opened log file at path C:\ProgramData\AADConnect\trace-20191211-203413.log

    Wednesday, December 11, 2019 7:37 PM

All replies

  • Hello Daniel, 

    It seems you are either trying to upgrade or install Azure AD connect . There are a few reasons due to which this can happen. Please check if you have the local administrator rights on the machine where you are running the setup. This can happen due to that . Mostly we have seen this happening due to stale registry entries from a previous install.  The above seems to be a condition where the Azure AD connect was installed on the server earlier and was removed without complete registry cleanup . Cleanup of registry is known to fix this however Microsoft do not support editing the registry as it can cause OS level issues sometimes which may render the server unusable.

    • Make sure the Azure AD connect is not installed on your machine already. If you find some files from a failed install , try to see if you can find "uninstall Azure AD connect" form "Add or remove programs" . If you don't find it then I think you need to use a new server to install Azure AD connect. 
    • You can try to go through the following registry Key on this machine and try to find all entries related to "Microsoft Azure AD connect" and deleting all of them.                     HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\

    Should you still see this issue even after cleanup and a reboot please send us an email on azcommunity[at]microsoft[dot]com and we will try to help you with alternate support options.  However I am fairly sure the above must work for you . In case the information in the post works , please do mark it as answer. If you see this post past tomorrow , and would like to continue the discussion , please use https://docs.microsoft.com/answers to post a related query and we will be more than happy to help you with the same. 

    Thank you. 


    Please take a moment to "Mark as Answer" and/or "Vote as Helpful" wherever applicable. Thanks!!

    Thursday, December 12, 2019 4:34 PM
    Owner