问题描述
在新的Windows Server 2012 R2上安装Microsoft Azure Active Directory Connect时,在提供Azure AD登录步骤之后,出现以下错误消息...
While installing Microsoft Azure Active Directory Connect on a fresh Windows Server 2012 R2 I got the following error message after the step where I provided my Azure AD sign-in...
Azure AD插入页面上发生了错误,阻止了Azure AD Connect表单继续运行.为了保护您现有的数据,必须关闭向导.
An error has occurred on the Azure AD sing-in page, preventing Azure AD Connect form continuing. To protect your existing data, the wizard must be closed.
ArgumentOutOfRangeException
ArgumentOutOfRangeException
索引超出范围.必须为非负数并且小于集合的大小.参数名称:索引
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: Index
下面是生成的日志文件(敏感信息已被屏蔽)和错误片段...
Below is resulting log file (sensitive info has been masked) and snip of error...
[16:57:19.554] [ 1] [INFO]
[16:57:19.554] [ 1] [INFO] ============================================== ==================================
[16:57:19.554] [ 1] [INFO]应用程序启动
[16:57:19.554] [ 1] [INFO] ============================================== ==================================
[16:57:19.554] [ 1] [INFO]开始时间(本地):2018年8月2日,星期四,格林尼治标准时间
[16:57:19.554] [ 1] [INFO]开始时间(UTC):2018年8月2日,星期四,格林尼治标准时间
[16:57:19.554] [ 1] [INFO]应用程序版本:1.1.819.0
[16:57:19.554] [ 1] [INFO]应用程序生成日期:2018-05-02 16:19:11Z
[16:57:21.508] [ 1] [INFO]遥测会话标识符:{87aac783-0d31-405e-8fb3-980853d1e357}
[16:57:21.508] [ 1] [INFO]遥测设备标识符:tYcDXOeGiQp1i + ltnDH/LGnxFqJEIFNkt0BlPrbzcDQ =
[16:57:21.508] [ 1] [INFO]应用程序构建标识符:AD-IAM-HybridSync主站(38ad783d9)
[16:57:21.633] [ 1] [INFO] machine.config路径:C:\ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ Config \ machine.config.
[16:57:21.633] [ 1] [INFO]默认代理[ProxyAddress]:<未指定>
[16:57:21.648] [ 1] [INFO]默认代理[UseSystemDefault]:未指定
[16:57:21.648] [ 1] [INFO]默认代理[BypassOnLocal]:未指定
[16:57:21.648] [ 1] [INFO]默认代理[Enabled]:True
[16:57:21.648] [ 1] [INFO]默认代理[AutoDetect]:未指定
[16:57:21.695] [ 1] [VERB] Scheduler向导互斥锁等待超时:00:00:05
[16:57:21.695] [ 1] [INFO]允许AADConnect更改:成功获取配置更改互斥锁.
[16:57:21.742] [ 1] [INFO] RootPageViewModel.GetInitialPages:开始检测创建初始页面.
[16:57:21.758] [ 1] [INFO]检查机器版本是否为6.1.7601或更高版本
[16:57:21.758] [ 1] [INFO]当前操作系统版本为6.3.9600,要求为6.1.7601.
[16:57:21.758] [ 1] [INFO]支持密码哈希同步:"True"
[16:57:21.773] [ 1] [INFO] DetectInstalledComponents阶段:已安装的OS SKU为7
[16:57:22.101] [ 1] [INFO] ServiceControllerProvider:GetServiceStartMode(seclogon)为手动".
[16:57:22.117] [ 1] [INFO] DetectInstalledComponents阶段:检查安装上下文.
[16:57:22.133] [ 1] [INFO]为以下内容执行升级代码的直接查找:Windows PowerShell的Microsoft Azure Active Directory模块
[16:57:22.242] [ 1] [VERB]通过升级代码获取已安装软件包的列表
[16:57:22.258] [ 1] [INFO] GetInstalledPackagesByUpgradeCode {bbf5d0bf-d8ae-4e66-91ab-b7023c1f288c}:未找到注册产品.
[16:57:22.258] [ 1] [INFO]确定适用于Windows PowerShell的Microsoft Azure Active Directory模块的安装操作
[16:57:23.351] [ 1] [INFO] CheckInstallationState:打包版本(1.1.819.0),已安装版本(0.0.0).
[16:57:23.351] [ 1] [INFO] CheckInstallationState:将提取AAD PowerShell(1.1.819.0> 0.0.0).
[16:57:23.351] [ 1] [INFO]为以下内容执行升级代码的直接查找:Microsoft Visual C ++ 2013可再发行组件包
[16:57:23.351] [ 1] [VERB]通过升级代码获取已安装软件包的列表
[16:57:23.351] [ 1] [INFO] GetInstalledPackagesByUpgradeCode {20400cf0-de7c-327e-9ae4-f0f38d9085f8}:未找到注册产品.
[16:57:23.351] [ 1] [INFO]确定Microsoft Visual C ++ 2013可再发行组件包(20400cf0-de7c-327e-9ae4-f0f38d9085f8)的安装操作
[16:57:23.351] [ 1] [INFO]产品未安装Microsoft Visual C ++ 2013可再发行组件包.
[16:57:23.351] [ 1] [INFO]为以下内容执行升级代码的直接查找:Microsoft Directory Sync Tool
[16:57:23.351] [ 1] [VERB]通过升级代码获取已安装软件包的列表
[16:57:23.351] [ 1] [INFO] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}:未找到注册产品.
[16:57:23.351] [ 1] [INFO] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}:未找到注册产品.
[16:57:23.351] [ 1] [INFO] GetInstalledPackagesByUpgradeCode {545334d7-13cd-4bab-8da1-2775fa8cf7c2}:未找到注册产品.
[16:57:23.351] [ 1] [INFO]确定Microsoft Directory Sync Tool UpgradeCodes {bef7e7d9-2ac2-44b9-abfc-3335222b92a7},{dc9e604e-37b0-4efc-b429-21721cf49d0d}的安装操作
[16:57:23.351] [ 1] [INFO] DirectorySyncComponent:未安装产品Microsoft Directory Sync Tool.
[16:57:23.351] [ 1] [INFO]为以下内容执行升级代码的直接查找:Azure AD Sync Engine
[16:57:23.351] [ 1] [VERB]通过升级代码获取已安装软件包的列表
[16:57:23.351] [ 1] [INFO] GetInstalledPackagesByUpgradeCode {545334d7-13cd-4bab-8da1-2775fa8cf7c2}:未找到注册产品.
[16:57:23.351] [ 1] [INFO] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}:未找到注册产品.
[16:57:23.351] [ 1] [INFO] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}:未找到注册产品.
[16:57:23.351] [ 1] [INFO]确定Azure AD Sync Engine的安装操作(545334d7-13cd-4bab-8da1-2775fa8cf7c2)
[16:57:23.461] [ 1] [INFO]未安装产品Azure AD Sync Engine.
[16:57:23.461] [ 1] [INFO]为以下内容执行升级代码的直接查找:Azure AD Connect同步代理
[16:57:23.461] [ 1] [VERB]通过升级代码获取已安装软件包的列表
[16:57:23.461] [ 1] [INFO] GetInstalledPackagesByUpgradeCode {3cd653e3-5195-4ff2-9d6c-db3dacc82c25}:未找到注册产品.
[16:57:23.461] [ 1] [INFO]确定Azure AD Connect同步代理(3cd653e3-5195-4ff2-9d6c-db3dacc82c25)的安装操作
[16:57:23.461] [ 1] [INFO]未安装产品Azure AD Connect同步代理.
[16:57:23.461] [ 1] [INFO]为以下内容执行升级代码的直接查找:用于同步的Azure AD Connect Health代理
[16:57:23.461] [ 1] [VERB]通过升级代码获取已安装软件包的列表
[16:57:23.461] [ 1] [INFO] GetInstalledPackagesByUpgradeCode {114fb294-8aa6-43db-9e5c-4ede5e32886f}:未找到注册产品.
[16:57:23.461] [ 1] [INFO]确定用于同步的Azure AD Connect运行状况代理的安装操作(114fb294-8aa6-43db-9e5c-4ede5e32886f)
[16:57:23.461] [ 1] [INFO]未安装用于同步的产品Azure AD Connect运行状况代理.
[16:57:23.461] [ 1] [INFO]为以下内容执行升级代码的直接查找:Microsoft Azure AD Connect身份验证代理
[16:57:23.461] [ 1] [VERB]通过升级代码获取已安装软件包的列表
[16:57:23.461] [ 1] [INFO] GetInstalledPackagesByUpgradeCode {0c06f9df-c56b-42c4-a41b-f5f64d01a35c}:未找到注册产品.
[16:57:23.461] [ 1] [INFO]确定Microsoft Azure AD Connect身份验证代理(0c06f9df-c56b-42c4-a41b-f5f64d01a35c)的安装操作
[16:57:23.461] [ 1] [INFO]产品未安装Microsoft Azure AD Connect身份验证代理.
[16:57:23.461] [ 1] [INFO]为以下内容执行升级代码的直接查找:Microsoft SQL Server 2012命令行实用工具
[16:57:23.461] [ 1] [VERB]通过升级代码获取已安装软件包的列表
[16:57:23.461] [ 1] [INFO] GetInstalledPackagesByUpgradeCode {52446750-c08e-49ef-8c2e-1e0662791e7b}:未找到注册产品.
[16:57:23.461] [ 1] [INFO]确定Microsoft SQL Server 2012命令行实用工具的安装操作(52446750-c08e-49ef-8c2e-1e0662791e7b)
[16:57:23.461] [ 1] [INFO]产品未安装Microsoft SQL Server 2012命令行实用工具.
[16:57:23.461] [ 1] [INFO]为以下内容执行升级代码的直接查找:Microsoft SQL Server 2012 Express LocalDB
[16:57:23.461] [ 1] [VERB]通过升级代码获取已安装软件包的列表
[16:57:23.461] [ 1] [INFO] GetInstalledPackagesByUpgradeCode {c3593f78-0f11-4d8d-8d82-55460308e261}:未找到注册产品.
[16:57:23.461] [ 1] [INFO]确定Microsoft SQL Server 2012 Express LocalDB的安装操作(c3593f78-0f11-4d8d-8d82-55460308e261)
[16:57:23.461] [ 1] [INFO]产品未安装Microsoft SQL Server 2012 Express LocalDB.
[16:57:23.461] [ 1] [INFO]为以下项目执行升级代码的直接查找:Microsoft SQL Server 2012本机客户端
[16:57:23.461] [ 1] [VERB]通过升级代码获取已安装软件包的列表
[16:57:23.461] [ 1] [INFO] GetInstalledPackagesByUpgradeCode {1d2d1fa0-e158-4798-98c6-a296f55414f9}:未找到注册产品.
[16:57:23.461] [ 1] [INFO]确定Microsoft SQL Server 2012本机客户端(1d2d1fa0-e158-4798-98c6-a296f55414f9)的安装操作
[16:57:23.461] [ 1] [INFO]产品未安装Microsoft SQL Server 2012本机客户端.
[16:57:23.461] [ 1] [INFO]为以下内容执行升级代码的直接查找:Microsoft Azure AD Connect身份验证代理
[16:57:23.461] [ 1] [VERB]通过升级代码获取已安装软件包的列表
[16:57:23.461] [ 1] [INFO] GetInstalledPackagesByUpgradeCode {fb3feca7-5190-43e7-8d4b-5eec88ed9455}:未找到注册产品.
[16:57:23.461] [ 1] [INFO]确定Microsoft Azure AD Connect身份验证代理(fb3feca7-5190-43e7-8d4b-5eec88ed9455)的安装操作
[16:57:23.461] [ 1] [INFO]产品未安装Microsoft Azure AD Connect身份验证代理.
[16:57:23.476] [ 1] [INFO]确定Microsoft Azure AD连接工具的安装操作.
[16:57:23.586] [ 1] [WARN]无法读取DisplayName注册表项:执行"Get-ItemProperty"命令时发生错误.找不到路径'HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall \ MicrosoftAzureADConnectionTool' 因为它不存在.
[16:57:23.586] [ 1] [INFO]产品未安装Microsoft Azure AD连接工具.
[16:57:23.586] [ 1] [INFO]为以下内容执行升级代码的直接查找:Azure Active Directory Connect
[16:57:23.586] [ 1] [VERB]通过升级代码获取已安装软件包的列表
[16:57:23.586] [ 1] [INFO] GetInstalledPackagesByUpgradeCode {d61eb959-f2d1-4170-be64-4dc367f451ea}:已验证的产品代码{0f4d6650-8a7c-4c9d-8449-2431b8dff372}.
[16:57:23.586] [ 1] [VERB]软件包= Microsoft Azure AD Connect,版本= 1.1.819.0,ProductCode = 0f4d6650-8a7c-4c9d-8449-2431b8dff372,UpgradeCode = d61eb959-f2d1-4170-be64-4dc367f451ea
[16:57:23.586] [ 1] [INFO]确定Azure Active Directory Connect的安装操作(d61eb959-f2d1-4170-be64-4dc367f451ea)
[16:57:23.586] [ 1] [INFO]已安装产品Azure Active Directory Connect(版本1.1.819.0).
[16:57:23.586] [ 1] [INFO]检查DirSync条件.
[16:57:23.586] [ 1] [INFO]未检测到DirSync.检查AADSync/AADConnect升级条件.
[16:57:23.586] [ 1] [INFO]不存在同步引擎.执行全新安装.
[16:57:36.914] [ 1] [INFO]页面从"Welcome"转换为"Welcome" [LicensePageViewModel]可以"Express Settings" [ExpressSettingsPageViewModel]
[16:57:37.289] [ 1] [INFO] ProgressWizardPageViewModel:StartProgressOperation启动后台任务Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ExpressSettingsPageViewModel.GatherEnvironmentData在页面中:"Express Settings"
[16:57:37.304] [ 1] [INFO] ProgressWizardPageViewModel:StartProgressOperation启动了后台任务ID:287
[16:57:37.320] [13] [信息]检查计算机版本是否为6.1.7601或更高版本
[16:57:37.320] [13] [信息]当前操作系统版本为6.3.9600,要求为6.1.7601.
[16:57:37.320] [13] [INFO]支持密码哈希同步:"True"
[16:57:37.367] [ 1]支持[INFO] Express Settings安装:加入域+允许使用OS版本.
[17:04:12.459] [ 1] [INFO] Express设置:更新页面流以进行CUSTOM安装.
[17:04:12.460] [ 1] [INFO]称为SetWizardMode(CustomInstall,True)
[17:04:12.472] [ 1] [WARN] MicrosoftOnlinePersistedStateProvider.Save:提供了零个状态元素,保存了一个空的持久状态文件.
[17:04:12.536] [ 1] [INFO] MicrosoftOnlinePersistedStateProvider.UpdateFileProtection:从持久状态文件C:\ ProgramData \ AADConnect \ PersistedState.xml,isAddProtection更新文件保护:True
[17:04:12.547] [ 1] [INFO]从快捷设置"的页面转换[ExpressSettingsPageViewModel]更改为必需组件" [InstallSyncEnginePageViewModel]
[17:09:56.254] [ 1] [INFO] ProgressWizardPageViewModel:StartProgressOperation启动后台任务Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.InstallSyncEnginePageViewModel.StartNewInstallation在页面中:安装所需组件"
[17:09:56.254] [ 1] [INFO] ProgressWizardPageViewModel:StartProgressOperation启动了后台任务ID:98063
[17:09:56.832] [ 9] [INFO] SyncEngineSetupViewModel:验证同步引擎设置.
[17:09:56.863] [ 9] [INFO]输入ValidateSqlVersion.
[17:09:56.863] [ 9] [INFO]退出ValidateSqlVersion(localdb).
[17:09:56.863] [ 9] [INFO]输入ValidateSqlAoaAsyncInstance.
[17:09:56.863] [ 9] [INFO]退出ValidateSqlAoaAsyncInstance(localdb).
[17:09:56.863] [ 9] [INFO] ADSync数据库不存在,将被创建. serverAdmin = True.
[17:09:56.863] [ 9] [INFO]附加到ADSync数据库:SQLServerName = DoesNotExist SQLInstanceName = ServiceAccountName =,state =,Collation =,/UseExistingDatabase = False.
[17:09:56.863] [ 9] [INFO]开始安装Sync Engine
[17:09:56.863] [ 9] [INFO]开始必备软件的安装
[17:09:56.863] [ 9] [VERB] WorkflowEngine已创建
[17:09:56.863] [ 9] [INFO]为以下内容执行升级代码的直接查找:Windows PowerShell的Microsoft Azure Active Directory模块
[17:09:56.863] [ 9] [VERB]通过升级代码获取已安装软件包的列表
[17:09:56.863] [ 9] [INFO] GetInstalledPackagesByUpgradeCode {bbf5d0bf-d8ae-4e66-91ab-b7023c1f288c}:未找到注册产品.
[17:09:56.863] [ 9] [INFO]确定适用于Windows PowerShell的Microsoft Azure Active Directory模块的安装操作
[17:09:56.942] [ 9] [INFO] CheckInstallationState:打包版本(1.1.819.0),已安装版本(0.0.0).
[17:09:56.942] [ 9] [INFO] CheckInstallationState:将提取AAD PowerShell(1.1.819.0> 0.0.0).
[17:09:56.942] [ 9] [INFO]为以下内容执行升级代码的直接查找:Microsoft Visual C ++ 2013可再发行组件包
[17:09:56.942] [ 9] [VERB]通过升级代码获取已安装软件包的列表
[17:09:56.942] [ 9] [INFO] GetInstalledPackagesByUpgradeCode {20400cf0-de7c-327e-9ae4-f0f38d9085f8}:未找到注册产品.
[17:09:56.942] [ 9] [INFO]确定Microsoft Visual C ++ 2013可再发行组件包(20400cf0-de7c-327e-9ae4-f0f38d9085f8)的安装操作
[17:09:56.942] [ 9] [INFO]产品未安装Microsoft Visual C ++ 2013可再发行组件包.
[17:09:57.004] [ 9] [VERB]创建了名称为Install Prerequisites的任务97f98fc5-58b5-4e5d-97fc-e62c1edd764e[17:09:57.004] [ 9] [VERB]创建了任务e8598c10-c9f7-4cb8-82e8-47fe1330a460,名称为卸载Microsoft Online PowerShell模块
[17:09:57.004] [ 9] [VERB]创建了名称为Install Microsoft Online PowerShell Module
的任务c2f7d2d2-c5a2-4f4f-ae21-13d0b5c9ab6b[17:09:57.004] [ 9] [VERB]创建了名称为Install for Visual Studio 2013的Visual C ++可再发行组件的任务f5a85a41-85b9-40ca-82f8-d75f95bd96b8
[17:09:57.020] [ 9] [VERB]执行任务安装先决条件
[17:09:57.020] [ 9] [VERB]等待任务完成:安装先决条件
[17:09:57.114] [12] [VERB]执行任务卸载Microsoft Online PowerShell模块
[17:09:57.114] [13] [INFO]任务卸载Microsoft Online PowerShell模块"已完成执行
[17:09:57.114] [12] [INFO]任务卸载Microsoft Online PowerShell模块"成功完成
[17:09:57.114] [12] [VERB]执行任务安装Microsoft Online PowerShell模块
[17:09:57.738] [ 5] [INFO]任务安装Microsoft Online PowerShell模块"已完成执行
[17:09:57.738] [12] [INFO]任务安装Microsoft Online PowerShell模块"成功完成
[17:09:57.738] [12] [VERB]执行任务安装Visual Studio 2013的Visual C ++可再发行组件
[17:10:01.926] [ 6] [INFO]任务为Visual Studio 2013安装Visual C ++可再发行组件"已完成执行
[17:10:01.926] [12] [INFO]任务为Visual Studio 2013安装可重新分发的Visual C ++"成功完成
[17:10:01.926] [12] [INFO]任务安装必备组件"已完成执行
[17:10:01.926] [ 9] [VERB]等待0:00:04.9062577完成任务:安装必备软件
[17:10:01.942] [ 9] [INFO]开始安装Sync Engine
[17:10:10.817] [ 9] [INFO] IsManagedServiceAccountSupported:操作系统> W2008R2
[17:10:10.817] [ 9] [INFO] IsManagedServiceAccountSupported:True
[17:10:10.879] [ 9] [INFO] ServiceControllerProvider:serviceController.Status属性上的InvalidOperationException表示未找到服务ADSync
[17:10:10.895] [ 9] [INFO] ServiceControllerProvider:CreateService-serviceName:ADSync,用户名:NT SERVICE \ ADSync,assemblyPath:C:\ Program Files \ Microsoft Azure Active Directory Connect \ ADSyncBootstrap.exe
[17:10:10.926] [ 9] [INFO] ServiceControllerProvider:正在处理ADSync的StartService请求
[17:10:10.926] [ 9] [VERB] ServiceControllerProvider: 初始服务状态:已停止
[17:10:10.926] [ 9] [VERB] ServiceControllerProvider: 开始服务并等待完成.
[17:10:13.504] [ 9] [INFO] ServiceControllerProvider:StartService状态:正在运行
[17:10:17.035] [ 9] [INFO] ServiceControllerProvider:服务ADSync存在
[17:10:17.035] [ 9] [INFO] ServiceControllerProvider:正在处理针对以下对象的StopService请求:ADSync
[17:10:17.035] [ 9] [VERB] ServiceControllerProvider: 初始服务状态:正在运行
[17:10:17.035] [ 9] [VERB] ServiceControllerProvider: 停止服务并等待完成.
[17:10:17.317] [ 9] [INFO] ServiceControllerProvider:StopService状态:已停止
[17:10:17.317] [ 9] [INFO] ServiceControllerProvider:DeleteService-serviceName:ADSync
[17:10:27.332] [ 9] [INFO] ServiceControllerProvider:serviceController.Status属性上的InvalidOperationException表示未找到服务ADSync
[17:10:27.332] [ 9] [INFO] ServiceControllerProvider:DeleteService成功-serviceName:ADSync
[17:10:27.457] [ 9] [INFO] ServiceControllerProvider:CreateService-serviceName:ADSync,用户名:NT SERVICE \ ADSync,assemblyPath:C:\ Program Files \ Microsoft Azure Active Directory Connect \ ADSyncBootstrap.exe
[17:10:27.473] [ 9] [INFO] ServiceControllerProvider:正在处理ADSync的StartService请求
[17:10:27.473] [ 9] [VERB] ServiceControllerProvider: 初始服务状态:已停止
[17:10:27.473] [ 9] [VERB] ServiceControllerProvider: 开始服务并等待完成.
[17:10:27.895] [ 9] [INFO] ServiceControllerProvider:StartService状态:正在运行
[17:10:44.098] [ 9] [INFO] ServiceControllerProvider:正在处理针对以下对象的StopService请求:ADSync
[17:10:44.098] [ 9] [VERB] ServiceControllerProvider: 初始服务状态:正在运行
[17:10:44.098] [ 9] [VERB] ServiceControllerProvider: 停止服务并等待完成.
[17:10:44.364] [ 9] [INFO] ServiceControllerProvider:StopService状态:已停止
[17:10:44.364] [ 9] [INFO] ServiceControllerProvider:正在处理ADSync的StartService请求
[17:10:44.364] [ 9] [VERB] ServiceControllerProvider: 初始服务状态:已停止
[17:10:44.364] [ 9] [VERB] ServiceControllerProvider: 开始服务并等待完成.
[17:10:44.817] [ 9] [INFO] ServiceControllerProvider:StartService状态:正在运行
[17:10:44.957] [ 9] [INFO] ServiceControllerProvider:正在处理针对以下对象的StopService请求:ADSync
[17:10:44.957] [ 9] [VERB] ServiceControllerProvider: 初始服务状态:正在运行
[17:10:44.957] [ 9] [VERB] ServiceControllerProvider: 停止服务并等待完成.
[17:10:45.223] [ 9] [INFO] ServiceControllerProvider:StopService状态:已停止
[17:10:45.223] [ 9] [INFO] ServiceControllerProvider:DeleteService-serviceName:ADSync
[17:10:55.254] [ 9] [INFO] ServiceControllerProvider:serviceController.Status属性上的InvalidOperationException表示未找到服务ADSync
[17:10:55.254] [ 9] [INFO] ServiceControllerProvider:DeleteService成功-serviceName:ADSync
[17:10:55.254] [ 9] [INFO] BuildMsiArguments:设置同步引擎MSI参数以进行全新安装
[17:11:05.067] [ 9] [INFO] InstallSyncEngineStage:同步引擎已成功安装.
[17:11:05.067] [ 9] [INFO] DetectInstalledComponents:将同步引擎标记为已成功安装.
[17:11:05.067] [ 1] [INFO]从必需组件"的页面转换; [InstallSyncEnginePageViewModel]可以用户登录"; [SelectSignInPageViewModel]
[17:11:05.082] [ 1] [INFO]检查机器版本是否为6.1.7601或更高版本
[17:11:05.082] [ 1] [INFO]当前操作系统版本为6.3.9600,要求为6.1.7601.
[17:11:05.082] [ 1] [INFO]支持密码哈希同步:"True"
[17:11:05.317] [ 1] [INFO] ProgressWizardPageViewModel:StartProgressOperation启动后台任务Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.SelectSignInPageViewModel.ExamineEnvironment in Page:用户登录"
[17:11:05.317] [ 1] [INFO] ProgressWizardPageViewModel:StartProgressOperation启动了后台任务ID:98343
[17:11:05.317] [14] [信息]检查计算机版本是否为6.1.7601或更高版本
[17:11:05.317] [14] [INFO]当前操作系统版本是6.3.9600,要求是6.1.7601.
[17:11:05.317] [14] [INFO]支持密码哈希同步:"True"
[17:11:05.317] [14] [信息]检查计算机版本是否为6.3.9600或更高版本
[17:11:05.317] [14] [INFO]当前操作系统版本为6.3.9600,要求为6.3.9600.
[17:11:05.317] [14] [INFO]支持传递身份验证:"True"
[11:11:53.514] [ 1] [INFO]从用户登录"到用户登录"的页面转换[SelectSignInPageViewModel]到必需的组件" [InstallSyncEnginePageViewModel]
[11:11:58.014] [ 1] [INFO] ProgressWizardPageViewModel:StartProgressOperation启动后台任务Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.InstallSyncEnginePageViewModel.InstallMissingComponents在页面中:安装所需组件"
[11:11:58.014] [ 1] [INFO] ProgressWizardPageViewModel:StartProgressOperation启动了后台任务ID:99822
[11:11:58.014] [12] [INFO]开始安装同步引擎
[11:11:58.014] [12] [INFO]开始必备软件的安装
[11:11:58.014] [12] [动词] WorkflowEngine已创建
[11:11:58.014] [12] [信息]为以下内容执行升级代码的直接查找:Windows PowerShell的Microsoft Azure Active Directory模块
[11:11:58.014] [12] [动词]通过升级代码获取已安装软件包的列表
[11:11:58.014] [12] [信息] GetInstalledPackagesByUpgradeCode {bbf5d0bf-d8ae-4e66-91ab-b7023c1f288c}:未找到注册产品.
[11:11:58.014] [12] [INFO]确定Windows PowerShell的Microsoft Azure Active Directory模块的安装操作
[11:11:58.130] [12] [INFO] CheckInstallationState:打包版本(1.1.819.0),已安装版本(1.1.819.0).
[11:11:58.133] [12] [INFO] CheckInstallationState:AAD PowerShell是最新的(1.1.819.0< = 1.1.819.0).
[11:11:58.133] [12] [信息]为以下内容执行升级代码的直接查找:Microsoft Visual C ++ 2013可再发行组件包
[11:11:58.133] [12] [动词]通过升级代码获取已安装软件包的列表
[11:11:58.133] [12] [INFO] GetInstalledPackagesByUpgradeCode {20400cf0-de7c-327e-9ae4-f0f38d9085f8}:已验证的产品代码{a749d8e6-b613-3be3-8f5f-045c84eba29b}.
[11:11:58.133] [12] [VERB]程序包= Microsoft Visual C ++ 2013 x64最低运行时间-12.0.21005,版本= 1.2.2105,ProductCode = a749d8e6-b613-3be3-8f5f-045c84eba29b,UpgradeCode = 20400cf0-de7c -327e-9ae4-f0f38d9085f8
[11:11:58.133] [12] [信息]确定Microsoft Visual C ++ 2013可再发行组件包(20400cf0-de7c-327e-9ae4-f0f38d9085f8)的安装操作
[11:11:58.133] [12] [信息]已安装产品Microsoft Visual C ++ 2013可再发行组件包(版本12.0.21005).
[11:11:58.134] [ 1] [INFO]从必需组件"的页面转换; [InstallSyncEnginePageViewModel]可以用户登录"; [SelectSignInPageViewModel]
[11:11:58.137] [ 1] [INFO] ProgressWizardPageViewModel:StartProgressOperation启动后台任务Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.SelectSignInPageViewModel.ExamineEnvironment in Page:用户登录"
[11:11:58.137] [ 1] [INFO] ProgressWizardPageViewModel:StartProgressOperation启动了后台任务ID:99882
[11:11:58.137] [15] [信息]检查计算机版本是否为6.1.7601或更高版本
[11:11:58.137] [15] [信息]当前操作系统版本为6.3.9600,要求为6.1.7601.
[11:11:58.137] [15] [信息]支持密码哈希同步:"True"
[11:11:58.137] [15] [信息]检查计算机版本是否为6.3.9600或更高版本
[11:11:58.137] [15] [信息]当前操作系统版本为6.3.9600,要求为6.3.9600.
[11:11:58.137] [15] [INFO]支持传递身份验证:"True"
[11:13:24.055] [ 1] [INFO] ProgressWizardPageViewModel:StartProgressOperation启动后台任务Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.SelectSignInPageViewModel.InitializeContext在页面中:用户登录"
[11:13:24.055] [ 1] [INFO] ProgressWizardPageViewModel:StartProgressOperation启动了后台任务ID:101038
[11:13:24.055] [ 1] [INFO]从用户登录"到用户登录"的页面转换[SelectSignInPageViewModel]以连接到Azure AD"; [AzureTenantPageViewModel]
[11:13:24.148] [ 1] [WARN]无法读取IAzureActiveDirectoryContext.AzureADUsername注册表项:执行"Get-ItemProperty"命令时发生错误.属性IAzureActiveDirectoryContext.AzureADUsername在路径HKEY_CURRENT_USER \ SOFTWARE \ Microsoft \ Azure中不存在 AD Connect.
[11:13:24.164] [ 1] [INFO]属性用户名验证失败,出现错误Microsoft Azure帐户名不能为空.
[11:14:40.500] [ 1] [INFO]属性用户名验证失败,出现错误用户名必须采用[email protected]或[email protected]的格式
[11:14:43.652] [ 1] [INFO]属性密码验证失败,出现错误要求使用Microsoft Azure密码.
[11:14:57.306] [15] [INFO] AzureTenantPage:为用户开始Windows Azure租户凭据验证[email protected]
[11:14:57.853] [15] [信息] DiscoverAzureInstance [全球]:权限= https://login.windows.net/xxxxxx.net,awsServiceResource=https://graph.windows.net.解决方法[AzureInstanceDiscovery]:云实例名称(microsoftonline.com),承租人区域 范围(NA),令牌端点(https://login.microsoftonline.com/25373168-6cb3-482f-997f-0b35f6554b5d/oauth2/token).
[11:14:57.853] [15] [INFO]身份验证:启用了ADAL身份验证.
AzureADConnect.exe信息:0:08/03/2018 18:14:57: -AuthenticationContext:具有组件版本"2.28.4.987",文件版本"2.28.40321.0002"和参考版本"ca958f54ae76842308c689314b0f33bfdb97e64b"的ADAL .NET正在运行...
AzureADConnect.exe信息:0:08/03/2018 18:14:57: -令牌缓存:清除缓存:-0个要删除的项目
AzureADConnect.exe信息:0:08/03/2018 18:14:57: -令牌缓存:已成功清除缓存
[11:14:57.885] [15] [INFO] Authenticate-ADAL:使用显式租户凭据获取令牌.
AzureADConnect.exe信息:0:08/03/2018 18:14:57:edda0f56-6e4b-4e46-b96b-47689ec1266f-AcquireTokenHandlerBase:===开始进行令牌获取:
权限:https://login.windows.net/xxxxxx.net/
资源:https://graph.windows.net
ClientId:cb1056e2-e479-49de-ae31-7812af012ed8
CacheType:Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache(0个项目)
身份验证目标:用户
AzureADConnect.exe信息:0:08/03/2018 18:14:58:edda0f56-6e4b-4e46-b96b-47689ec1266f-TokenCache:在缓存中查找令牌...
AzureADConnect.exe信息:0:08/03/2018 18:14:58:edda0f56-6e4b-4e46-b96b-47689ec1266f-令牌缓存:在缓存中找不到匹配的令牌
AzureADConnect.exe信息:0:08/03/2018 18:14:58:edda0f56-6e4b-4e46-b96b-47689ec1266f-< CreateByDiscoveryAsync> d__0:将用户领域发现请求发送到'https://login.windows.net /common/UserRealm/[email protected]?api-version=1.0'
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: edda0f56-6e4b-4e46-b96b-47689ec1266f - <PreTokenRequest>d__4: User with hash 'U7a7IyfadWJFh7US9ymsaCaO+P2Ut0K2Gq3SAv9aPoI=' detected as 'Managed'
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: edda0f56-6e4b-4e46-b96b-47689ec1266f - TokenCache: Storing token in the cache...
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: edda0f56-6e4b-4e46-b96b-47689ec1266f - TokenCache: An item was stored in the cache
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: edda0f56-6e4b-4e46-b96b-47689ec1266f - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
Access Token Hash: JL/geVVdT2D/4RcrduBbE6kRwJ4BghjwfC8XfHrjWPI=
Refresh Token Hash: NC8+86LGpgZTnr9GaRWqbpHJ4E6J41929DEPChLvFmI=
Expiration Time: 08/03/2018 19:14:57 +00:00
User Hash: bABod7AA92HaXqDgPwoZ2e96H0LLZSlXbJ1BaE1JFYs=
[11:14:58.697] [ 15] [INFO ] Authenticate-ADAL: retrieving company configuration for tenant=25373168-6cb3-482f-997f-0b35f6554b5d.
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: e9a1be01-307e-4ef3-9019-369f9687987d - AcquireTokenHandlerBase: === Token Acquisition started:
Authority: https://login.windows.net/xxxxxx.net/
Resource: https://graph.windows.net
ClientId: cb1056e2-e479-49de-ae31-7812af012ed8
CacheType: Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache (1 items)
Authentication Target: User
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: e9a1be01-307e-4ef3-9019-369f9687987d - TokenCache: Looking up cache for a token...
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: e9a1be01-307e-4ef3-9019-369f9687987d - TokenCache: An item matching the requested resource was found in the cache
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: e9a1be01-307e-4ef3-9019-369f9687987d - TokenCache: 59.9820313066667 minutes left until token in cache expires
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: e9a1be01-307e-4ef3-9019-369f9687987d - TokenCache: A matching item (access token or refresh token or both) was found in the cache
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: e9a1be01-307e-4ef3-9019-369f9687987d - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
Access Token Hash: JL/geVVdT2D/4RcrduBbE6kRwJ4BghjwfC8XfHrjWPI=
Refresh Token Hash: NC8+86LGpgZTnr9GaRWqbpHJ4E6J41929DEPChLvFmI=
Expiration Time: 08/03/2018 19:14:57 +00:00
User Hash: bABod7AA92HaXqDgPwoZ2e96H0LLZSlXbJ1BaE1JFYs=
[11:15:00.447] [ 15] [INFO ] Authenticate: tenantId=(25373168-6cb3-482f-997f-0b35f6554b5d), IsDirSyncing=False, IsPasswordSyncing=False, DomainName=, DirSyncFeatures=0, AllowedFeatures=None.
[11:15:00.447] [ 15] [INFO ] AzureTenantPage: attempting to connect to Azure via AAD PowerShell.
[11:15:00.463] [ 15] [INFO ] DiscoverAzureEndpoints [AzurePowerShell]: ServiceEndpoint=https://provisioningapi.microsoftonline.com/provisioningwebservice.svc, AdalAuthority=https://login.windows.net/xxxxxx.net, AdalResource=https://graph.windows.net.
[11:15:00.463] [ 15] [INFO ] AcquireServiceToken [AzurePowerShell]: acquiring additional service token.
AzureADConnect.exe Information: 0 : 08/03/2018 18:15:00: e3da965a-e35c-4f5f-82d2-077256ce5f64 - AcquireTokenHandlerBase: === Token Acquisition started:
Authority: https://login.windows.net/xxxxxx.net/
Resource: https://graph.windows.net
ClientId: cb1056e2-e479-49de-ae31-7812af012ed8
CacheType: Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache (1 items)
Authentication Target: User
AzureADConnect.exe Information: 0 : 08/03/2018 18:15:00: e3da965a-e35c-4f5f-82d2-077256ce5f64 - TokenCache: Looking up cache for a token...
AzureADConnect.exe Information: 0 : 08/03/2018 18:15:00: e3da965a-e35c-4f5f-82d2-077256ce5f64 - TokenCache: An item matching the requested resource was found in the cache
AzureADConnect.exe Information: 0 : 08/03/2018 18:15:00: e3da965a-e35c-4f5f-82d2-077256ce5f64 - TokenCache: 59.9536458633333 minutes left until token in cache expires
AzureADConnect.exe Information: 0 : 08/03/2018 18:15:00: e3da965a-e35c-4f5f-82d2-077256ce5f64 - TokenCache: A matching item (access token or refresh token or both) was found in the cache
AzureADConnect.exe Information: 0 : 08/03/2018 18:15:00: e3da965a-e35c-4f5f-82d2-077256ce5f64 - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
Access Token Hash: JL/geVVdT2D/4RcrduBbE6kRwJ4BghjwfC8XfHrjWPI=
Refresh Token Hash: NC8+86LGpgZTnr9GaRWqbpHJ4E6J41929DEPChLvFmI=
Expiration Time: 08/03/2018 19:14:57 +00:00
User Hash: bABod7AA92HaXqDgPwoZ2e96H0LLZSlXbJ1BaE1JFYs=
[11:15:00.463] [ 15] [INFO ] PowerShellHelper.ConnectMsolService: Connecting using an AccessToken. AzureEnvironment=0.
AzureADConnect.exe Information: 0 : 08/03/2018 18:15:00: - AuthenticationContext: ADAL .NET with assembly version '2.28.1.741', file version '2.28.30726.1426' and informational version '98c53b8a9386f556c4187786cece386358b1c8e7' is running...
[11:15:01.572] [ 15] [INFO ] AzureTenantPage: successfully connected to Azure via AAD PowerShell.
[11:15:02.322] [ 15] [INFO ] AzureTenantPage: Successfully retrieved company information for tenant 25373168-6cb3-482f-997f-0b35f6554b5d. Initial domain (xxxxxx.onmicrosoft.com).
[11:15:02.322] [ 15] [INFO ] AzureTenantPage: DirectorySynchronizationEnabled=False
[11:15:02.322] [ 15] [INFO ] AzureTenantPage: DirectorySynchronizationStatus=Disabled
[11:15:02.338] [ 15] [INFO ] PowershellHelper: lastDirectorySyncTime=null
[11:15:02.525] [ 15] [INFO ] AzureTenantPage: Successfully retrieved 3 domains from the tenant.
[11:15:02.525] [ 15] [INFO ] Calling to get the last dir sync time for the current user
[11:15:02.775] [ 15] [INFO ] MicrosoftOnlinePersistedStateProvider.Save: saving the persisted state file
[11:15:02.775] [ 15] [INFO ] MicrosoftOnlinePersistedStateProvider.UpdateFileProtection: updating file protection from the persisted state file: C:\ProgramData\AADConnect\PersistedState.xml, isAddProtection: False
[11:15:02.775] [ 15] [INFO ] MicrosoftOnlinePersistedStateProvider.UpdateFileProtection: updating file protection from the persisted state file: C:\ProgramData\AADConnect\PersistedState.xml, isAddProtection: True
[11:15:07.010] [ 15] [INFO ] Retrieved Azure AD connector (xxxxxx.onmicrosoft.com - AAD).
[11:15:07.010] [ 15] [INFO ] SyncDataProvider: Calling refresh schema on connector xxxxxx.onmicrosoft.com - AAD
[11:15:07.635] [ 15] [INFO ] SyncDataProvider: Successfully refreshed schema on connector xxxxxx.onmicrosoft.com - AAD
[11:15:07.635] [ 15] [INFO ] AzureTenantPage: Windows Azure tenant credentials validation succeeded.
[11:15:07.635] [ 1] [INFO ] Page transition from "Connect to Azure AD" [AzureTenantPageViewModel] to "Connect Directories" [ConfigSyncDirectoriesPageViewModel]
[11:15:07.760] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Start background task Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ConfigSyncDirectoriesPageViewModel.GetAvailableForests in Page:"Connect your directories"
[11:15:07.760] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Started Background Task Id:108999
[11:28:54.165] [ 1] [INFO ] Property Hostname failed validation with error A hostname is required.
[11:29:29.505] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Start background task Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ConfigSyncDirectoriesPageViewModel.ValidateDirectoryConnection in Page:"Connect your directories"
[11:29:29.506] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Started Background Task Id:322594
[11:29:29.507] [ 22] [INFO ] ConfigSyncDirectoriesPageViewModel:ValidateDirectoryConnection:
[11:29:29.507] [ 22] [INFO ] DirectoryType=AD
[11:29:29.507] [ 22] [INFO ] Username=xxx.LOC\xxx-xxxxxxxx
[11:29:29.507] [ 22] [INFO ] AutoCreateConnectorAccount=True
[11:29:29.507] [ 22] [INFO ] Forest=xxx.loc
[11:29:29.547] [ 22] [INFO ] ActiveDirectoryProvider.GetRootDomainName: getting user root domain name
[11:29:29.563] [ 22] [INFO ] ActiveDirectoryProvider.GetRootDomainName: user root domain - xxx.loc
[11:29:29.563] [ 22] [INFO ] ActiveDirectoryProvider.IsUserGroupMember: checking if xxx.LOC\xxx-xxxxxxx has AccountEnterpriseAdminsSid privileges in xxx.loc
[11:29:29.641] [ 22] [INFO ] ActiveDirectoryProvider.IsUserGroupMember: domain sid - S-1-5-21-74957240-1171214774-3195226597, group sid - S-1-5-21-74957240-1171214774-3195226597-519
[11:29:29.641] [ 22] [INFO ] ActiveDirectoryProvider.GetGroupMembershipSidsForUser: retrieving group membership SIDs from AD
[11:29:29.641] [ 22] [INFO ] ActiveDirectoryProvider.IsUserGroupMember: found membership - user is a member of the group
[11:29:29.781] [ 22] [INFO ] Validating forest with FQDN xxx.loc
[11:29:29.797] [ 22] [INFO ] Examining domain xxx.loc (:0% complete)
[11:29:29.797] [ 22] [INFO ] ValidateForest: using xxx-DC02.xxx.loc to validate domain xxx.loc
[11:29:29.812] [ 22] [INFO ] Successfully examined domain xxx.loc GUID:9a9aa2f2-0c38-4c25-930f-0dd011e24c3b DN:DC=xxx,DC=loc
[11:29:29.812] [ 22] [INFO ] ValidateForest returned 1 reachable and 0 unreachable domains.
[11:29:29.828] [ 22] [INFO ] validForest=True
[11:29:29.828] [ 22] [VERB ] GetAdminCredential called with account xxx.loc\xxx-xxxxxxxx
[11:29:29.828] [ 22] [VERB ] AdministratorUsername is in NTAccount format.
[11:29:29.828] [ 22] [VERB ] GetAdminCredential returning account xxx.loc\xxx-xxxxxxxx
[11:29:29.828] [ 22] [INFO ] Creating AD Connector account for xxx.loc.
[11:29:29.906] [ 22] [WARN ] Failed to read SyncMachineIdentifier registry key: An error occurred while executing the 'Get-ItemProperty' command. Property SyncMachineIdentifier does not exist at path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Azure AD Connect.
[11:29:29.953] [ 22] [VERB ] CreateADConnectorAccount(System.Net.NetworkCredential, d51e56e759004a4db1b4c29eda99f524, xxxxxx.net)
[11:29:30.062] [ 22] [INFO ] AD Connector account will have account name xxx.loc\MSOL_d51e56e75900
[11:29:30.391] [ 22] [INFO ] AD Connector account was created successfully.
[11:29:30.391] [ 22] [INFO ] GrantAllActiveDirectoryPermissions: Granting DsReplicationGetChanges permission on all domains for password hash synchronization.
[11:29:30.469] [ 22] [INFO ] GrantAllActiveDirectoryPermissions: Granting DsReplicationGetChangesAll permission on all domains for password hash synchronization.
[11:29:30.500] [ 22] [INFO ] GrantAllActiveDirectoryPermissions: Granting DsResetPassword permission on all domains for password writeback.
[11:29:30.531] [ 22] [INFO ] GrantAllActiveDirectoryPermissions: Granting write permissions for 'user' attribute of (lockoutTime, pwdLastSet) object type on all domains for password writeback.
[11:29:30.656] [ 22] [INFO ] GrantAllActiveDirectoryPermissions: Granting read/write permissions for all attributes of (contact, group, inetorgperson, user) object type on all domains for Hybrid Exchange.
[11:29:30.859] [ 22] [INFO ] GrantAllActiveDirectoryPermissions: Granting read/write permissions for 'user' attribute of (mS-DS-ConsistencyGuid) object type on all domains for mS-DS-ConsistencyGuid feature
[11:29:30.937] [ 22] [INFO ] GrantAllActiveDirectoryPermissions: Granting read permissions for all attributes of (publicFolder) object type on all domains for Exchange Mail Public Folder.
[11:29:30.937] [ 22] [INFO ] GrantAllActiveDirectoryPermissions: Granting read permissions for all attributes of (publicFolder) object type on all domains for Exchange Mail Public Folder failed as object type publicFolder was not found.
[11:29:32.484] [ 22] [INFO ] AD Connector account permissions restricted successfully.
[11:29:32.484] [ 22] [INFO ] AD Connector Username=xxx.loc\MSOL_d51e56e75900 created and given permissions.
[11:29:32.484] [ 22] [INFO ] Exit ConfigSyncDirectoriesPageViewModel:ValidateDirectoryConnection:
[11:29:36.828] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Start background task Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ConfigSyncDirectoriesPageViewModel.WaitForTaskCompletion in Page:"Connect your directories"
[11:29:36.828] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Started Background Task Id:322753
AzureADConnect.exe Information: 0 : Management Agent Created: C:\Program Files\Microsoft Azure Active Directory Connect\SetupFiles\MA-ADDSTemplate.xml.
[11:29:37.766] [ 14] [INFO ] SyncDataProvider: Calling refresh schema on connector xxx.loc
[11:29:39.469] [ 14] [ERROR] ConfigSyncDirectoriesPage: Caught exception while creating the connector for given directory.
Exception Data (Raw): System.Management.Automation.CmdletInvocationException: Failed to retrieve schema.<error><error><incident><connection-result>failed-authentication</connection-result><date>2018-08-03 18:29:37.875</date><server>xxx.loc:389</server><cd-error><error-code>0x31</error-code>
<error-literal>Invalid Credentials</error-literal>
</cd-error></incident></error></error> ---> Microsoft.IdentityManagement.PowerShell.ObjectModel.SynchronizationConfigurationValidationException: Failed to retrieve schema.<error><error><incident><connection-result>failed-authentication</connection-result><date>2018-08-03 18:29:37.875</date><server>xxx.loc:389</server><cd-error><error-code>0x31</error-code>
<error-literal>Invalid Credentials</error-literal>
</cd-error></incident></error></error>
at Microsoft.DirectoryServices.MetadirectoryServices.UI.WebServices.MMSWebService.GetSchemaFromDirectory(Connector connector, Boolean commit)
at Microsoft.IdentityManagement.PowerShell.Cmdlet.UpdateADSyncConnectorSchemaCmdlet.ProcessRecord()
--- End of inner exception stack trace ---
at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.Invoke(IEnumerable input, PSInvocationSettings settings)
at Microsoft.Online.Deployment.PowerShell.LocalPowerShell.Invoke()
at Microsoft.Online.Deployment.PowerShell.PowerShellAdapter.TypeDependencies.InvokePowerShell(IPowerShell powerShell)
at Microsoft.Online.Deployment.PowerShell.PowerShellAdapter.InvokePowerShellCommand(String commandName, InitialSessionState initialSessionState, IDictionary`2 commandParameters, Boolean isScript)
at Microsoft.Azure.ActiveDirectory.Synchronization.PowerShellConfigAdapter.ConnectorConfigAdapter.UpdateConnectorSchema(Connector connector)
at Microsoft.Azure.ActiveDirectory.Synchronization.Config.ConnectorAdapterBase.UpdateConnectorSchema()
at Microsoft.Online.Deployment.Types.Providers.SyncDataProvider.UpdateConnectorSchema(ConnectorAdapterBase connectorAdapter)
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ConfigSyncDirectoriesPageViewModel.CreateADDSConnector(IDirectoryConnection directory)
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ConfigSyncDirectoriesPageViewModel.CreateConnectors(Object obj)
[11:29:39.500] [ 17] [INFO ] Page transition from "Connect Directories" [ConfigSyncDirectoriesPageViewModel] to "Azure AD sign-in" [UserSignInConfigPageViewModel]
[11:29:39.500] [ 17] [ERROR] RootWizardPageViewModel: An unhandled exception occurred during a page load.
Exception Data (Raw): System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.UserSignInConfigPageViewModel.OnLoad(NavigateDirection direction)
at Microsoft.Online.Deployment.Framework.UI.WizardPages.RootWizardPageViewModel.ActivatePage(IWizardPage page, NavigateDirection direction)
[11:29:39.547] [ 17] [ERROR] A terminating unhandled exception occurred.
Exception Data (Raw): System.AggregateException: One or more errors occurred. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.UserSignInConfigPageViewModel.OnLoad(NavigateDirection direction)
at Microsoft.Online.Deployment.Framework.UI.WizardPages.RootWizardPageViewModel.ActivatePage(IWizardPage page, NavigateDirection direction)
at Microsoft.Online.Deployment.Framework.UI.WizardPages.RootWizardPageViewModel.MoveNext()
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ConfigSyncDirectoriesPageViewModel.WaitForTaskCompletion(Task task)
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.UserSignInConfigPageViewModel.OnLoad(NavigateDirection direction)
at Microsoft.Online.Deployment.Framework.UI.WizardPages.RootWizardPageViewModel.ActivatePage(IWizardPage page, NavigateDirection direction)
at Microsoft.Online.Deployment.Framework.UI.WizardPages.RootWizardPageViewModel.MoveNext()
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ConfigSyncDirectoriesPageViewModel.WaitForTaskCompletion(Task task)
at System.Threading.Tasks.Task.Execute()<---
[11:29:39.594] [ 1] [INFO ] Page transition from "Azure AD sign-in" [UserSignInConfigPageViewModel] to "Error" [ErrorPageViewModel]
[16:57:19.554] [ 1] [INFO ]
[16:57:19.554] [ 1] [INFO ] ================================================================================
[16:57:19.554] [ 1] [INFO ] Application starting
[16:57:19.554] [ 1] [INFO ] ================================================================================
[16:57:19.554] [ 1] [INFO ] Start Time (Local): Thu, 02 Aug 2018 16:57:19 GMT
[16:57:19.554] [ 1] [INFO ] Start Time (UTC): Thu, 02 Aug 2018 23:57:19 GMT
[16:57:19.554] [ 1] [INFO ] Application Version: 1.1.819.0
[16:57:19.554] [ 1] [INFO ] Application Build Date: 2018-05-02 16:19:11Z
[16:57:21.508] [ 1] [INFO ] Telemetry session identifier: {87aac783-0d31-405e-8fb3-980853d1e357}
[16:57:21.508] [ 1] [INFO ] Telemetry device identifier: tYcDXOeGiQp1i+ltnDH/LGnxFqJEIFNkt0BlPrbzcDQ=
[16:57:21.508] [ 1] [INFO ] Application Build Identifier: AD-IAM-HybridSync master (38ad783d9)
[16:57:21.633] [ 1] [INFO ] machine.config path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config.
[16:57:21.633] [ 1] [INFO ] Default Proxy [ProxyAddress]: <Unspecified>
[16:57:21.648] [ 1] [INFO ] Default Proxy [UseSystemDefault]: Unspecified
[16:57:21.648] [ 1] [INFO ] Default Proxy [BypassOnLocal]: Unspecified
[16:57:21.648] [ 1] [INFO ] Default Proxy [Enabled]: True
[16:57:21.648] [ 1] [INFO ] Default Proxy [AutoDetect]: Unspecified
[16:57:21.695] [ 1] [VERB ] Scheduler wizard mutex wait timeout: 00:00:05
[16:57:21.695] [ 1] [INFO ] AADConnect changes ALLOWED: Successfully acquired the configuration change mutex.
[16:57:21.742] [ 1] [INFO ] RootPageViewModel.GetInitialPages: Beginning detection for creating initial pages.
[16:57:21.758] [ 1] [INFO ] Checking if machine version is 6.1.7601 or higher
[16:57:21.758] [ 1] [INFO ] The current operating system version is 6.3.9600, the requirement is 6.1.7601.
[16:57:21.758] [ 1] [INFO ] Password Hash Sync supported: 'True'
[16:57:21.773] [ 1] [INFO ] DetectInstalledComponents stage: The installed OS SKU is 7
[16:57:22.101] [ 1] [INFO ] ServiceControllerProvider: GetServiceStartMode(seclogon) is 'Manual'.
[16:57:22.117] [ 1] [INFO ] DetectInstalledComponents stage: Checking install context.
[16:57:22.133] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure Active Directory Module for Windows PowerShell
[16:57:22.242] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:57:22.258] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {bbf5d0bf-d8ae-4e66-91ab-b7023c1f288c}: no registered products found.
[16:57:22.258] [ 1] [INFO ] Determining installation action for Microsoft Azure Active Directory Module for Windows PowerShell
[16:57:23.351] [ 1] [INFO ] CheckInstallationState: Packaged version (1.1.819.0), Installed version (0.0.0).
[16:57:23.351] [ 1] [INFO ] CheckInstallationState: AAD PowerShell will be extracted (1.1.819.0 > 0.0.0).
[16:57:23.351] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Visual C++ 2013 Redistributable Package
[16:57:23.351] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:57:23.351] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {20400cf0-de7c-327e-9ae4-f0f38d9085f8}: no registered products found.
[16:57:23.351] [ 1] [INFO ] Determining installation action for Microsoft Visual C++ 2013 Redistributable Package (20400cf0-de7c-327e-9ae4-f0f38d9085f8)
[16:57:23.351] [ 1] [INFO ] Product Microsoft Visual C++ 2013 Redistributable Package is not installed.
[16:57:23.351] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Directory Sync Tool
[16:57:23.351] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:57:23.351] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}: no registered products found.
[16:57:23.351] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}: no registered products found.
[16:57:23.351] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {545334d7-13cd-4bab-8da1-2775fa8cf7c2}: no registered products found.
[16:57:23.351] [ 1] [INFO ] Determining installation action for Microsoft Directory Sync Tool UpgradeCodes {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}, {dc9e604e-37b0-4efc-b429-21721cf49d0d}
[16:57:23.351] [ 1] [INFO ] DirectorySyncComponent: Product Microsoft Directory Sync Tool is not installed.
[16:57:23.351] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Sync Engine
[16:57:23.351] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:57:23.351] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {545334d7-13cd-4bab-8da1-2775fa8cf7c2}: no registered products found.
[16:57:23.351] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}: no registered products found.
[16:57:23.351] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}: no registered products found.
[16:57:23.351] [ 1] [INFO ] Determining installation action for Azure AD Sync Engine (545334d7-13cd-4bab-8da1-2775fa8cf7c2)
[16:57:23.461] [ 1] [INFO ] Product Azure AD Sync Engine is not installed.
[16:57:23.461] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect Synchronization Agent
[16:57:23.461] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:57:23.461] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {3cd653e3-5195-4ff2-9d6c-db3dacc82c25}: no registered products found.
[16:57:23.461] [ 1] [INFO ] Determining installation action for Azure AD Connect Synchronization Agent (3cd653e3-5195-4ff2-9d6c-db3dacc82c25)
[16:57:23.461] [ 1] [INFO ] Product Azure AD Connect Synchronization Agent is not installed.
[16:57:23.461] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect Health agent for sync
[16:57:23.461] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:57:23.461] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {114fb294-8aa6-43db-9e5c-4ede5e32886f}: no registered products found.
[16:57:23.461] [ 1] [INFO ] Determining installation action for Azure AD Connect Health agent for sync (114fb294-8aa6-43db-9e5c-4ede5e32886f)
[16:57:23.461] [ 1] [INFO ] Product Azure AD Connect Health agent for sync is not installed.
[16:57:23.461] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure AD Connect Authentication Agent
[16:57:23.461] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:57:23.461] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {0c06f9df-c56b-42c4-a41b-f5f64d01a35c}: no registered products found.
[16:57:23.461] [ 1] [INFO ] Determining installation action for Microsoft Azure AD Connect Authentication Agent (0c06f9df-c56b-42c4-a41b-f5f64d01a35c)
[16:57:23.461] [ 1] [INFO ] Product Microsoft Azure AD Connect Authentication Agent is not installed.
[16:57:23.461] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Command Line Utilities
[16:57:23.461] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:57:23.461] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {52446750-c08e-49ef-8c2e-1e0662791e7b}: no registered products found.
[16:57:23.461] [ 1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Command Line Utilities (52446750-c08e-49ef-8c2e-1e0662791e7b)
[16:57:23.461] [ 1] [INFO ] Product Microsoft SQL Server 2012 Command Line Utilities is not installed.
[16:57:23.461] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Express LocalDB
[16:57:23.461] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:57:23.461] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {c3593f78-0f11-4d8d-8d82-55460308e261}: no registered products found.
[16:57:23.461] [ 1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Express LocalDB (c3593f78-0f11-4d8d-8d82-55460308e261)
[16:57:23.461] [ 1] [INFO ] Product Microsoft SQL Server 2012 Express LocalDB is not installed.
[16:57:23.461] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Native Client
[16:57:23.461] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:57:23.461] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {1d2d1fa0-e158-4798-98c6-a296f55414f9}: no registered products found.
[16:57:23.461] [ 1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Native Client (1d2d1fa0-e158-4798-98c6-a296f55414f9)
[16:57:23.461] [ 1] [INFO ] Product Microsoft SQL Server 2012 Native Client is not installed.
[16:57:23.461] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure AD Connect Authentication Agent
[16:57:23.461] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:57:23.461] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {fb3feca7-5190-43e7-8d4b-5eec88ed9455}: no registered products found.
[16:57:23.461] [ 1] [INFO ] Determining installation action for Microsoft Azure AD Connect Authentication Agent (fb3feca7-5190-43e7-8d4b-5eec88ed9455)
[16:57:23.461] [ 1] [INFO ] Product Microsoft Azure AD Connect Authentication Agent is not installed.
[16:57:23.476] [ 1] [INFO ] Determining installation action for Microsoft Azure AD Connection Tool.
[16:57:23.586] [ 1] [WARN ] Failed to read DisplayName registry key: An error occurred while executing the 'Get-ItemProperty' command. Cannot find path 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MicrosoftAzureADConnectionTool' because it does not exist.
[16:57:23.586] [ 1] [INFO ] Product Microsoft Azure AD Connection Tool is not installed.
[16:57:23.586] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure Active Directory Connect
[16:57:23.586] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:57:23.586] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {d61eb959-f2d1-4170-be64-4dc367f451ea}: verified product code {0f4d6650-8a7c-4c9d-8449-2431b8dff372}.
[16:57:23.586] [ 1] [VERB ] Package=Microsoft Azure AD Connect, Version=1.1.819.0, ProductCode=0f4d6650-8a7c-4c9d-8449-2431b8dff372, UpgradeCode=d61eb959-f2d1-4170-be64-4dc367f451ea
[16:57:23.586] [ 1] [INFO ] Determining installation action for Azure Active Directory Connect (d61eb959-f2d1-4170-be64-4dc367f451ea)
[16:57:23.586] [ 1] [INFO ] Product Azure Active Directory Connect (version 1.1.819.0) is installed.
[16:57:23.586] [ 1] [INFO ] Checking for DirSync conditions.
[16:57:23.586] [ 1] [INFO ] DirSync not detected. Checking for AADSync/AADConnect upgrade conditions.
[16:57:23.586] [ 1] [INFO ] Sync engine is not present. Performing clean install.
[16:57:36.914] [ 1] [INFO ] Page transition from "Welcome" [LicensePageViewModel] to "Express Settings" [ExpressSettingsPageViewModel]
[16:57:37.289] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Start background task Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ExpressSettingsPageViewModel.GatherEnvironmentData in Page:"Express Settings"
[16:57:37.304] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Started Background Task Id:287
[16:57:37.320] [ 13] [INFO ] Checking if machine version is 6.1.7601 or higher
[16:57:37.320] [ 13] [INFO ] The current operating system version is 6.3.9600, the requirement is 6.1.7601.
[16:57:37.320] [ 13] [INFO ] Password Hash Sync supported: 'True'
[16:57:37.367] [ 1] [INFO ] Express Settings install is supported: domain-joined + OS version allowed.
[17:04:12.459] [ 1] [INFO ] Express Settings: Updating page flow for CUSTOM installation.
[17:04:12.460] [ 1] [INFO ] Called SetWizardMode(CustomInstall, True)
[17:04:12.472] [ 1] [WARN ] MicrosoftOnlinePersistedStateProvider.Save: zero state elements provided, saving an empty persisted state file
[17:04:12.536] [ 1] [INFO ] MicrosoftOnlinePersistedStateProvider.UpdateFileProtection: updating file protection from the persisted state file: C:\ProgramData\AADConnect\PersistedState.xml, isAddProtection: True
[17:04:12.547] [ 1] [INFO ] Page transition from "Express Settings" [ExpressSettingsPageViewModel] to "Required Components" [InstallSyncEnginePageViewModel]
[17:09:56.254] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Start background task Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.InstallSyncEnginePageViewModel.StartNewInstallation in Page:"Install required components"
[17:09:56.254] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Started Background Task Id:98063
[17:09:56.832] [ 9] [INFO ] SyncEngineSetupViewModel: Validating sync engine settings.
[17:09:56.863] [ 9] [INFO ] Enter ValidateSqlVersion.
[17:09:56.863] [ 9] [INFO ] Exit ValidateSqlVersion (localdb).
[17:09:56.863] [ 9] [INFO ] Enter ValidateSqlAoaAsyncInstance.
[17:09:56.863] [ 9] [INFO ] Exit ValidateSqlAoaAsyncInstance (localdb).
[17:09:56.863] [ 9] [INFO ] The ADSync database does not exist and will be created. serverAdmin=True.
[17:09:56.863] [ 9] [INFO ] Attaching to the ADSync database: SQLServerName=DoesNotExist SQLInstanceName= ServiceAccountName=, state=, Collation=, /UseExistingDatabase=False.
[17:09:56.863] [ 9] [INFO ] Starting Sync Engine installation
[17:09:56.863] [ 9] [INFO ] Starting Prerequisite installation
[17:09:56.863] [ 9] [VERB ] WorkflowEngine created
[17:09:56.863] [ 9] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure Active Directory Module for Windows PowerShell
[17:09:56.863] [ 9] [VERB ] Getting list of installed packages by upgrade code
[17:09:56.863] [ 9] [INFO ] GetInstalledPackagesByUpgradeCode {bbf5d0bf-d8ae-4e66-91ab-b7023c1f288c}: no registered products found.
[17:09:56.863] [ 9] [INFO ] Determining installation action for Microsoft Azure Active Directory Module for Windows PowerShell
[17:09:56.942] [ 9] [INFO ] CheckInstallationState: Packaged version (1.1.819.0), Installed version (0.0.0).
[17:09:56.942] [ 9] [INFO ] CheckInstallationState: AAD PowerShell will be extracted (1.1.819.0 > 0.0.0).
[17:09:56.942] [ 9] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Visual C++ 2013 Redistributable Package
[17:09:56.942] [ 9] [VERB ] Getting list of installed packages by upgrade code
[17:09:56.942] [ 9] [INFO ] GetInstalledPackagesByUpgradeCode {20400cf0-de7c-327e-9ae4-f0f38d9085f8}: no registered products found.
[17:09:56.942] [ 9] [INFO ] Determining installation action for Microsoft Visual C++ 2013 Redistributable Package (20400cf0-de7c-327e-9ae4-f0f38d9085f8)
[17:09:56.942] [ 9] [INFO ] Product Microsoft Visual C++ 2013 Redistributable Package is not installed.
[17:09:57.004] [ 9] [VERB ] Created task 97f98fc5-58b5-4e5d-97fc-e62c1edd764e with name Install Prerequisites
[17:09:57.004] [ 9] [VERB ] Created task e8598c10-c9f7-4cb8-82e8-47fe1330a460 with name Uninstall Microsoft Online PowerShell Module
[17:09:57.004] [ 9] [VERB ] Created task c2f7d2d2-c5a2-4f4f-ae21-13d0b5c9ab6b with name Install Microsoft Online PowerShell Module
[17:09:57.004] [ 9] [VERB ] Created task f5a85a41-85b9-40ca-82f8-d75f95bd96b8 with name Install Visual C++ Redistributable for Visual Studio 2013
[17:09:57.020] [ 9] [VERB ] Executing task Install Prerequisites
[17:09:57.020] [ 9] [VERB ] Waiting for task to complete: Install Prerequisites
[17:09:57.114] [ 12] [VERB ] Executing task Uninstall Microsoft Online PowerShell Module
[17:09:57.114] [ 13] [INFO ] Task 'Uninstall Microsoft Online PowerShell Module' has finished execution
[17:09:57.114] [ 12] [INFO ] Task 'Uninstall Microsoft Online PowerShell Module' finished successfully
[17:09:57.114] [ 12] [VERB ] Executing task Install Microsoft Online PowerShell Module
[17:09:57.738] [ 5] [INFO ] Task 'Install Microsoft Online PowerShell Module' has finished execution
[17:09:57.738] [ 12] [INFO ] Task 'Install Microsoft Online PowerShell Module' finished successfully
[17:09:57.738] [ 12] [VERB ] Executing task Install Visual C++ Redistributable for Visual Studio 2013
[17:10:01.926] [ 6] [INFO ] Task 'Install Visual C++ Redistributable for Visual Studio 2013' has finished execution
[17:10:01.926] [ 12] [INFO ] Task 'Install Visual C++ Redistributable for Visual Studio 2013' finished successfully
[17:10:01.926] [ 12] [INFO ] Task 'Install Prerequisites' has finished execution
[17:10:01.926] [ 9] [VERB ] Waited 0:00:04.9062577 for task to complete: Install Prerequisites
[17:10:01.942] [ 9] [INFO ] Starting Sync Engine installation
[17:10:10.817] [ 9] [INFO ] IsManagedServiceAccountSupported: OS > W2008R2
[17:10:10.817] [ 9] [INFO ] IsManagedServiceAccountSupported: True
[17:10:10.879] [ 9] [INFO ] ServiceControllerProvider: InvalidOperationException on serviceController.Status property means the service ADSync was not found
[17:10:10.895] [ 9] [INFO ] ServiceControllerProvider:CreateService - serviceName:ADSync, username:NT SERVICE\ADSync, assemblyPath:C:\Program Files\Microsoft Azure Active Directory Connect\ADSyncBootstrap.exe
[17:10:10.926] [ 9] [INFO ] ServiceControllerProvider: Processing StartService request for: ADSync
[17:10:10.926] [ 9] [VERB ] ServiceControllerProvider: Initial service status: Stopped
[17:10:10.926] [ 9] [VERB ] ServiceControllerProvider: Starting service and waiting for completion.
[17:10:13.504] [ 9] [INFO ] ServiceControllerProvider: StartService status: Running
[17:10:17.035] [ 9] [INFO ] ServiceControllerProvider: service ADSync exists
[17:10:17.035] [ 9] [INFO ] ServiceControllerProvider: processing StopService request for: ADSync
[17:10:17.035] [ 9] [VERB ] ServiceControllerProvider: Initial service status: Running
[17:10:17.035] [ 9] [VERB ] ServiceControllerProvider: stopping service and waiting for completion.
[17:10:17.317] [ 9] [INFO ] ServiceControllerProvider: StopService status: Stopped
[17:10:17.317] [ 9] [INFO ] ServiceControllerProvider:DeleteService - serviceName:ADSync
[17:10:27.332] [ 9] [INFO ] ServiceControllerProvider: InvalidOperationException on serviceController.Status property means the service ADSync was not found
[17:10:27.332] [ 9] [INFO ] ServiceControllerProvider:DeleteService successful - serviceName:ADSync
[17:10:27.457] [ 9] [INFO ] ServiceControllerProvider:CreateService - serviceName:ADSync, username:NT SERVICE\ADSync, assemblyPath:C:\Program Files\Microsoft Azure Active Directory Connect\ADSyncBootstrap.exe
[17:10:27.473] [ 9] [INFO ] ServiceControllerProvider: Processing StartService request for: ADSync
[17:10:27.473] [ 9] [VERB ] ServiceControllerProvider: Initial service status: Stopped
[17:10:27.473] [ 9] [VERB ] ServiceControllerProvider: Starting service and waiting for completion.
[17:10:27.895] [ 9] [INFO ] ServiceControllerProvider: StartService status: Running
[17:10:44.098] [ 9] [INFO ] ServiceControllerProvider: processing StopService request for: ADSync
[17:10:44.098] [ 9] [VERB ] ServiceControllerProvider: Initial service status: Running
[17:10:44.098] [ 9] [VERB ] ServiceControllerProvider: stopping service and waiting for completion.
[17:10:44.364] [ 9] [INFO ] ServiceControllerProvider: StopService status: Stopped
[17:10:44.364] [ 9] [INFO ] ServiceControllerProvider: Processing StartService request for: ADSync
[17:10:44.364] [ 9] [VERB ] ServiceControllerProvider: Initial service status: Stopped
[17:10:44.364] [ 9] [VERB ] ServiceControllerProvider: Starting service and waiting for completion.
[17:10:44.817] [ 9] [INFO ] ServiceControllerProvider: StartService status: Running
[17:10:44.957] [ 9] [INFO ] ServiceControllerProvider: processing StopService request for: ADSync
[17:10:44.957] [ 9] [VERB ] ServiceControllerProvider: Initial service status: Running
[17:10:44.957] [ 9] [VERB ] ServiceControllerProvider: stopping service and waiting for completion.
[17:10:45.223] [ 9] [INFO ] ServiceControllerProvider: StopService status: Stopped
[17:10:45.223] [ 9] [INFO ] ServiceControllerProvider:DeleteService - serviceName:ADSync
[17:10:55.254] [ 9] [INFO ] ServiceControllerProvider: InvalidOperationException on serviceController.Status property means the service ADSync was not found
[17:10:55.254] [ 9] [INFO ] ServiceControllerProvider:DeleteService successful - serviceName:ADSync
[17:10:55.254] [ 9] [INFO ] BuildMsiArguments: Setting Sync Engine MSI parameters for clean installation
[17:11:05.067] [ 9] [INFO ] InstallSyncEngineStage: Sync Engine was successfully installed.
[17:11:05.067] [ 9] [INFO ] DetectInstalledComponents: Marking Sync Engine as successfully installed.
[17:11:05.067] [ 1] [INFO ] Page transition from "Required Components" [InstallSyncEnginePageViewModel] to "User Sign-In" [SelectSignInPageViewModel]
[17:11:05.082] [ 1] [INFO ] Checking if machine version is 6.1.7601 or higher
[17:11:05.082] [ 1] [INFO ] The current operating system version is 6.3.9600, the requirement is 6.1.7601.
[17:11:05.082] [ 1] [INFO ] Password Hash Sync supported: 'True'
[17:11:05.317] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Start background task Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.SelectSignInPageViewModel.ExamineEnvironment in Page:"User sign-in"
[17:11:05.317] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Started Background Task Id:98343
[17:11:05.317] [ 14] [INFO ] Checking if machine version is 6.1.7601 or higher
[17:11:05.317] [ 14] [INFO ] The current operating system version is 6.3.9600, the requirement is 6.1.7601.
[17:11:05.317] [ 14] [INFO ] Password Hash Sync supported: 'True'
[17:11:05.317] [ 14] [INFO ] Checking if machine version is 6.3.9600 or higher
[17:11:05.317] [ 14] [INFO ] The current operating system version is 6.3.9600, the requirement is 6.3.9600.
[17:11:05.317] [ 14] [INFO ] Pass-through authentication supported: 'True'
[11:11:53.514] [ 1] [INFO ] Page transition from "User Sign-In" [SelectSignInPageViewModel] to "Required Components" [InstallSyncEnginePageViewModel]
[11:11:58.014] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Start background task Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.InstallSyncEnginePageViewModel.InstallMissingComponents in Page:"Install required components"
[11:11:58.014] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Started Background Task Id:99822
[11:11:58.014] [ 12] [INFO ] Starting Sync Engine installation
[11:11:58.014] [ 12] [INFO ] Starting Prerequisite installation
[11:11:58.014] [ 12] [VERB ] WorkflowEngine created
[11:11:58.014] [ 12] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure Active Directory Module for Windows PowerShell
[11:11:58.014] [ 12] [VERB ] Getting list of installed packages by upgrade code
[11:11:58.014] [ 12] [INFO ] GetInstalledPackagesByUpgradeCode {bbf5d0bf-d8ae-4e66-91ab-b7023c1f288c}: no registered products found.
[11:11:58.014] [ 12] [INFO ] Determining installation action for Microsoft Azure Active Directory Module for Windows PowerShell
[11:11:58.130] [ 12] [INFO ] CheckInstallationState: Packaged version (1.1.819.0), Installed version (1.1.819.0).
[11:11:58.133] [ 12] [INFO ] CheckInstallationState: AAD PowerShell is up to date (1.1.819.0 <= 1.1.819.0).
[11:11:58.133] [ 12] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Visual C++ 2013 Redistributable Package
[11:11:58.133] [ 12] [VERB ] Getting list of installed packages by upgrade code
[11:11:58.133] [ 12] [INFO ] GetInstalledPackagesByUpgradeCode {20400cf0-de7c-327e-9ae4-f0f38d9085f8}: verified product code {a749d8e6-b613-3be3-8f5f-045c84eba29b}.
[11:11:58.133] [ 12] [VERB ] Package=Microsoft Visual C++ 2013 x64 Minimum Runtime - 12.0.21005, Version=12.0.21005, ProductCode=a749d8e6-b613-3be3-8f5f-045c84eba29b, UpgradeCode=20400cf0-de7c-327e-9ae4-f0f38d9085f8
[11:11:58.133] [ 12] [INFO ] Determining installation action for Microsoft Visual C++ 2013 Redistributable Package (20400cf0-de7c-327e-9ae4-f0f38d9085f8)
[11:11:58.133] [ 12] [INFO ] Product Microsoft Visual C++ 2013 Redistributable Package (version 12.0.21005) is installed.
[11:11:58.134] [ 1] [INFO ] Page transition from "Required Components" [InstallSyncEnginePageViewModel] to "User Sign-In" [SelectSignInPageViewModel]
[11:11:58.137] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Start background task Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.SelectSignInPageViewModel.ExamineEnvironment in Page:"User sign-in"
[11:11:58.137] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Started Background Task Id:99882
[11:11:58.137] [ 15] [INFO ] Checking if machine version is 6.1.7601 or higher
[11:11:58.137] [ 15] [INFO ] The current operating system version is 6.3.9600, the requirement is 6.1.7601.
[11:11:58.137] [ 15] [INFO ] Password Hash Sync supported: 'True'
[11:11:58.137] [ 15] [INFO ] Checking if machine version is 6.3.9600 or higher
[11:11:58.137] [ 15] [INFO ] The current operating system version is 6.3.9600, the requirement is 6.3.9600.
[11:11:58.137] [ 15] [INFO ] Pass-through authentication supported: 'True'
[11:13:24.055] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Start background task Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.SelectSignInPageViewModel.InitializeContext in Page:"User sign-in"
[11:13:24.055] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Started Background Task Id:101038
[11:13:24.055] [ 1] [INFO ] Page transition from "User Sign-In" [SelectSignInPageViewModel] to "Connect to Azure AD" [AzureTenantPageViewModel]
[11:13:24.148] [ 1] [WARN ] Failed to read IAzureActiveDirectoryContext.AzureADUsername registry key: An error occurred while executing the 'Get-ItemProperty' command. Property IAzureActiveDirectoryContext.AzureADUsername does not exist at path HKEY_CURRENT_USER\SOFTWARE\Microsoft\Azure AD Connect.
[11:13:24.164] [ 1] [INFO ] Property Username failed validation with error The Microsoft Azure account name cannot be empty.
[11:14:40.500] [ 1] [INFO ] Property Username failed validation with error Username must be in the format [email protected] or [email protected]
[11:14:43.652] [ 1] [INFO ] Property Password failed validation with error A Microsoft Azure password is required.
[11:14:57.306] [ 15] [INFO ] AzureTenantPage: Beginning Windows Azure tenant credential validation for user - [email protected]
[11:14:57.853] [ 15] [INFO ] DiscoverAzureInstance [Worldwide]: authority=https://login.windows.net/xxxxxx.net, awsServiceResource=https://graph.windows.net. Resolution Method [AzureInstanceDiscovery]: Cloud Instance Name (microsoftonline.com), Tenant Region Scope (NA), Token Endpoint (https://login.microsoftonline.com/25373168-6cb3-482f-997f-0b35f6554b5d/oauth2/token).
[11:14:57.853] [ 15] [INFO ] Authenticate: ADAL authentication is enabled.
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:57: - AuthenticationContext: ADAL .NET with assembly version '2.28.4.987', file version '2.28.40321.0002' and informational version 'ca958f54ae76842308c689314b0f33bfdb97e64b' is running...
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:57: - TokenCache: Clearing Cache :- 0 items to be removed
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:57: - TokenCache: Successfully Cleared Cache
[11:14:57.885] [ 15] [INFO ] Authenticate-ADAL: acquiring token using explicit tenant credentials.
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:57: edda0f56-6e4b-4e46-b96b-47689ec1266f - AcquireTokenHandlerBase: === Token Acquisition started:
Authority: https://login.windows.net/xxxxxx.net/
Resource: https://graph.windows.net
ClientId: cb1056e2-e479-49de-ae31-7812af012ed8
CacheType: Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache (0 items)
Authentication Target: User
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: edda0f56-6e4b-4e46-b96b-47689ec1266f - TokenCache: Looking up cache for a token...
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: edda0f56-6e4b-4e46-b96b-47689ec1266f - TokenCache: No matching token was found in the cache
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: edda0f56-6e4b-4e46-b96b-47689ec1266f - <CreateByDiscoveryAsync>d__0: Sending user realm discovery request to 'https://login.windows.net/common/UserRealm/[email protected]?api-version=1.0'
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: edda0f56-6e4b-4e46-b96b-47689ec1266f - <PreTokenRequest>d__4: User with hash 'U7a7IyfadWJFh7US9ymsaCaO+P2Ut0K2Gq3SAv9aPoI=' detected as 'Managed'
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: edda0f56-6e4b-4e46-b96b-47689ec1266f - TokenCache: Storing token in the cache...
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: edda0f56-6e4b-4e46-b96b-47689ec1266f - TokenCache: An item was stored in the cache
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: edda0f56-6e4b-4e46-b96b-47689ec1266f - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
Access Token Hash: JL/geVVdT2D/4RcrduBbE6kRwJ4BghjwfC8XfHrjWPI=
Refresh Token Hash: NC8+86LGpgZTnr9GaRWqbpHJ4E6J41929DEPChLvFmI=
Expiration Time: 08/03/2018 19:14:57 +00:00
User Hash: bABod7AA92HaXqDgPwoZ2e96H0LLZSlXbJ1BaE1JFYs=
[11:14:58.697] [ 15] [INFO ] Authenticate-ADAL: retrieving company configuration for tenant=25373168-6cb3-482f-997f-0b35f6554b5d.
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: e9a1be01-307e-4ef3-9019-369f9687987d - AcquireTokenHandlerBase: === Token Acquisition started:
Authority: https://login.windows.net/xxxxxx.net/
Resource: https://graph.windows.net
ClientId: cb1056e2-e479-49de-ae31-7812af012ed8
CacheType: Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache (1 items)
Authentication Target: User
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: e9a1be01-307e-4ef3-9019-369f9687987d - TokenCache: Looking up cache for a token...
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: e9a1be01-307e-4ef3-9019-369f9687987d - TokenCache: An item matching the requested resource was found in the cache
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: e9a1be01-307e-4ef3-9019-369f9687987d - TokenCache: 59.9820313066667 minutes left until token in cache expires
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: e9a1be01-307e-4ef3-9019-369f9687987d - TokenCache: A matching item (access token or refresh token or both) was found in the cache
AzureADConnect.exe Information: 0 : 08/03/2018 18:14:58: e9a1be01-307e-4ef3-9019-369f9687987d - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
Access Token Hash: JL/geVVdT2D/4RcrduBbE6kRwJ4BghjwfC8XfHrjWPI=
Refresh Token Hash: NC8+86LGpgZTnr9GaRWqbpHJ4E6J41929DEPChLvFmI=
Expiration Time: 08/03/2018 19:14:57 +00:00
User Hash: bABod7AA92HaXqDgPwoZ2e96H0LLZSlXbJ1BaE1JFYs=
[11:15:00.447] [ 15] [INFO ] Authenticate: tenantId=(25373168-6cb3-482f-997f-0b35f6554b5d), IsDirSyncing=False, IsPasswordSyncing=False, DomainName=, DirSyncFeatures=0, AllowedFeatures=None.
[11:15:00.447] [ 15] [INFO ] AzureTenantPage: attempting to connect to Azure via AAD PowerShell.
[11:15:00.463] [ 15] [INFO ] DiscoverAzureEndpoints [AzurePowerShell]: ServiceEndpoint=https://provisioningapi.microsoftonline.com/provisioningwebservice.svc, AdalAuthority=https://login.windows.net/xxxxxx.net, AdalResource=https://graph.windows.net.
[11:15:00.463] [ 15] [INFO ] AcquireServiceToken [AzurePowerShell]: acquiring additional service token.
AzureADConnect.exe Information: 0 : 08/03/2018 18:15:00: e3da965a-e35c-4f5f-82d2-077256ce5f64 - AcquireTokenHandlerBase: === Token Acquisition started:
Authority: https://login.windows.net/xxxxxx.net/
Resource: https://graph.windows.net
ClientId: cb1056e2-e479-49de-ae31-7812af012ed8
CacheType: Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache (1 items)
Authentication Target: User
AzureADConnect.exe Information: 0 : 08/03/2018 18:15:00: e3da965a-e35c-4f5f-82d2-077256ce5f64 - TokenCache: Looking up cache for a token...
AzureADConnect.exe Information: 0 : 08/03/2018 18:15:00: e3da965a-e35c-4f5f-82d2-077256ce5f64 - TokenCache: An item matching the requested resource was found in the cache
AzureADConnect.exe Information: 0 : 08/03/2018 18:15:00: e3da965a-e35c-4f5f-82d2-077256ce5f64 - TokenCache: 59.9536458633333 minutes left until token in cache expires
AzureADConnect.exe Information: 0 : 08/03/2018 18:15:00: e3da965a-e35c-4f5f-82d2-077256ce5f64 - TokenCache: A matching item (access token or refresh token or both) was found in the cache
AzureADConnect.exe Information: 0 : 08/03/2018 18:15:00: e3da965a-e35c-4f5f-82d2-077256ce5f64 - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
Access Token Hash: JL/geVVdT2D/4RcrduBbE6kRwJ4BghjwfC8XfHrjWPI=
Refresh Token Hash: NC8+86LGpgZTnr9GaRWqbpHJ4E6J41929DEPChLvFmI=
Expiration Time: 08/03/2018 19:14:57 +00:00
User Hash: bABod7AA92HaXqDgPwoZ2e96H0LLZSlXbJ1BaE1JFYs=
[11:15:00.463] [ 15] [INFO ] PowerShellHelper.ConnectMsolService: Connecting using an AccessToken. AzureEnvironment=0.
AzureADConnect.exe Information: 0 : 08/03/2018 18:15:00: - AuthenticationContext: ADAL .NET with assembly version '2.28.1.741', file version '2.28.30726.1426' and informational version '98c53b8a9386f556c4187786cece386358b1c8e7' is running...
[11:15:01.572] [ 15] [INFO ] AzureTenantPage: successfully connected to Azure via AAD PowerShell.
[11:15:02.322] [ 15] [INFO ] AzureTenantPage: Successfully retrieved company information for tenant 25373168-6cb3-482f-997f-0b35f6554b5d. Initial domain (xxxxxx.onmicrosoft.com).
[11:15:02.322] [ 15] [INFO ] AzureTenantPage: DirectorySynchronizationEnabled=False
[11:15:02.322] [ 15] [INFO ] AzureTenantPage: DirectorySynchronizationStatus=Disabled
[11:15:02.338] [ 15] [INFO ] PowershellHelper: lastDirectorySyncTime=null
[11:15:02.525] [ 15] [INFO ] AzureTenantPage: Successfully retrieved 3 domains from the tenant.
[11:15:02.525] [ 15] [INFO ] Calling to get the last dir sync time for the current user
[11:15:02.775] [ 15] [INFO ] MicrosoftOnlinePersistedStateProvider.Save: saving the persisted state file
[11:15:02.775] [ 15] [INFO ] MicrosoftOnlinePersistedStateProvider.UpdateFileProtection: updating file protection from the persisted state file: C:\ProgramData\AADConnect\PersistedState.xml, isAddProtection: False
[11:15:02.775] [ 15] [INFO ] MicrosoftOnlinePersistedStateProvider.UpdateFileProtection: updating file protection from the persisted state file: C:\ProgramData\AADConnect\PersistedState.xml, isAddProtection: True
[11:15:07.010] [ 15] [INFO ] Retrieved Azure AD connector (xxxxxx.onmicrosoft.com - AAD).
[11:15:07.010] [ 15] [INFO ] SyncDataProvider: Calling refresh schema on connector xxxxxx.onmicrosoft.com - AAD
[11:15:07.635] [ 15] [INFO ] SyncDataProvider: Successfully refreshed schema on connector xxxxxx.onmicrosoft.com - AAD
[11:15:07.635] [ 15] [INFO ] AzureTenantPage: Windows Azure tenant credentials validation succeeded.
[11:15:07.635] [ 1] [INFO ] Page transition from "Connect to Azure AD" [AzureTenantPageViewModel] to "Connect Directories" [ConfigSyncDirectoriesPageViewModel]
[11:15:07.760] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Start background task Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ConfigSyncDirectoriesPageViewModel.GetAvailableForests in Page:"Connect your directories"
[11:15:07.760] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Started Background Task Id:108999
[11:28:54.165] [ 1] [INFO ] Property Hostname failed validation with error A hostname is required.
[11:29:29.505] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Start background task Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ConfigSyncDirectoriesPageViewModel.ValidateDirectoryConnection in Page:"Connect your directories"
[11:29:29.506] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Started Background Task Id:322594
[11:29:29.507] [ 22] [INFO ] ConfigSyncDirectoriesPageViewModel:ValidateDirectoryConnection:
[11:29:29.507] [ 22] [INFO ] DirectoryType=AD
[11:29:29.507] [ 22] [INFO ] Username=xxx.LOC\xxx-xxxxxxxx
[11:29:29.507] [ 22] [INFO ] AutoCreateConnectorAccount=True
[11:29:29.507] [ 22] [INFO ] Forest=xxx.loc
[11:29:29.547] [ 22] [INFO ] ActiveDirectoryProvider.GetRootDomainName: getting user root domain name
[11:29:29.563] [ 22] [INFO ] ActiveDirectoryProvider.GetRootDomainName: user root domain - xxx.loc
[11:29:29.563] [ 22] [INFO ] ActiveDirectoryProvider.IsUserGroupMember: checking if xxx.LOC\xxx-xxxxxxx has AccountEnterpriseAdminsSid privileges in xxx.loc
[11:29:29.641] [ 22] [INFO ] ActiveDirectoryProvider.IsUserGroupMember: domain sid - S-1-5-21-74957240-1171214774-3195226597, group sid - S-1-5-21-74957240-1171214774-3195226597-519
[11:29:29.641] [ 22] [INFO ] ActiveDirectoryProvider.GetGroupMembershipSidsForUser: retrieving group membership SIDs from AD
[11:29:29.641] [ 22] [INFO ] ActiveDirectoryProvider.IsUserGroupMember: found membership - user is a member of the group
[11:29:29.781] [ 22] [INFO ] Validating forest with FQDN xxx.loc
[11:29:29.797] [ 22] [INFO ] Examining domain xxx.loc (:0% complete)
[11:29:29.797] [ 22] [INFO ] ValidateForest: using xxx-DC02.xxx.loc to validate domain xxx.loc
[11:29:29.812] [ 22] [INFO ] Successfully examined domain xxx.loc GUID:9a9aa2f2-0c38-4c25-930f-0dd011e24c3b DN:DC=xxx,DC=loc
[11:29:29.812] [ 22] [INFO ] ValidateForest returned 1 reachable and 0 unreachable domains.
[11:29:29.828] [ 22] [INFO ] validForest=True
[11:29:29.828] [ 22] [VERB ] GetAdminCredential called with account xxx.loc\xxx-xxxxxxxx
[11:29:29.828] [ 22] [VERB ] AdministratorUsername is in NTAccount format.
[11:29:29.828] [ 22] [VERB ] GetAdminCredential returning account xxx.loc\xxx-xxxxxxxx
[11:29:29.828] [ 22] [INFO ] Creating AD Connector account for xxx.loc.
[11:29:29.906] [ 22] [WARN ] Failed to read SyncMachineIdentifier registry key: An error occurred while executing the 'Get-ItemProperty' command. Property SyncMachineIdentifier does not exist at path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Azure AD Connect.
[11:29:29.953] [ 22] [VERB ] CreateADConnectorAccount(System.Net.NetworkCredential, d51e56e759004a4db1b4c29eda99f524, xxxxxx.net)
[11:29:30.062] [ 22] [INFO ] AD Connector account will have account name xxx.loc\MSOL_d51e56e75900
[11:29:30.391] [ 22] [INFO ] AD Connector account was created successfully.
[11:29:30.391] [ 22] [INFO ] GrantAllActiveDirectoryPermissions: Granting DsReplicationGetChanges permission on all domains for password hash synchronization.
[11:29:30.469] [ 22] [INFO ] GrantAllActiveDirectoryPermissions: Granting DsReplicationGetChangesAll permission on all domains for password hash synchronization.
[11:29:30.500] [ 22] [INFO ] GrantAllActiveDirectoryPermissions: Granting DsResetPassword permission on all domains for password writeback.
[11:29:30.531] [ 22] [INFO ] GrantAllActiveDirectoryPermissions: Granting write permissions for 'user' attribute of (lockoutTime, pwdLastSet) object type on all domains for password writeback.
[11:29:30.656] [ 22] [INFO ] GrantAllActiveDirectoryPermissions: Granting read/write permissions for all attributes of (contact, group, inetorgperson, user) object type on all domains for Hybrid Exchange.
[11:29:30.859] [ 22] [INFO ] GrantAllActiveDirectoryPermissions: Granting read/write permissions for 'user' attribute of (mS-DS-ConsistencyGuid) object type on all domains for mS-DS-ConsistencyGuid feature
[11:29:30.937] [ 22] [INFO ] GrantAllActiveDirectoryPermissions: Granting read permissions for all attributes of (publicFolder) object type on all domains for Exchange Mail Public Folder.
[11:29:30.937] [ 22] [INFO ] GrantAllActiveDirectoryPermissions: Granting read permissions for all attributes of (publicFolder) object type on all domains for Exchange Mail Public Folder failed as object type publicFolder was not found.
[11:29:32.484] [ 22] [INFO ] AD Connector account permissions restricted successfully.
[11:29:32.484] [ 22] [INFO ] AD Connector Username=xxx.loc\MSOL_d51e56e75900 created and given permissions.
[11:29:32.484] [ 22] [INFO ] Exit ConfigSyncDirectoriesPageViewModel:ValidateDirectoryConnection:
[11:29:36.828] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Start background task Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ConfigSyncDirectoriesPageViewModel.WaitForTaskCompletion in Page:"Connect your directories"
[11:29:36.828] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Started Background Task Id:322753
AzureADConnect.exe Information: 0 : Management Agent Created: C:\Program Files\Microsoft Azure Active Directory Connect\SetupFiles\MA-ADDSTemplate.xml.
[11:29:37.766] [ 14] [INFO ] SyncDataProvider: Calling refresh schema on connector xxx.loc
[11:29:39.469] [ 14] [ERROR] ConfigSyncDirectoriesPage: Caught exception while creating the connector for given directory.
Exception Data (Raw): System.Management.Automation.CmdletInvocationException: Failed to retrieve schema.<error><error><incident><connection-result>failed-authentication</connection-result><date>2018-08-03 18:29:37.875</date><server>xxx.loc:389</server><cd-error><error-code>0x31</error-code>
<error-literal>Invalid Credentials</error-literal>
</cd-error></incident></error></error> ---> Microsoft.IdentityManagement.PowerShell.ObjectModel.SynchronizationConfigurationValidationException: Failed to retrieve schema.<error><error><incident><connection-result>failed-authentication</connection-result><date>2018-08-03 18:29:37.875</date><server>xxx.loc:389</server><cd-error><error-code>0x31</error-code>
<error-literal>Invalid Credentials</error-literal>
</cd-error></incident></error></error>
at Microsoft.DirectoryServices.MetadirectoryServices.UI.WebServices.MMSWebService.GetSchemaFromDirectory(Connector connector, Boolean commit)
at Microsoft.IdentityManagement.PowerShell.Cmdlet.UpdateADSyncConnectorSchemaCmdlet.ProcessRecord()
--- End of inner exception stack trace ---
at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.Invoke(IEnumerable input, PSInvocationSettings settings)
at Microsoft.Online.Deployment.PowerShell.LocalPowerShell.Invoke()
at Microsoft.Online.Deployment.PowerShell.PowerShellAdapter.TypeDependencies.InvokePowerShell(IPowerShell powerShell)
at Microsoft.Online.Deployment.PowerShell.PowerShellAdapter.InvokePowerShellCommand(String commandName, InitialSessionState initialSessionState, IDictionary`2 commandParameters, Boolean isScript)
at Microsoft.Azure.ActiveDirectory.Synchronization.PowerShellConfigAdapter.ConnectorConfigAdapter.UpdateConnectorSchema(Connector connector)
at Microsoft.Azure.ActiveDirectory.Synchronization.Config.ConnectorAdapterBase.UpdateConnectorSchema()
at Microsoft.Online.Deployment.Types.Providers.SyncDataProvider.UpdateConnectorSchema(ConnectorAdapterBase connectorAdapter)
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ConfigSyncDirectoriesPageViewModel.CreateADDSConnector(IDirectoryConnection directory)
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ConfigSyncDirectoriesPageViewModel.CreateConnectors(Object obj)
[11:29:39.500] [ 17] [INFO ] Page transition from "Connect Directories" [ConfigSyncDirectoriesPageViewModel] to "Azure AD sign-in" [UserSignInConfigPageViewModel]
[11:29:39.500] [ 17] [ERROR] RootWizardPageViewModel: An unhandled exception occurred during a page load.
Exception Data (Raw): System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.UserSignInConfigPageViewModel.OnLoad(NavigateDirection direction)
at Microsoft.Online.Deployment.Framework.UI.WizardPages.RootWizardPageViewModel.ActivatePage(IWizardPage page, NavigateDirection direction)
[11:29:39.547] [ 17] [ERROR] A terminating unhandled exception occurred.
Exception Data (Raw): System.AggregateException: One or more errors occurred. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.UserSignInConfigPageViewModel.OnLoad(NavigateDirection direction)
at Microsoft.Online.Deployment.Framework.UI.WizardPages.RootWizardPageViewModel.ActivatePage(IWizardPage page, NavigateDirection direction)
at Microsoft.Online.Deployment.Framework.UI.WizardPages.RootWizardPageViewModel.MoveNext()
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ConfigSyncDirectoriesPageViewModel.WaitForTaskCompletion(Task task)
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.UserSignInConfigPageViewModel.OnLoad(NavigateDirection direction)
at Microsoft.Online.Deployment.Framework.UI.WizardPages.RootWizardPageViewModel.ActivatePage(IWizardPage page, NavigateDirection direction)
at Microsoft.Online.Deployment.Framework.UI.WizardPages.RootWizardPageViewModel.MoveNext()
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ConfigSyncDirectoriesPageViewModel.WaitForTaskCompletion(Task task)
at System.Threading.Tasks.Task.Execute()<---
[11:29:39.594] [ 1] [INFO ] Page transition from "Azure AD sign-in" [UserSignInConfigPageViewModel] to "Error" [ErrorPageViewModel]
推荐答案
这篇关于ArgumentOutOfRangeException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!