Hi,
I had Dirsync installed on a 2012 R2 server and ran the AD connect wizard to upgrade from dirsync to AD connect, the wizard successfully removed dirsync but it failed when installing AD connect with the error Unable to Install the Synchronization Service.
At this point i had to uninstall the AD connect program that was half installed and then try to install it again as a new install as dirsync is gone it wont pick up any setting from that.
AD connect still fails with the same error and when looking in the log it seems as though the ADSync service cannot be started see part of the log below.
What can i do to resolve this?
[09:26:56.605] [ 26] [INFO ] ServiceControllerProvider:CreateService - serviceName:ADSync, username:NT SERVICE\ADSync, assemblyPath:C:\Program Files\Microsoft Azure Active Directory Connect\ADSyncBootstrap.exe
[09:26:56.637] [ 26] [INFO ] ServiceControllerProvider: Processing StartService request for: ADSync
[09:26:56.637] [ 26] [VERB ] ServiceControllerProvider:
Initial service status: Stopped
[09:26:56.637] [ 26] [VERB ] ServiceControllerProvider:
Starting service and waiting for completion.
[09:27:16.837] [ 26] [WARN ] ServiceControllerProvider: StartService failed to start service (ADSync), attempt (1).
Exception Data (Raw): System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
at Microsoft.Online.Deployment.Framework.Providers.ServiceControllerProvider.StartService(String serviceName, TimeSpan timeout, Boolean verifyStart, String[] args)
[09:27:16.839] [ 26] [VERB ] ServiceControllerProvider:
Initial service status: Stopped
[09:27:16.839] [ 26] [VERB ] ServiceControllerProvider:
Starting service and waiting for completion.
[09:27:37.013] [ 26] [WARN ] ServiceControllerProvider: StartService failed to start service (ADSync), attempt (2).
Exception Data (Raw): System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
at Microsoft.Online.Deployment.Framework.Providers.ServiceControllerProvider.StartService(String serviceName, TimeSpan timeout, Boolean verifyStart, String[] args)
[09:27:37.013] [ 26] [VERB ] ServiceControllerProvider:
Initial service status: Stopped
[09:27:37.013] [ 26] [VERB ] ServiceControllerProvider:
Starting service and waiting for completion.
[09:27:57.187] [ 26] [WARN ] ServiceControllerProvider: StartService failed to start service (ADSync), attempt (3).
Exception Data (Raw): System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
at Microsoft.Online.Deployment.Framework.Providers.ServiceControllerProvider.StartService(String serviceName, TimeSpan timeout, Boolean verifyStart, String[] args)
[09:27:57.187] [ 26] [ERROR] ServiceControllerProvider: StartService unable to start service (ADSync).
[09:27:59.525] [ 26] [ERROR] PerformConfigurationPageViewModel: Caught exception while installing synchronization service.