A cloud-based identity and access management service for securing user authentication and resource access
Open control.exe -> Programs and uninstall all Azure AD / Entra Software.
Reboot and install the newest AzureADSync.msi.
Worked for me.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Error from Log
[08:41:09.293] [ 1] [INFO ] ServiceControllerProvider: verifying ADSync is in state (Running)
[08:41:09.293] [ 1] [ERROR] Caught an exception while creating the initial page set on the root page.
Exception Data (Raw): System.InvalidOperationException: Service ADSync 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.Framework.Providers.ServiceControllerProvider.IsServiceInState(String serviceName, ServiceControllerStatus desiredStatus)
at Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.DetectInstalledComponents.Execute(String& message, GlobalContext globalWizardContext, Boolean& isPasswordSyncSupported)
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.RootPageViewModel.GetInitialPagesCore()
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.RootPageViewModel.GetInitialPages()
[08:41:16.735] [ 1] [INFO ] Opened log file at path C:\ProgramData\AADConnect\trace-20220518-084105.log
A cloud-based identity and access management service for securing user authentication and resource access
Open control.exe -> Programs and uninstall all Azure AD / Entra Software.
Reboot and install the newest AzureADSync.msi.
Worked for me.
Hello
Thank you for your question and reaching out. I can understand you are having issues related to AADC sync service installation.
It appears that an uninstall may leave some remnants. Using the corresponding package from my log, I had to trace the AADC Sync Service to the install site. I had to look for the package install location in the registry to find the installer. I removed the leftover pieces and the installation folder once I identified the install location (and the kicker was that there was only a single icon file that didn't uninstall and held up the entire thing being left in the registry, preventing the full removal and subsequent reinstall). I then deleted the registry entry for only this installation. Rebooted, and the AADC Installation completed successfully, followed by regular operation.
--If the reply is helpful, please Upvote and Accept as answer--
Hello @PAG_1505 , this can be caused by an incomplete or corrupted AD Connect installation. Please try rebooting and:
Repair the installation:
msiexec /fa <AzureADConnect.msi location> Or:
Uninstalling:
msiexec /uninstall <AzureADConnect.msi location> /quiet /forcerestart Let us know if this answer was helpful to you or if you need additional assistance. If it was helpful, please remember to accept it so that others in the community with similar questions can more easily find a solution.