none
Azure AD upgrade from DirSync failing

    Question

  • Hello,

    Attempting to install Azure AD Connect on a new server to replace our DirSync server. New server is Win2012R2; meets prerequisites already. I had successfully completed the install for parallel deployment previously but had an issue with the server and had to rebuild it. During the rebuild process I'm now unable to complete a successful install of AAD. I am using the same account currently used by our DirSync server for access to Azure AD and for AD DS. At the end of the install after "Installing Synchronization Service" I receive an error "Exception has been thrown by the target of an invocation". The output of the log file is below. It appears there's some kind of access problem but I'm not sure where it would be. The account I'm logged on to the new server is the same one we use on our DirSync server so it has Enterprise Admin access and local administrator access. Please advise!

    [11:44:40.910] [  1] [INFO ] 
    [11:44:40.910] [  1] [INFO ] ================================================================================
    [11:44:40.910] [  1] [INFO ] Application starting
    [11:44:40.910] [  1] [INFO ] ================================================================================
    [11:44:40.910] [  1] [INFO ] Start Time (Local): Thu, 23 Mar 2017 11:44:40 GMT
    [11:44:40.910] [  1] [INFO ] Start Time (UTC): Thu, 23 Mar 2017 15:44:40 GMT
    [11:44:40.910] [  1] [INFO ] Application Version: 1.1.189.0
    [11:44:40.910] [  1] [INFO ] Application Build Date: 2016-05-25 23:27:31Z
    [11:44:40.910] [  1] [INFO ] Application Build Identifier: AD-IAM-HybridSync master (8c7d30d)
    [11:44:41.489] [  1] [INFO ] machine.config path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config.
    [11:44:41.489] [  1] [INFO ] Default Proxy [ProxyAddress]: <Unspecified>
    [11:44:41.489] [  1] [INFO ] Default Proxy [UseSystemDefault]: Unspecified
    [11:44:41.489] [  1] [INFO ] Default Proxy [BypassOnLocal]: Unspecified
    [11:44:41.489] [  1] [INFO ] Default Proxy [Enabled]: True
    [11:44:41.489] [  1] [INFO ] Default Proxy [AutoDetect]: Unspecified
    [11:44:41.551] [  1] [INFO ] AADConnect changes ALLOWED: Successfully acquired the configuration change mutex.
    [11:44:41.598] [  1] [INFO ] RootPageViewModel.GetInitialPages: Beginning detection for creating initial pages.
    [11:44:41.614] [  1] [INFO ] Checking if machine version is 6.1.7601 or higher
    [11:44:41.630] [  1] [INFO ] The current operating system version is 6.3.9600, the requirement is 6.1.7601.
    [11:44:41.630] [  1] [INFO ] Password Sync supported: 'True'
    [11:44:41.645] [  1] [INFO ] DetectInstalledComponents stage: The installed OS SKU is 7
    [11:44:41.645] [  1] [INFO ] DetectInstalledComponents stage: Checking install context.
    [11:44:41.645] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Online Services Sign-In Assistant for IT Professionals
    [11:44:41.661] [  1] [VERB ] Getting list of installed packages by upgrade code
    [11:44:41.661] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {03c97135-0e31-4334-9215-63827d4f07d4}: no registered products found.
    [11:44:41.661] [  1] [INFO ] Determining installation action for Microsoft Online Services Sign-In Assistant for IT Professionals (03c97135-0e31-4334-9215-63827d4f07d4)
    [11:44:41.661] [  1] [INFO ] Product Microsoft Online Services Sign-In Assistant for IT Professionals is not installed.
    [11:44:41.661] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure Active Directory Module for Windows PowerShell
    [11:44:41.661] [  1] [VERB ] Getting list of installed packages by upgrade code
    [11:44:41.661] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {bbf5d0bf-d8ae-4e66-91ab-b7023c1f288c}: no registered products found.
    [11:44:41.661] [  1] [INFO ] Determining installation action for Microsoft Azure Active Directory Module for Windows PowerShell
    [11:44:41.739] [  1] [INFO ] CheckInstallationState: Packaged version (1.1.189.0), Installed version (0.0.0).
    [11:44:41.739] [  1] [INFO ] CheckInstallationState: AAD PowerShell will be extracted (1.1.189.0 > 0.0.0).
    [11:44:41.739] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Visual C++ 2013 Redistributable Package
    [11:44:41.739] [  1] [VERB ] Getting list of installed packages by upgrade code
    [11:44:41.739] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {20400cf0-de7c-327e-9ae4-f0f38d9085f8}: verified product code {a749d8e6-b613-3be3-8f5f-045c84eba29b}.
    [11:44:41.739] [  1] [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:44:41.739] [  1] [INFO ] Determining installation action for Microsoft Visual C++ 2013 Redistributable Package (20400cf0-de7c-327e-9ae4-f0f38d9085f8)
    [11:44:41.739] [  1] [INFO ] Product Microsoft Visual C++ 2013 Redistributable Package (version 12.0.21005) is installed.
    [11:44:41.739] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Directory Sync Tool
    [11:44:41.739] [  1] [VERB ] Getting list of installed packages by upgrade code
    [11:44:41.739] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}: no registered products found.
    [11:44:41.739] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}: no registered products found.
    [11:44:41.739] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {545334d7-13cd-4bab-8da1-2775fa8cf7c2}: no registered products found.
    [11:44:41.755] [  1] [INFO ] Determining installation action for Microsoft Directory Sync Tool UpgradeCodes {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}, {dc9e604e-37b0-4efc-b429-21721cf49d0d}
    [11:44:41.755] [  1] [INFO ] DirectorySyncComponent: Product Microsoft Directory Sync Tool is not installed.
    [11:44:41.755] [  1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Sync Engine
    [11:44:41.755] [  1] [VERB ] Getting list of installed packages by upgrade code
    [11:44:41.755] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {545334d7-13cd-4bab-8da1-2775fa8cf7c2}: no registered products found.
    [11:44:41.755] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}: no registered products found.
    [11:44:41.755] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}: no registered products found.
    [11:44:41.755] [  1] [INFO ] Determining installation action for Azure AD Sync Engine (545334d7-13cd-4bab-8da1-2775fa8cf7c2)
    [11:44:41.927] [  1] [INFO ] Product Azure AD Sync Engine is not installed.
    [11:44:42.036] [  1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect Health agent for sync
    [11:44:42.036] [  1] [VERB ] Getting list of installed packages by upgrade code
    [11:44:42.036] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {114fb294-8aa6-43db-9e5c-4ede5e32886f}: no registered products found.
    [11:44:42.036] [  1] [INFO ] Determining installation action for Azure AD Connect Health agent for sync (114fb294-8aa6-43db-9e5c-4ede5e32886f)
    [11:44:42.036] [  1] [INFO ] Product Azure AD Connect Health agent for sync is not installed.
    [11:44:42.036] [  1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect agent
    [11:44:42.036] [  1] [VERB ] Getting list of installed packages by upgrade code
    [11:44:42.036] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {a8b03820-e701-44d7-b65e-6ffbb866a861}: no registered products found.
    [11:44:42.036] [  1] [INFO ] Determining installation action for Azure AD Connect agent (a8b03820-e701-44d7-b65e-6ffbb866a861)
    [11:44:42.036] [  1] [INFO ] Product Azure AD Connect agent is not installed.
    [11:44:42.036] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Command Line Utilities
    [11:44:42.036] [  1] [VERB ] Getting list of installed packages by upgrade code
    [11:44:42.036] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {52446750-c08e-49ef-8c2e-1e0662791e7b}: no registered products found.
    [11:44:42.036] [  1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Command Line Utilities (52446750-c08e-49ef-8c2e-1e0662791e7b)
    [11:44:42.036] [  1] [INFO ] Product Microsoft SQL Server 2012 Command Line Utilities is not installed.
    [11:44:42.036] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Express LocalDB
    [11:44:42.036] [  1] [VERB ] Getting list of installed packages by upgrade code
    [11:44:42.036] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {c3593f78-0f11-4d8d-8d82-55460308e261}: no registered products found.
    [11:44:42.036] [  1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Express LocalDB (c3593f78-0f11-4d8d-8d82-55460308e261)
    [11:44:42.036] [  1] [INFO ] Product Microsoft SQL Server 2012 Express LocalDB is not installed.
    [11:44:42.036] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Native Client
    [11:44:42.036] [  1] [VERB ] Getting list of installed packages by upgrade code
    [11:44:42.036] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {1d2d1fa0-e158-4798-98c6-a296f55414f9}: no registered products found.
    [11:44:42.036] [  1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Native Client (1d2d1fa0-e158-4798-98c6-a296f55414f9)
    [11:44:42.036] [  1] [INFO ] Product Microsoft SQL Server 2012 Native Client is not installed.
    [11:44:42.036] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure AD Connect Azure AD Connector
    [11:44:42.036] [  1] [VERB ] Getting list of installed packages by upgrade code
    [11:44:42.036] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {fb3feca7-5190-43e7-8d4b-5eec88ed9455}: no registered products found.
    [11:44:42.036] [  1] [INFO ] Determining installation action for Microsoft Azure AD Connect Azure AD Connector (fb3feca7-5190-43e7-8d4b-5eec88ed9455)
    [11:44:42.036] [  1] [INFO ] Product Microsoft Azure AD Connect Azure AD Connector is not installed.
    [11:44:42.036] [  1] [INFO ] Determining installation action for Microsoft Azure AD Connection Tool.
    [11:44:42.130] [  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.
    [11:44:42.130] [  1] [INFO ] Product Microsoft Azure AD Connection Tool is not installed.
    [11:44:42.130] [  1] [INFO ] Performing direct lookup of upgrade codes for: Azure Active Directory Connect
    [11:44:42.130] [  1] [VERB ] Getting list of installed packages by upgrade code
    [11:44:42.130] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {d61eb959-f2d1-4170-be64-4dc367f451ea}: verified product code {337e88b3-6961-420c-bf5d-fa1fdf73aa7c}.
    [11:44:42.130] [  1] [VERB ] Package=Microsoft Azure AD Connect, Version=1.1.189.0, ProductCode=337e88b3-6961-420c-bf5d-fa1fdf73aa7c, UpgradeCode=d61eb959-f2d1-4170-be64-4dc367f451ea
    [11:44:42.130] [  1] [INFO ] Determining installation action for Azure Active Directory Connect (d61eb959-f2d1-4170-be64-4dc367f451ea)
    [11:44:42.130] [  1] [INFO ] Product Azure Active Directory Connect (version 1.1.189.0) is installed.
    [11:44:42.130] [  1] [INFO ] Checking for DirSync conditions.
    [11:44:42.130] [  1] [INFO ] Called SetWizardMode(DirSyncParallelInstall, True)
    [11:44:42.318] [  1] [INFO ] Starting DirSync flow. dirSyncPresent=False, migrateDirSyncSettings=True, WizardMode=DirSyncParallelInstall
    [11:44:47.571] [  1] [INFO ] Page transition from "Welcome" [LicensePageViewModel] to "Upgrade DirSync" [UpgradeFromDirSyncPageViewModel]
    [11:44:48.259] [  1] [INFO ] App Properties/Metrics:
    [11:44:48.259] [  1] [INFO ]    Runtime.Start=2017-03-23T11:44:40-04:00
    [11:44:48.259] [  1] [INFO ]    Application.Version=1.1.0.0-1464218851
    [11:44:48.259] [  1] [INFO ]    Application.IsDebugBuild=False
    [11:44:48.259] [  1] [INFO ]    Environment.OperatingSystem.VersionString=Microsoft Windows NT 6.2.9200.0
    [11:44:48.259] [  1] [INFO ]    Environment.OperatingSystem.Platform=Win32NT
    [11:44:48.259] [  1] [INFO ]    Environment.OperatingSystem.ServicePack=
    [11:44:48.259] [  1] [INFO ]    Environment.OperatingSystem.ProductType=Server
    [11:44:48.259] [  1] [INFO ]    Environment.OperatingSystem.Sku=7
    [11:44:48.259] [  1] [INFO ]    Environment.OperatingSystem.Language=0409
    [11:44:48.259] [  1] [INFO ]    Runtime.PerformConfiguration.Result=NotStarted
    [11:44:48.259] [  1] [INFO ]    Environment.Computer.Make=microsoft corporation
    [11:44:48.259] [  1] [INFO ]    Environment.Computer.Model=virtual machine
    [11:44:48.259] [  1] [INFO ]    Environment.OperatingSystem.IsDomainJoined=True
    [11:44:48.259] [  1] [INFO ]    Runtime.SyncEngine.InstallState=InstallRequired
    [11:44:48.259] [  1] [INFO ]    Runtime.SyncEngine.InstallResult=NotStarted
    [11:44:48.259] [  1] [INFO ]    Runtime.InitialDetectionResult=InstallSyncEngine
    [11:44:48.259] [  1] [INFO ]    Runtime.WizardPageFlow=DirSyncParallelInstall
    [11:44:48.259] [  1] [INFO ]    Runtime.EncodedPageNavigationBytes=AQYA
    [11:44:48.259] [  1] [INFO ]    Runtime.EncodedHelpLinkUsageBytes=
    [11:44:48.259] [  1] [INFO ] UpgradeFromDirSyncPage: prompting for location of previously exported DirSync settings file.
    [11:44:48.306] [  6] [INFO ] Starting Telemetry Send
    [11:44:50.512] [  1] [VERB ] Showing exported settings browse dialog.
    [11:44:55.026] [  1] [INFO ] Reading exported DirSync settings from file: C:\Users\******\Desktop\DirSyncSettings.xml.
    [11:44:55.078] [  1] [INFO ] GetConfigurationFromFile: Creating DirSync output directory C:\Users\*******\AppData\Local\AADConnect\dirsync
    [11:44:55.748] [  1] [INFO ] DirsyncDataProvider ExistingMvObjectCount = 368.
    [11:44:55.748] [  1] [INFO ] DirsyncDataProvider ExistingMvObjectCount=368
    [11:44:55.750] [  1] [INFO ] DirsyncDataProvider: EnableExchangeHybridDeployment = False
    [11:44:55.752] [  1] [INFO ] DirSyncDataProvider: DirSync install path from export file = False
    [11:44:55.752] [  1] [INFO ] DirSyncDataProvider: DirSync installedAtCustomPath from export file = False
    [11:44:55.754] [  1] [INFO ] DirSync was installed using SQL Express hence sqlServer and sqlInstance will be empty
    [11:44:55.754] [  1] [INFO ] DirSyncDataProvider: migrated SQL server name = 
    [11:44:55.754] [  1] [INFO ] DirSyncDataProvider: migrated SQL instance = 
    [11:44:55.765] [  1] [INFO ] DirsyncDataProvider ServiceAccountName=.\AAD_1f2baa915b17
    [11:44:55.765] [  1] [INFO ] DirsyncDataProvider GetServiceAccountConfig: username is in the format of domain\username (.\AAD_1f2baa915b17). 
    [11:44:55.765] [  1] [INFO ] DirsyncDataProvider GetServiceAccountConfig: custom service account: False.
    [11:44:55.766] [  1] [INFO ] DirsyncDataProvider.ReadMVConfigData: Reading MV file C:\Users\*****\AppData\Local\AADConnect\dirsync\mv.xml
    [11:44:55.772] [  1] [INFO ] DirsyncDataProvider.ReadExportedConfig: Reading MA file C:\Users\*****\AppData\Local\AADConnect\dirsync\MA-{1D2C95FB-F61F-45A7-B6D5-F4124D5F7002}.XML
    [11:44:55.779] [  1] [INFO ] DirsyncDataProvider.ReadExportedConfig: C:\Users\*****\AppData\Local\AADConnect\dirsync\MA-{1D2C95FB-F61F-45A7-B6D5-F4124D5F7002}.XML contains the AAD MA data.
    [11:44:55.791] [  1] [INFO ] DirsyncDataProvider.ReadExportedConfig: Reading MA file C:\Users\*****\AppData\Local\AADConnect\dirsync\MA-{CB7D5198-66E8-49EC-9C0F-406A55FD4317}.XML
    [11:44:56.010] [  1] [INFO ] DirsyncDataProvider.ReadExportedConfig: C:\Users\*****\AppData\Local\AADConnect\dirsync\MA-{CB7D5198-66E8-49EC-9C0F-406A55FD4317}.XML contains the ADMA data.
    [11:44:56.262] [  1] [INFO ] DirsyncDataProvider: PasswordResetEnabled = False
    [11:44:56.263] [  1] [INFO ] DirsyncDataProvider: PasswordSyncEnabled = True
    [11:44:56.858] [  1] [INFO ] DirsyncDataProvider: imported inclusions/exclusions for (1) partitions.
    [11:44:57.101] [  1] [INFO ] CreateDirSyncContext: Enabling staging mode for DirSync Parallel Install.
    [11:44:57.101] [  1] [INFO ] CreateDirSyncContext: Will create a new ADMA connector account for parallel install.
    [11:45:04.100] [  1] [INFO ] Property ExistingSqlServerName failed validation with error A SQL Server name and instance name are required.
    [11:45:06.180] [  1] [INFO ] Property ServiceAccountName failed validation with error The account name must be in the format DOMAIN\username
    [11:46:43.257] [  1] [INFO ] UpgradeFromDirSyncPage: proceeding with upgrade (DirSyncParallelInstall).
    [11:46:43.273] [  1] [INFO ] Starting a background thread in Upgrade From DirSync. Background Task Id: 5501.
    [11:46:43.289] [ 12] [INFO ] SyncEngineSetupViewModel: Validating sync engine settings.
    [11:46:43.304] [ 12] [INFO ] Created installation path: C:\Program Files\Microsoft Azure AD Sync
    [11:46:43.340] [ 12] [INFO ] UpgradeFromDirSyncPage: SQL Server Name being used = 
    [11:46:43.340] [ 12] [INFO ] UpgradeFromDirSyncPage: SQL Server Instance name being used = 
    [11:46:43.340] [ 12] [INFO ] UpgradeFromDirSyncPage: Service Account Name being used = 
    [11:46:43.340] [ 12] [INFO ] UpgradeFromDirSyncPage: SyncAdminsGroup Name being used = 
    [11:46:43.340] [ 12] [INFO ] UpgradeFromDirSyncPage: SyncBrowseGroup Name being used = 
    [11:46:43.341] [ 12] [INFO ] UpgradeFromDirSyncPage: SyncOperatorsGroup Name being used = 
    [11:46:43.341] [ 12] [INFO ] UpgradeFromDirSyncPage: SyncPasswordResetGroup Name being used = 
    [11:46:43.346] [ 12] [INFO ] Starting Prerequisite installation
    [11:46:43.349] [ 12] [VERB ] WorkflowEngine created
    [11:46:43.361] [ 12] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Online Services Sign-In Assistant for IT Professionals
    [11:46:43.361] [ 12] [VERB ] Getting list of installed packages by upgrade code
    [11:46:43.361] [ 12] [INFO ] GetInstalledPackagesByUpgradeCode {03c97135-0e31-4334-9215-63827d4f07d4}: no registered products found.
    [11:46:43.361] [ 12] [INFO ] Determining installation action for Microsoft Online Services Sign-In Assistant for IT Professionals (03c97135-0e31-4334-9215-63827d4f07d4)
    [11:46:43.361] [ 12] [INFO ] Product Microsoft Online Services Sign-In Assistant for IT Professionals is not installed.
    [11:46:43.361] [ 12] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure Active Directory Module for Windows PowerShell
    [11:46:43.361] [ 12] [VERB ] Getting list of installed packages by upgrade code
    [11:46:43.362] [ 12] [INFO ] GetInstalledPackagesByUpgradeCode {bbf5d0bf-d8ae-4e66-91ab-b7023c1f288c}: no registered products found.
    [11:46:43.362] [ 12] [INFO ] Determining installation action for Microsoft Azure Active Directory Module for Windows PowerShell
    [11:46:43.495] [ 12] [INFO ] CheckInstallationState: Packaged version (1.1.189.0), Installed version (0.0.0).
    [11:46:43.495] [ 12] [INFO ] CheckInstallationState: AAD PowerShell will be extracted (1.1.189.0 > 0.0.0).
    [11:46:43.495] [ 12] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Visual C++ 2013 Redistributable Package
    [11:46:43.496] [ 12] [VERB ] Getting list of installed packages by upgrade code
    [11:46:43.496] [ 12] [INFO ] GetInstalledPackagesByUpgradeCode {20400cf0-de7c-327e-9ae4-f0f38d9085f8}: verified product code {a749d8e6-b613-3be3-8f5f-045c84eba29b}.
    [11:46:43.496] [ 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:46:43.496] [ 12] [INFO ] Determining installation action for Microsoft Visual C++ 2013 Redistributable Package (20400cf0-de7c-327e-9ae4-f0f38d9085f8)
    [11:46:43.496] [ 12] [INFO ] Product Microsoft Visual C++ 2013 Redistributable Package (version 12.0.21005) is installed.
    [11:46:43.507] [ 12] [VERB ] Created task 97f98fc5-58b5-4e5d-97fc-e62c1edd764e with name Install Prerequisites
    [11:46:43.517] [ 12] [VERB ] Created task 91b870cb-fedb-43a2-a367-e7fdd0e03125 with name Uninstall Microsoft Online Sign-In Assistant
    [11:46:43.518] [ 12] [VERB ] Created task 53ff587b-bbaa-4e03-adf0-18bfa3d06d3f with name Install Microsoft Online Sign-In Assistant
    [11:46:43.518] [ 12] [VERB ] Created task e8598c10-c9f7-4cb8-82e8-47fe1330a460 with name Uninstall Microsoft Online PowerShell Module
    [11:46:43.519] [ 12] [VERB ] Created task c2f7d2d2-c5a2-4f4f-ae21-13d0b5c9ab6b with name Install Microsoft Online PowerShell Module
    [11:46:43.520] [ 12] [VERB ] Created task f5a85a41-85b9-40ca-82f8-d75f95bd96b8 with name Install Visual C++ Redistributable for Visual Studio 2013
    [11:46:43.525] [ 12] [VERB ] Executing task Install Prerequisites
    [11:46:43.541] [ 15] [VERB ] Executing task Uninstall Microsoft Online Sign-In Assistant
    [11:46:43.544] [ 16] [INFO ] Task 'Uninstall Microsoft Online Sign-In Assistant' has finished execution
    [11:46:43.546] [ 15] [INFO ] Task 'Uninstall Microsoft Online Sign-In Assistant' finished successfully
    [11:46:43.546] [ 15] [VERB ] Executing task Install Microsoft Online Sign-In Assistant
    [11:46:43.751] [ 12] [VERB ] Waiting for task to complete: Install Prerequisites
    [11:46:48.286] [ 17] [INFO ] Task 'Install Microsoft Online Sign-In Assistant' has finished execution
    [11:46:48.286] [ 15] [INFO ] Task 'Install Microsoft Online Sign-In Assistant' finished successfully
    [11:46:48.286] [ 15] [VERB ] Executing task Uninstall Microsoft Online PowerShell Module
    [11:46:48.291] [ 10] [INFO ] Task 'Uninstall Microsoft Online PowerShell Module' has finished execution
    [11:46:48.291] [ 15] [INFO ] Task 'Uninstall Microsoft Online PowerShell Module' finished successfully
    [11:46:48.291] [ 15] [VERB ] Executing task Install Microsoft Online PowerShell Module
    [11:46:51.506] [  6] [INFO ] Task 'Install Microsoft Online PowerShell Module' has finished execution
    [11:46:51.506] [ 15] [INFO ] Task 'Install Microsoft Online PowerShell Module' finished successfully
    [11:46:51.506] [ 15] [VERB ] Executing task Install Visual C++ Redistributable for Visual Studio 2013
    [11:46:51.507] [  7] [INFO ] Task 'Install Visual C++ Redistributable for Visual Studio 2013' has finished execution
    [11:46:51.507] [ 15] [INFO ] Task 'Install Visual C++ Redistributable for Visual Studio 2013' finished successfully
    [11:46:51.507] [ 15] [INFO ] Task 'Install Prerequisites' has finished execution
    [11:46:51.507] [ 12] [VERB ] Waited 0:00:07.7564403 for task to complete: Install Prerequisites
    [11:46:51.544] [  1] [INFO ] Page transition from "Upgrade DirSync" [UpgradeFromDirSyncPageViewModel] to "Connect to Azure AD" [AzureTenantPageViewModel]
    [11:46:52.012] [  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:46:52.013] [  1] [INFO ] Property Username failed validation with error Username must be in the format name@domain.com or name@domain.onmicrosoft.com
    [11:46:52.048] [  1] [INFO ] Property Password failed validation with error A Microsoft Azure password is required.
    [11:47:12.503] [  1] [INFO ] Property Password failed validation with error A Microsoft Azure password is required.
    [11:47:26.439] [ 18] [INFO ] AzureTenantPage: Beginning Windows Azure tenant credentials validation.
    [11:47:26.660] [ 18] [INFO ] DiscoverAzureInstance [Worldwide]: authority=https://login.windows.net/*****.com, awsServiceResource=https://graph.windows.net.
    [11:47:26.802] [ 18] [INFO ] Authenticate: ADAL authentication is enabled.
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:26 PM:  - AuthenticationContext: ADAL .NET with assembly version '2.24.0.0', file version '2.24.30411.1323' and informational version '4482033c813cb2fd31423c80b5027d0b5dfb7a6c' is running...
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:27 PM:  - TokenCache: Clearing Cache :- 0 items to be removed
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:27 PM:  - TokenCache: Successfully Cleared Cache
    [11:47:27.019] [ 18] [INFO ] Authenticate-ADAL: acquiring token using explicit tenant credentials.
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:27 PM: b2e977f6-0b72-498d-a838-b5777ad5c407 - AcquireTokenHandlerBase: === Token Acquisition started:
    Authority: https://login.windows.net/*****.com/
    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 : 3/23/2017 3:47:27 PM: b2e977f6-0b72-498d-a838-b5777ad5c407 - TokenCache: Looking up cache for a token...
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:27 PM: b2e977f6-0b72-498d-a838-b5777ad5c407 - TokenCache: No matching token was found in the cache
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:27 PM: b2e977f6-0b72-498d-a838-b5777ad5c407 - <CreateByDiscoveryAsync>d__0: Sending user realm discovery request to 'https://login.windows.net/common/UserRealm/*****@*****.com?api-version=1.0'
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:28 PM: b2e977f6-0b72-498d-a838-b5777ad5c407 - <PreTokenRequest>d__4: User with hash 'mweZ/UkP9dXPdpCQs8Tn2UJHgXA/yitW0AvQ31DDqZE=' detected as 'Managed'
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:28 PM: b2e977f6-0b72-498d-a838-b5777ad5c407 - TokenCache: Storing token in the cache...
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:28 PM: b2e977f6-0b72-498d-a838-b5777ad5c407 - TokenCache: An item was stored in the cache
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:28 PM: b2e977f6-0b72-498d-a838-b5777ad5c407 - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
    Access Token Hash: E2qHQBwAQZGVuTHADWTZwW/C3S/gcQG8bBeE09l+pmQ=
    Refresh Token Hash: Y8W7BcjE/bhDRypkauVtM73fAfBMjRgRn1OIq9nHH1U=
    Expiration Time: 3/23/2017 4:47:27 PM +00:00
    User Hash: +gJ7Uh32C+9cQziVZBc1t15mpwvvpkinEY7obxC4ebw=

    [11:47:28.730] [ 18] [INFO ] Authenticate-ADAL: retrieving company configuration for tenant=6236fff6-6782-4efd-bd28-834c4f633342.
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:28 PM: 6847da40-91f5-435d-8f9c-340ada3c1cf4 - AcquireTokenHandlerBase: === Token Acquisition started:
    Authority: https://login.windows.net/*****.com/
    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 : 3/23/2017 3:47:28 PM: 6847da40-91f5-435d-8f9c-340ada3c1cf4 - TokenCache: Looking up cache for a token...
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:28 PM: 6847da40-91f5-435d-8f9c-340ada3c1cf4 - TokenCache: An item matching the requested resource was found in the cache
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:28 PM: 6847da40-91f5-435d-8f9c-340ada3c1cf4 - TokenCache: 59.981781705 minutes left until token in cache expires
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:28 PM: 6847da40-91f5-435d-8f9c-340ada3c1cf4 - TokenCache: A matching item (access token or refresh token or both) was found in the cache
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:28 PM: 6847da40-91f5-435d-8f9c-340ada3c1cf4 - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
    Access Token Hash: E2qHQBwAQZGVuTHADWTZwW/C3S/gcQG8bBeE09l+pmQ=
    Refresh Token Hash: Y8W7BcjE/bhDRypkauVtM73fAfBMjRgRn1OIq9nHH1U=
    Expiration Time: 3/23/2017 4:47:27 PM +00:00
    User Hash: +gJ7Uh32C+9cQziVZBc1t15mpwvvpkinEY7obxC4ebw=

    [11:47:32.062] [ 18] [INFO ] Authenticate: tenantId=(6236fff6-6782-4efd-bd28-834c4f633342), IsDirSyncing=True, IsPasswordSyncing=True, DomainName=, DirSyncFeatures=57, AllowedFeatures=None.
    [11:47:32.311] [ 18] [INFO ] DiscoverAzureEndpoints [AzurePowerShell]: ServiceEndpoint=https://provisioningapi.microsoftonline.com/provisioningwebservice.svc, AdalAuthority=https://login.windows.net/*****.com, AdalResource=https://graph.windows.net.
    [11:47:32.312] [ 18] [INFO ] AcquireServiceToken [AzurePowerShell]: acquiring additional service token.
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:32 PM: 105eff25-a1ca-4ed5-8fb3-fc83b1ca9edc - AcquireTokenHandlerBase: === Token Acquisition started:
    Authority: https://login.windows.net/*****.com/
    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 : 3/23/2017 3:47:32 PM: 105eff25-a1ca-4ed5-8fb3-fc83b1ca9edc - TokenCache: Looking up cache for a token...
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:32 PM: 105eff25-a1ca-4ed5-8fb3-fc83b1ca9edc - TokenCache: An item matching the requested resource was found in the cache
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:32 PM: 105eff25-a1ca-4ed5-8fb3-fc83b1ca9edc - TokenCache: 59.92291896 minutes left until token in cache expires
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:32 PM: 105eff25-a1ca-4ed5-8fb3-fc83b1ca9edc - TokenCache: A matching item (access token or refresh token or both) was found in the cache
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:32 PM: 105eff25-a1ca-4ed5-8fb3-fc83b1ca9edc - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned:
    Access Token Hash: E2qHQBwAQZGVuTHADWTZwW/C3S/gcQG8bBeE09l+pmQ=
    Refresh Token Hash: Y8W7BcjE/bhDRypkauVtM73fAfBMjRgRn1OIq9nHH1U=
    Expiration Time: 3/23/2017 4:47:27 PM +00:00
    User Hash: +gJ7Uh32C+9cQziVZBc1t15mpwvvpkinEY7obxC4ebw=

    [11:47:32.313] [ 18] [INFO ] AzureTenantPage: attempting to connect to Azure via AAD PowerShell.
    [11:47:32.315] [ 18] [INFO ] ConnectMsolService: connecting using an AccessToken.
    azureadconnect.exe Information: 0 : 3/23/2017 3:47:33 PM:  - AuthenticationContext: ADAL .NET with assembly version '2.23.0.0', file version '2.23.30226.1847' and informational version '0b5f258db72d0632d3693d262acbf77b634e9136' is running...
    [11:47:35.716] [ 18] [INFO ] AzureTenantPage: successfully connected to Azure via AAD PowerShell.
    [11:47:36.980] [ 18] [INFO ] AzureTenantPage: Successfully retrieved company information for tenant 6236fff6-6782-4efd-bd28-834c4f633342.
    [11:47:36.983] [ 18] [INFO ] AzureTenantPage: DirectorySynchronizationEnabled=True
    [11:47:36.986] [ 18] [INFO ] AzureTenantPage: DirectorySynchronizationStatus=Enabled
    [11:47:37.012] [ 18] [INFO ] PowershellHelper: lastDirectorySyncTime=3/23/2017 1:22:42 PM
    [11:47:37.427] [ 18] [INFO ] AzureTenantPage: Successfully retrieved 4 domains from the tenant.
    [11:47:37.457] [ 18] [INFO ] AzureTenantPage: Windows Azure tenant credentials validation succeeded.
    [11:47:37.459] [ 18] [INFO ] Page transition from "Connect to Azure AD" [AzureTenantPageViewModel] to "Connect to AD DS" [ConfigOnPremiseCredentialsPageViewModel]
    [11:47:37.461] [ 18] [INFO ] Property Username failed validation with error The username format is incorrect. Specify the username in the format of DOMAIN\username.
    [11:48:02.174] [  1] [INFO ] Property Password failed validation with error A password is required.
    [11:48:10.387] [ 18] [INFO ] ConfigOnPremiseCredentialsPage: Validating credentials.
    [11:48:10.463] [ 18] [INFO ] ConfigOnPremiseCredentialsPage: LogonUser succeeded for user ****\*****
    [11:48:11.601] [ 18] [INFO ] Start GetEnterpiseAdminSid using rootdomain *****.com
    [11:48:11.615] [ 18] [INFO ] EnterpiseAdminSid=S-1-5-21-3170097090-639854120-2413621503-519
    [11:48:11.973] [ 18] [INFO ] ValidateCredentials DirSyncUpgrade: The forest name '*****.com' was successfully matched.
    [11:48:11.979] [ 18] [INFO ] ConfigOnPremiseCredentialsPage: Validating forest
    [11:48:11.982] [ 18] [INFO ] Validating forest with FQDN *****.com
    [11:48:12.102] [ 18] [INFO ] Examining domain *****.com (:0% complete)
    [11:48:12.110] [ 18] [INFO ] ValidateForest: using ****DC04.*****.com to validate domain *****.com
    [11:48:12.115] [ 18] [INFO ] Successfully examined domain *****.com GUID:ddd9b3cc-157f-4501-bdc8-2d56177c74a8  DN:DC=*****,DC=com
    [11:48:12.153] [ 18] [INFO ] ConfigOnPremiseCredentialsPageViewModel: Credentials will be used to administer the AD MA account (DirSync/AADSync/AADConnect Upgrade).
    [11:48:12.160] [ 18] [INFO ] Page transition from "Connect to AD DS" [ConfigOnPremiseCredentialsPageViewModel] to "Configure" [PerformConfigurationPageViewModel]
    [11:48:12.281] [ 18] [INFO ] Starting a background thread in Ready to configure. Background Task Id: 17880.
    [11:48:13.289] [ 18] [INFO ] DiscoverAzureEndpoints [AADHealth]: ServiceEndpoint=https://s1.adhybridhealth.azure.com, AdalAuthority=https://login.windows.net/*****.com, AdalResource=https://management.core.windows.net/.
    [11:48:13.479] [ 18] [WARN ] The Azure directory has been synchronized recently.
    [11:48:26.072] [  1] [INFO ] Starting a background thread in Configuring. Background Task Id: 19795.
    [11:48:26.077] [ 18] [INFO ] PerformConfigurationPageViewModel.ExecuteADSyncConfiguration: Preparing to configure sync engine (WizardMode=DirSyncParallelInstall).
    [11:48:26.106] [ 18] [INFO ] PerformConfigurationPageViewModel.ExecuteSyncEngineInstallCore: Preparing to install sync engine (WizardMode=DirSyncParallelInstall).
    [11:48:26.110] [ 18] [INFO ] Starting Sync Engine installation
    [11:48:26.334] [ 18] [INFO ] SyncEngineSetup: Using custom install location C:\Program Files\Microsoft Azure AD Sync
    [11:49:42.903] [ 18] [INFO ] InstallSyncEngineStage: Sync Engine was successfully installed.
    [11:49:42.904] [ 18] [INFO ] DetectInstalledComponents: Marking Sync Engine as successfully installed.
    [11:49:42.933] [ 18] [INFO ] PerformConfigurationPageViewModel.StartInstallation: Preparing to configure sync engine.
    [11:49:42.946] [ 18] [VERB ] GetAdminCredential called with account *****.COM\*****
    [11:49:42.946] [ 18] [VERB ] AdministratorUsername is in NTAccount format.
    [11:49:42.946] [ 18] [VERB ] GetAdminCredential returning account *****\*****
    [11:49:42.946] [ 18] [INFO ] Creating AD MA account for *****.com.
    [11:49:43.195] [ 18] [VERB ] CreateSynchronizationAccount(System.Net.NetworkCredential, fb803a01ff7c4ab5b8b1b4770c9239aa, *****.com)
    [11:49:43.202] [ 18] [INFO ] Synchronization account will have account name *****.COM\MSOL_fb803a01ff7c
    [11:49:43.642] [ 18] [ERROR] Caught exception while creating synchronization account.
    Exception Data (Raw): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
       --- End of inner exception stack trace ---
       at System.DirectoryServices.DirectoryEntry.Invoke(String methodName, Object[] args)
       at System.DirectoryServices.AccountManagement.SDSUtils.SetPassword(DirectoryEntry de, String newPassword)
       at System.DirectoryServices.AccountManagement.ADStoreCtx.SetPassword(AuthenticablePrincipal p, String newPassword)
       at System.DirectoryServices.AccountManagement.SDSUtils.InsertPrincipal(Principal p, StoreCtx storeCtx, GroupMembershipUpdater updateGroupMembership, NetCred credentials, AuthenticationTypes authTypes, Boolean needToSetPassword)
       at System.DirectoryServices.AccountManagement.ADStoreCtx.Insert(Principal p)
       at System.DirectoryServices.AccountManagement.Principal.Save()
       at Microsoft.Azure.ActiveDirectory.Synchronization.Framework.AccountManagementAdapter.CreatePrincipalCore(Principal principal)
       at Microsoft.Azure.ActiveDirectory.Synchronization.Framework.AccountManagementAdapter.CreateUser(String userSamAccountName, SecureString userSecurePassword, String userDescription, Boolean userPasswordNeverExpires)
       at Microsoft.Online.Deployment.Types.Providers.SyncDataProvider.CreateSynchronizationAccount(NetworkCredential domainAdminCredential, String installationIdentifier, String tenantDisplayName)
       at Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.ConfigureSyncEngineStage.StartADSyncConfigurationCore(IPersistedStateProvider persistedStateProvider, StatusChangedDelegate progressChanged)
    [11:49:43.741] [ 18] [INFO ] ConfigureSyncEngineStage.StartADSyncConfiguration: AADConnectResult.Status=Failed
    [11:49:43.862] [ 10] [INFO ] Starting Telemetry Send
    [11:53:14.017] [  1] [INFO ] Opened log file at path C:\Users\*****\AppData\Local\AADConnect\trace-20170323-114440.log

    Thursday, March 23, 2017 4:16 PM

All replies

  • While running the wizard, at the “Connect to AD DS” step, you would be prompted to provide the EA credential. This is the credential which will be used to create the AD DS account (MSOL_fb803a01ff7c). You would need to make sure that account indeed has EA access to be able to create the AD DS account.

    Tuesday, March 28, 2017 9:26 AM
    Moderator