在这里,我尝试安装“Microsoft Azure Active Directory 同步服务”,但它显示一条错误,指出“无法安装同步服务。请参阅事件日志以获取更多详细信息”,因此任何人都可以帮助我完成这件事。
在事件日志中,错误显示为
“System.Exception:无法安装同步服务。请参阅事件日志以了解其他详细信息。 ---> Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ProcessExecutionFailedException:异常:执行失败,错误代码:1。详细信息: Sqlcmd: 错误: Microsoft SQL Server Native Client 11.0 : SQL Server 网络接口(interface): 指定的 LocalDB 实例不存在。[x89C50107]. .Sqlcmd: 错误: Microsoft SQL Server Native Client 11.0 : 登录超时已过期。 Sqlcmd: 错误: Microsoft SQL Server Native Client 11.0:建立与 SQL Server 的连接时发生网络相关或特定于实例的错误。找不到或无法访问服务器。请检查实例名称是否正确以及 SQL Server 是否配置为允许远程连接。有关详细信息,请参阅 Microsoft.Azure.Azure.ActiveDirectory.Synchronization.Framework.ProcessAdapter.StartProcessCore(String fileName, String argument, StringworkingDirectory, NetworkCredential credential, Boolean loadUserProfile, Boolean hideWindow, Boolean waitForExit) 中的 SQL Server 联机丛书。 .ActiveDirectory.Synchronization.Framework.ProcessAdapter.StartBackgroundProcessAndWaitForExit(字符串文件名,字符串参数,字符串工作目录,NetworkCredential凭据, bool loadUserProfile)在Microsoft.Azure.ActiveDirectory.Synchronization.Framework.SqlCmdAdapter.ExecuteCommand(字符串参数,NetworkCredential凭据)在Microsoft。 Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask。<>c__DisplayClass19.b__17(),位于 Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask。<>c__DisplayClass19.b__18(),位于 Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ActionExecutor。在 Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask.InitializeSqlSharedInstance(String sqlLocalDbInstanceOwnerSid、NetworkCredential sqlLocalDbInstanceOwnerCredential、SetupConfig config)在 Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask.InstallCore() 处执行(操作操作、字符串描述) .Azure.ActiveDirectory.Synchronization.Framework.ActionExecutor.Execute(Action action, String description) at Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SetupBase.Install() --- 内部异常堆栈跟踪结束 --- 在 Microsoft。 Azure.ActiveDirectory.Synchronization.Setup.SetupBase.ThrowSetupTaskFailureException(字符串ExceptionFormatString,字符串taskName,异常innerException)在Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SetupBase.Install()在Microsoft.Azure.ActiveDirectory.Synchronization.UserInterface.SetupAdapter。 Microsoft.Azure.ActiveDirectory.Synchronization.UserInterface.UI.WizardPages.InstallOrUpgradePageViewModel.SetupTask(对象发送者,DoWorkEventArgs args)位于 Microsoft.Azure.ActiveDirectory.Synchronization.UserInterface.UI 的 TypeDependency.GenericDirectorySyncSetupInstall(字符串 pathToSetupFiles、字符串安装路径、ProgressChangedEventHandler ProgressChangedEventHandler) .Controls.Wizards.ProgressReportingTaskViewModel.ExecuteAction(Action操作, bool 值isProgressInminated)”
最佳答案
安装过程中出现问题。官方文档说:
You need an account with local administrator privileges on your computer to install Azure AD Sync.
Azure AD Sync requires a SQL Server database to store identity data. By default a SQL Express LocalDB (a light version of SQL Server Express) is installed and the service account for the service is created on the local machine. SQL Server Express has a 10GB size limit that enables you to manage approximately 100.000 objects.
来源:https://msdn.microsoft.com/en-us/library/azure/dn757602.aspx
注意:Azure AD Sync 已替换为 Azure AD Connect。您可以阅读有关 Azure AD Connect here 的更多信息。和 here .
关于azure - 无法安装同步服务。请参阅事件日志了解更多详细信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31159130/