Failed to install sync service. See the event log for more information.

Here I am trying to install the "Microsoft Azure Active Directory Sync Service", but I get the error message "Unable to install the synchronization service. Please see the event log for more information," so someone can help me do this.

In event logs, the error appears as

"System.Exception: cannot install the synchronization service. See the event log for more information. ---> Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ProcessExecutionFailedException: Exception: Error execution: 1. Details: Sqlcmd: error: native SQL Server 11.0 client: SQL Server network interfaces: the specified LocalDB instance does not exist. [X89C50107]. Sqlcmd: error: SQL Server 11.0 native client: login timed out Sqlcmd: error: Microsoft SQL Server 11.0 native client: when establishing a connection with SQL Server has encountered a network-related or specific instance error. Server not found or unavailable. Verify that the instance name is specified correctly and if SQL Server is configured to allow remote connections. For more information, see SQL Server Books Online .. at Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ProcessAdapter.StartProcessCore (String file_name, arguments String, String workingDirectory, NetworkCredential, Boolean loadUserProfile, Boolean hideWindow, Boolean waitForExit) in Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ProcessAdapter.StartBackgroundProcessAndWaitForExult String, data String, name String, workflow, name String, workflow loadUserProfile) in Microsoft.Azure.ActiveDirectory.Synchronization.Framework.SqlCmdAdapter.ExecuteCommand (argument line cops, NetworkCredential credentials) in Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask. <> c__DisplayClass19.b__17 () in Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask. <> C__DisplayClass19.b__18 () in Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ActionExecutor.Execute (action line description) in Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask.InitializeSqlSharedInstance (String sqlLocalDbInstanceOwnerSid, NetworkCredential sqlLocalD bInstanceOwnerCredential, SetupConfig config) in Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask.InstallCore () in Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ActionExecutor.Execute (action, line description) in Microsoft.Azure.ActiveDirectory.Synchronase.Synchronase.Setchronet. .Install () --- The end of the internal trace of the exception stack is in Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SetupBase.ThrowSetupTaskFailureException (String exceptionFormatString, String taskName, Exception innerException) in Microsoft.Azure.ActiveDirectory .Synchronization.Setup.SetupBase.Install () in Microsoft.Azure.ActiveDirectory.Synchronization.UserInterface.SetupAdapter.TypeDependencies.GenericDirectorySyncSetupInstall (String pathToSetupInderIventEventHenteventhenderyventernderventerhandlerndlerventlerndlerventlerlerlerndlerventlerndlerndlerventlerlerlerndlerventlerndlerndlerventlerndlerndlerndler .InstallOrUpgradePageViewModel.SetupTask (Object se nder, DoWorkEventArgs args) at Microsoft.Azure.ActiveDirectory.Synchronization.UserInterface.UI.Controls.Wizards.ProgressReportingTaskViewModel.ExecuteAction (action, boolean isProgressIndeterter

+5
source share
1 answer

Something went wrong during the installation. The official documentation says:

To install Azure AD Sync, you need an account with local administrator rights on your computer.

Azure AD Sync requires a SQL Server database to store identity data. By default, SQL Express LocalDB (the light version of SQL Server Express) is installed, and the service account for this service is created on the local computer. SQL Server Express has a 10 GB limit that allows you to manage approximately 100,000 objects.

Source: https://msdn.microsoft.com/en-us/library/azure/dn757602.aspx

Note. Azure AD Sync is being replaced by Azure AD Connect. Learn more about Azure AD Connect here and here .

0
source

All Articles