之前安装了 AAD Connect 并从本地 AD 域同步到 Azure AD(Office 365)。发生了灾难性的本地故障,并从头开始重建域。现在尝试重新安装 AAD Connect 并建立从“新”域到 Office 365 租户的同步。已经破坏了 O365 上的先前同步,并等待了 72 多个小时才重试安装。现在,不断收到以下 2 个错误;没有涉及代理,一台服务器直接连接到 ISP 调制解调器,通过第三方脚本验证了特定的 O365 网络连接。任何帮助都非常感谢。
[12:07:08.475] [ 46] [INFO ] 配置 Windows Azure Active Directory 同步:更新连接器 (companyname.onmicrosoft.com - AAD) 的运行配置文件和属性包含列表异常数据 (原始):System.Management.Automation.CmdletInvocationException:值不能为空。参数名称:token ---> Microsoft.IdentityManagement.PowerShell.ObjectModel.SynchronizationConfigurationValidationException:值不能为空。参数名称:Microsoft.DirectoryServices.MetadirectoryServices.UI.WebServices.MMSWebService.ValidateConfigurationParameters(连接器连接器)处的 token,Microsoft.DirectoryServices.MetadirectoryServices.UI.WebServices.MMSWebService.CreateConnector(连接器连接器,布尔验证)处的 token,Microsoft.IdentityManagement.PowerShell.Cmdlet.AddADSyncConnectorCmdlet.ProcessRecord() 处的 --- 内部异常堆栈跟踪结束 --- System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable 输入)处的 System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(运行空间 rs,布尔 performSyncInvoke)处的 System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(运行空间 rsToUse,布尔 isSync)处的System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection
1 input, PSDataCollection
1 输出,PSInvocationSettings 设置) 在 System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput] (PSDataCollection1 input, PSDataCollection
1 输出,PSInvocationSettings 设置) 在 System.Management.Automation.PowerShell.Invoke(IEnumerable 输入,PSInvocationSettings 设置) 在 Microsoft.Online.Deployment.PowerShell.LocalPowerShell.Invoke() 在 Microsoft.Online.Deployment.PowerShell.PowerShellAdapter.TypeDependencies.InvokePowerShell(IPowerShell powerShell) 在 Microsoft.Online.Deployment.PowerShell.PowerShellAdapter.InvokePowerShellCommand(String commandName, InitialSessionState initialSessionState, IDictionary2 commandParameters, Boolean isScript) at Microsoft.Azure.ActiveDirectory.Synchronization.PowerShellConfigAdapter.ConnectorConfigAdapter.AddConnector(Connector connector) at Microsoft.Azure.ActiveDirectory.Synchronization.Config.ConnectorAdapterBase.CreateOrUpdateConnectorCore() at Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ActionExecutor.Execute(Action action, String description) at Microsoft.Azure.ActiveDirectory.Synchronization.Config.ConnectorAdapterBase.CreateOrUpdateConnector(IEnumerable
1 objectClassInclusions, IEnumerable1 attributeNameInclusions, ParameterKeyedCollection connectorGlobalParameters, Boolean createRunProfile) at Microsoft.Online.Deployment.Types.Providers.SyncDataProvider.CreateConnectorWithRetry(ConnectorAdapterBase connectorAdapter, IEnumerable
1 objectClassInclusions, IEnumerable`1 attributeNameInclusions、ParameterKeyedCollection ConnectorGlobalParameters、Boolean createRunProfile)
[12:07:11.789] [ 46] [错误] 创建连接器 companyname.onmicrosoft.com - AAD 失败。这可能是由于复制延迟造成的。5 秒后重试... 异常数据(原始):System.Management.Automation.CmdletInvocationException:值不能为空。参数名称:token ---> Microsoft.IdentityManagement.PowerShell.ObjectModel.SynchronizationConfigurationValidationException:值不能为空。参数名称:Microsoft.DirectoryServices.MetadirectoryServices.UI.WebServices.MMSWebService.ValidateConfigurationParameters(连接器连接器)处的 token,Microsoft.DirectoryServices.MetadirectoryServices.UI.WebServices.MMSWebService.CreateConnector(连接器连接器,布尔验证)处的 token,Microsoft.IdentityManagement.PowerShell.Cmdlet.AddADSyncConnectorCmdlet.ProcessRecord() 处的 --- 内部异常堆栈跟踪结束 --- System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable 输入)处的 System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(运行空间 rs,布尔 performSyncInvoke)处的 System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(运行空间 rsToUse,布尔 isSync)处的System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection
1 input, PSDataCollection
1 输出,PSInvocationSettings 设置) 在 System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput] (PSDataCollection1 input, PSDataCollection
1 输出,PSInvocationSettings 设置) 在 System.Management.Automation.PowerShell.Invoke(IEnumerable 输入,PSInvocationSettings 设置) 在 Microsoft.Online.Deployment.PowerShell.LocalPowerShell.Invoke() 在 Microsoft.Online.Deployment.PowerShell.PowerShellAdapter.TypeDependencies.InvokePowerShell(IPowerShell powerShell) 在 Microsoft.Online.Deployment.PowerShell.PowerShellAdapter.InvokePowerShellCommand(String commandName, InitialSessionState initialSessionState, IDictionary2 commandParameters, Boolean isScript) at Microsoft.Azure.ActiveDirectory.Synchronization.PowerShellConfigAdapter.ConnectorConfigAdapter.AddConnector(Connector connector) at Microsoft.Azure.ActiveDirectory.Synchronization.Config.ConnectorAdapterBase.CreateOrUpdateConnectorCore() at Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ActionExecutor.Execute(Action action, String description) at Microsoft.Azure.ActiveDirectory.Synchronization.Config.ConnectorAdapterBase.CreateOrUpdateConnector(IEnumerable
1 objectClassInclusions, IEnumerable1 attributeNameInclusions, ParameterKeyedCollection connectorGlobalParameters, Boolean createRunProfile) at Microsoft.Online.Deployment.Types.Providers.SyncDataProvider.CreateConnectorWithRetry(ConnectorAdapterBase connectorAdapter, IEnumerable
1 objectClassInclusions, IEnumerable`1 attributeNameInclusions、ParameterKeyedCollection ConnectorGlobalParameters、Boolean createRunProfile)