Hi
I am having issues with the Azure AD Connect.
It was installed and syncing OK than last week it stop syncing. It would error when I tired to run the tool. and the service would not start.
After many attempts to fix it it was decided to remove it and then re add it again. I went to remove it and then the server started to max out the CPU.
I managed to get the server to respond my using msconfig and disable the azure sync service. I was then able to manually remove azure with ref to the like below. https://blogs.msdn.microsoft.com/vilath/2015/06/17/azure-ad-sync-unable-to-install-the-synchronization-service/
When trying to run the AzureADConnect installer again it comes up with remote or repair I have therefore run the remove a few times.
Now when I run it it still comes up with the remove or repair, however if I run the repair I get the error below. Any ideas? error log is also below
.
[15:03:05.340] [ 1] [INFO ]
[15:03:05.445] [ 1] [INFO ] ================================================================================
[15:03:05.445] [ 1] [INFO ] Application starting
[15:03:05.445] [ 1] [INFO ] ================================================================================
[15:03:05.445] [ 1] [INFO ] Start Time (Local): Fri, 03 Jun 2016 15:03:05 GMT
[15:03:05.445] [ 1] [INFO ] Start Time (UTC): Fri, 03 Jun 2016 14:03:05 GMT
[15:03:05.447] [ 1] [INFO ] Application Version: 1.1.180.0
[15:03:05.447] [ 1] [INFO ] Application Build Date: 2016-05-07 06:11:06Z
[15:03:05.447] [ 1] [INFO ] Application Build Identifier: AD-IAM-HybridSync master (1096551)
[15:03:06.673] [ 1] [INFO ] machine.config path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config.
[15:03:06.673] [ 1] [INFO ] Default Proxy [ProxyAddress]: <Unspecified>
[15:03:06.673] [ 1] [INFO ] Default Proxy [UseSystemDefault]: Unspecified
[15:03:06.673] [ 1] [INFO ] Default Proxy [BypassOnLocal]: Unspecified
[15:03:06.673] [ 1] [INFO ] Default Proxy [Enabled]: True
[15:03:06.673] [ 1] [INFO ] Default Proxy [AutoDetect]: Unspecified
[15:03:06.688] [ 1] [INFO ] AADConnect changes ALLOWED: Successfully acquired the configuration change mutex.
[15:03:06.704] [ 1] [INFO ] RootPageViewModel.GetInitialPages: Beginning detection for creating initial pages.
[15:03:06.709] [ 1] [INFO ] Checking if machine version is 6.1.7601 or higher
[15:03:06.720] [ 1] [INFO ] The current operating system version is 6.3.9600, the requirement is 6.1.7601.
[15:03:06.720] [ 1] [INFO ] Password Sync supported: 'True'
[15:03:06.727] [ 1] [INFO ] DetectInstalledComponents stage: The installed OS SKU is 7
[15:03:06.732] [ 1] [INFO ] DetectInstalledComponents stage: Checking install context.
[15:03:06.734] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Online Services Sign-In Assistant for IT Professionals
[15:03:06.735] [ 1] [VERB ] Getting list of installed packages by upgrade code
[15:03:06.738] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {03c97135-0e31-4334-9215-63827d4f07d4}: no registered products found.
[15:03:06.739] [ 1] [INFO ] Determining installation action for Microsoft Online Services Sign-In Assistant for IT Professionals (03c97135-0e31-4334-9215-63827d4f07d4)
[15:03:06.739] [ 1] [INFO ] Product Microsoft Online Services Sign-In Assistant for IT Professionals is not installed.
[15:03:06.739] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure Active Directory Module for Windows PowerShell
[15:03:06.739] [ 1] [VERB ] Getting list of installed packages by upgrade code
[15:03:06.741] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {bbf5d0bf-d8ae-4e66-91ab-b7023c1f288c}: verified product code {43cc9c53-a217-4850-b5b2-8c347920e500}.
[15:03:06.741] [ 1] [VERB ] Package=Windows Azure Active Directory Module for Windows PowerShell, Version=1.0.0, ProductCode=43cc9c53-a217-4850-b5b2-8c347920e500, UpgradeCode=bbf5d0bf-d8ae-4e66-91ab-b7023c1f288c
[15:03:06.742] [ 1] [INFO ] Determining installation action for Microsoft Azure Active Directory Module for Windows PowerShell
[15:03:06.796] [ 1] [INFO ] CheckInstallationState: Packaged version (1.1.180.0), Installed version (0.0.0).
[15:03:06.796] [ 1] [INFO ] CheckInstallationState: AAD PowerShell will be extracted (1.1.180.0 > 0.0.0).
[15:03:06.796] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Visual C++ 2013 Redistributable Package
[15:03:06.796] [ 1] [VERB ] Getting list of installed packages by upgrade code
[15:03:06.796] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {20400cf0-de7c-327e-9ae4-f0f38d9085f8}: no registered products found.
[15:03:06.796] [ 1] [INFO ] Determining installation action for Microsoft Visual C++ 2013 Redistributable Package (20400cf0-de7c-327e-9ae4-f0f38d9085f8)
[15:03:06.796] [ 1] [INFO ] Product Microsoft Visual C++ 2013 Redistributable Package is not installed.
[15:03:06.796] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Directory Sync Tool
[15:03:06.797] [ 1] [VERB ] Getting list of installed packages by upgrade code
[15:03:06.797] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}: no registered products found.
[15:03:06.797] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}: no registered products found.
[15:03:06.797] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {545334d7-13cd-4bab-8da1-2775fa8cf7c2}: verified product code {6a32d887-8e8c-4872-8e57-8a81a5eb3a1c}.
[15:03:06.797] [ 1] [VERB ] Package=Microsoft Azure AD Connect synchronization services, Version=1.1.130.0, ProductCode=6a32d887-8e8c-4872-8e57-8a81a5eb3a1c, UpgradeCode=545334d7-13cd-4bab-8da1-2775fa8cf7c2
[15:03:06.802] [ 1] [INFO ] Determining installation action for Microsoft Directory Sync Tool UpgradeCodes {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}, {dc9e604e-37b0-4efc-b429-21721cf49d0d}
[15:03:06.802] [ 1] [INFO ] DirectorySyncComponent: Product Microsoft Directory Sync Tool is not installed.
[15:03:06.802] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Sync Engine
[15:03:06.802] [ 1] [VERB ] Getting list of installed packages by upgrade code
[15:03:06.802] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {545334d7-13cd-4bab-8da1-2775fa8cf7c2}: verified product code {6a32d887-8e8c-4872-8e57-8a81a5eb3a1c}.
[15:03:06.803] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}: no registered products found.
[15:03:06.803] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}: no registered products found.
[15:03:06.803] [ 1] [VERB ] Package=Microsoft Azure AD Connect synchronization services, Version=1.1.130.0, ProductCode=6a32d887-8e8c-4872-8e57-8a81a5eb3a1c, UpgradeCode=545334d7-13cd-4bab-8da1-2775fa8cf7c2
[15:03:06.804] [ 1] [INFO ] Determining installation action for Azure AD Sync Engine (545334d7-13cd-4bab-8da1-2775fa8cf7c2)
[15:03:06.873] [ 1] [VERB ] Check product code installed: {4e67cad2-d71b-4f06-a7ae-bb49c566bb93}
[15:03:06.873] [ 1] [INFO ] GetProductInfoProperty({4e67cad2-d71b-4f06-a7ae-bb49c566bb93}, VersionString): unknown product
[15:03:06.874] [ 1] [INFO ] AzureADSyncEngineComponent: Product Azure AD Sync Engine (version 1.1.130.0) is installed, needs to be upgraded to version 1.1.180.0.
[15:03:07.042] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect Health agent for sync
[15:03:07.042] [ 1] [VERB ] Getting list of installed packages by upgrade code
[15:03:07.042] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {114fb294-8aa6-43db-9e5c-4ede5e32886f}: no registered products found.
[15:03:07.042] [ 1] [INFO ] Determining installation action for Azure AD Connect Health agent for sync (114fb294-8aa6-43db-9e5c-4ede5e32886f)
[15:03:07.042] [ 1] [INFO ] Product Azure AD Connect Health agent for sync is not installed.
[15:03:07.042] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect agent
[15:03:07.042] [ 1] [VERB ] Getting list of installed packages by upgrade code
[15:03:07.042] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {a8b03820-e701-44d7-b65e-6ffbb866a861}: no registered products found.
[15:03:07.042] [ 1] [INFO ] Determining installation action for Azure AD Connect agent (a8b03820-e701-44d7-b65e-6ffbb866a861)
[15:03:07.042] [ 1] [INFO ] Product Azure AD Connect agent is not installed.
[15:03:07.042] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Command Line Utilities
[15:03:07.042] [ 1] [VERB ] Getting list of installed packages by upgrade code
[15:03:07.042] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {52446750-c08e-49ef-8c2e-1e0662791e7b}: no registered products found.
[15:03:07.042] [ 1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Command Line Utilities (52446750-c08e-49ef-8c2e-1e0662791e7b)
[15:03:07.042] [ 1] [INFO ] Product Microsoft SQL Server 2012 Command Line Utilities is not installed.
[15:03:07.042] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Express LocalDB
[15:03:07.042] [ 1] [VERB ] Getting list of installed packages by upgrade code
[15:03:07.042] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {c3593f78-0f11-4d8d-8d82-55460308e261}: no registered products found.
[15:03:07.042] [ 1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Express LocalDB (c3593f78-0f11-4d8d-8d82-55460308e261)
[15:03:07.042] [ 1] [INFO ] Product Microsoft SQL Server 2012 Express LocalDB is not installed.
[15:03:07.042] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Native Client
[15:03:07.042] [ 1] [VERB ] Getting list of installed packages by upgrade code
[15:03:07.042] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {1d2d1fa0-e158-4798-98c6-a296f55414f9}: no registered products found.
[15:03:07.042] [ 1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Native Client (1d2d1fa0-e158-4798-98c6-a296f55414f9)
[15:03:07.042] [ 1] [INFO ] Product Microsoft SQL Server 2012 Native Client is not installed.
[15:03:07.042] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure AD Connect Azure AD Connector
[15:03:07.042] [ 1] [VERB ] Getting list of installed packages by upgrade code
[15:03:07.042] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {fb3feca7-5190-43e7-8d4b-5eec88ed9455}: no registered products found.
[15:03:07.042] [ 1] [INFO ] Determining installation action for Microsoft Azure AD Connect Azure AD Connector (fb3feca7-5190-43e7-8d4b-5eec88ed9455)
[15:03:07.042] [ 1] [INFO ] Product Microsoft Azure AD Connect Azure AD Connector is not installed.
[15:03:07.043] [ 1] [INFO ] Determining installation action for Microsoft Azure AD Connection Tool.
[15:03:07.461] [ 1] [WARN ] Failed to read DisplayName registry key: An error occurred while executing the 'Get-ItemProperty' command. Cannot find path 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MicrosoftAzureADConnectionTool'
because it does not exist.
[15:03:07.481] [ 1] [INFO ] Product Microsoft Azure AD Connection Tool is not installed.
[15:03:07.481] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure Active Directory Connect
[15:03:07.481] [ 1] [VERB ] Getting list of installed packages by upgrade code
[15:03:07.482] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {d61eb959-f2d1-4170-be64-4dc367f451ea}: verified product code {239fa20d-c95c-406b-8b07-5be6c373a4ff}.
[15:03:07.485] [ 1] [VERB ] Package=Microsoft Azure AD Connect, Version=1.1.180.0, ProductCode=239fa20d-c95c-406b-8b07-5be6c373a4ff, UpgradeCode=d61eb959-f2d1-4170-be64-4dc367f451ea
[15:03:07.485] [ 1] [INFO ] Determining installation action for Azure Active Directory Connect (d61eb959-f2d1-4170-be64-4dc367f451ea)
[15:03:07.487] [ 1] [INFO ] Product Azure Active Directory Connect (version 1.1.180.0) is installed.
[15:03:07.487] [ 1] [INFO ] DetectInstalledComponents stage: Sync engine upgrade required.
[15:03:08.120] [ 1] [INFO ] CallExportSyncConfig: launching ExportSyncConfig.exe.
[15:03:08.587] [ 1] [INFO ] ServiceControllerProvider: verifying Microsoft Azure AD Sync is in state (Running)
[15:03:08.587] [ 1] [ERROR] Caught an exception while creating the initial page set on the root page.
Exception Data (Raw): System.InvalidOperationException: Service Microsoft Azure AD Sync was not found on computer '.'. ---> System.ComponentModel.Win32Exception: The specified service does not exist as an installed service
--- End of inner exception stack trace ---
at System.ServiceProcess.ServiceController.GenerateNames()
at System.ServiceProcess.ServiceController.get_ServiceName()
at System.ServiceProcess.ServiceController.GenerateStatus()
at System.ServiceProcess.ServiceController.get_Status()
at Microsoft.Online.Deployment.Types.Providers.ServiceControllerProvider.IsServiceInState(String serviceName, ServiceControllerStatus desiredStatus)
at Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.DetectInstalledComponents.Execute(String& message, GlobalContext existingContext, Boolean& isPasswordSyncSupported)
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.RootPageViewModel.GetInitialPagesCore()
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.RootPageViewModel.GetInitialPages()
[15:06:21.020] [ 1] [INFO ] Opened log file at path C:\Users\Administrator\AppData\Local\AADConnect\trace-20160603-150304.log