AAD Connect wizard fails to open

Alistair Baird 1 Reputation point
2020-01-27T03:34:36.293+00:00

Can't run the AAD Connect wizard as it complains the configuration is not complete. I had issues when I downloaded it - it all installed OK the went through the scripts at the end and got stuck. Found some help forum that said manually run the Sync Service tool and configure the account for the Azure domain again, which I did then things started to sync. My users have been uploaded, but I still can't get the wizard to open properly. the error log complains:

Product Microsoft Azure AD Connect Authentication Agent is not installed.

Appwiz.cpl shows

Azure AD Connect 1.4.38.0
Azure AD Connect Agent Updater 1.5.388.0
Azure AD Connect Health Agent for sync 3.1.68.0
Azure AD Connect synchronisation services 1.4.38.0

Full error log

[16:12:42.851] [ 1] [INFO ]
[16:12:42.851] [ 1] [INFO ] ================================================================================
[16:12:42.851] [ 1] [INFO ] Application starting
[16:12:42.851] [ 1] [INFO ] ================================================================================
[16:12:42.851] [ 1] [INFO ] Start Time (Local): Mon, 27 Jan 2020 16:12:42 GMT
[16:12:42.851] [ 1] [INFO ] Start Time (UTC): Mon, 27 Jan 2020 03:12:42 GMT
[16:12:42.851] [ 1] [INFO ] Application Version: 1.4.38.0
[16:12:42.851] [ 1] [INFO ] Application Build Date: 2019-12-05 23:59:53Z
[16:12:45.085] [ 1] [INFO ] Telemetry session identifier: {e4fc270f-0fca-465d-af19-418245bf8e07}
[16:12:45.085] [ 1] [INFO ] Telemetry device identifier: a6k9zOS8zYfdUNY6HLgRNNYpNIgsfYmaWoF81wy0Wj4=
[16:12:45.085] [ 1] [INFO ] Application Build Identifier: AD-IAM-HybridSync master (8fd4444e4)
[16:12:45.179] [ 1] [INFO ] machine.config path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config.
[16:12:45.179] [ 1] [INFO ] Default Proxy [ProxyAddress]:
[16:12:45.179] [ 1] [INFO ] Default Proxy [UseSystemDefault]: Unspecified
[16:12:45.179] [ 1] [INFO ] Default Proxy [BypassOnLocal]: Unspecified
[16:12:45.179] [ 1] [INFO ] Default Proxy [Enabled]: True
[16:12:45.179] [ 1] [INFO ] Default Proxy [AutoDetect]: Unspecified
[16:12:45.179] [ 1] [INFO ] Default Proxy [UseDefaultCredentials]: False
[16:12:45.194] [ 1] [VERB ] Scheduler wizard mutex wait timeout: 00:00:05
[16:12:45.194] [ 1] [INFO ] AADConnect changes ALLOWED: Successfully acquired the configuration change mutex.
[16:12:45.241] [ 1] [INFO ] RootPageViewModel.GetInitialPages: Beginning detection for creating initial pages.
[16:12:45.257] [ 1] [INFO ] Loading the persisted settings .
[16:12:45.288] [ 1] [INFO ] Checking if machine version is 6.1.7601 or higher
[16:12:45.304] [ 1] [INFO ] The current operating system version is 10.0.14393, the requirement is 6.1.7601.
[16:12:45.304] [ 1] [INFO ] Password Hash Sync supported: 'True'
[16:12:45.319] [ 1] [INFO ] DetectInstalledComponents stage: The installed OS SKU is 7
[16:12:45.335] [ 1] [INFO ] DetectInstalledComponents stage: Checking install context.
[16:12:45.335] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Visual C++ 2013 Redistributable Package
[16:12:45.335] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:12:45.335] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {20400cf0-de7c-327e-9ae4-f0f38d9085f8}: verified product code {a749d8e6-b613-3be3-8f5f-045c84eba29b}.
[16:12:45.335] [ 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
[16:12:45.351] [ 1] [INFO ] Determining installation action for Microsoft Visual C++ 2013 Redistributable Package (20400cf0-de7c-327e-9ae4-f0f38d9085f8)
[16:12:45.351] [ 1] [INFO ] Product Microsoft Visual C++ 2013 Redistributable Package (version 12.0.21005) is installed.
[16:12:45.351] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Directory Sync Tool
[16:12:45.351] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:12:45.351] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}: no registered products found.
[16:12:45.351] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}: no registered products found.
[16:12:45.351] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {545334d7-13cd-4bab-8da1-2775fa8cf7c2}: verified product code {04cc4a21-a565-4a39-ba50-9cd3714e3db6}.
[16:12:45.351] [ 1] [VERB ] Package=Microsoft Azure AD Connect synchronization services, Version=1.4.38.0, ProductCode=04cc4a21-a565-4a39-ba50-9cd3714e3db6, UpgradeCode=545334d7-13cd-4bab-8da1-2775fa8cf7c2
[16:12:45.366] [ 1] [INFO ] Determining installation action for Microsoft Directory Sync Tool UpgradeCodes {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}, {dc9e604e-37b0-4efc-b429-21721cf49d0d}
[16:12:45.366] [ 1] [INFO ] DirectorySyncComponent: Product Microsoft Directory Sync Tool is not installed.
[16:12:45.366] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Sync Engine
[16:12:45.366] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:12:45.366] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {545334d7-13cd-4bab-8da1-2775fa8cf7c2}: verified product code {04cc4a21-a565-4a39-ba50-9cd3714e3db6}.
[16:12:45.366] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}: no registered products found.
[16:12:45.366] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}: no registered products found.
[16:12:45.366] [ 1] [VERB ] Package=Microsoft Azure AD Connect synchronization services, Version=1.4.38.0, ProductCode=04cc4a21-a565-4a39-ba50-9cd3714e3db6, UpgradeCode=545334d7-13cd-4bab-8da1-2775fa8cf7c2
[16:12:45.366] [ 1] [INFO ] Determining installation action for Azure AD Sync Engine (545334d7-13cd-4bab-8da1-2775fa8cf7c2)
[16:12:45.601] [ 1] [VERB ] Check product code installed: {4e67cad2-d71b-4f06-a7ae-bb49c566bb93}
[16:12:45.601] [ 1] [INFO ] GetProductInfoProperty({4e67cad2-d71b-4f06-a7ae-bb49c566bb93}, VersionString): unknown product
[16:12:45.632] [ 1] [INFO ] TryGetPersistedMarker: upgrade marker registry key found
[16:12:45.632] [ 1] [INFO ] AzureADSyncEngineComponent: Product Azure AD Sync Engine (version 1.4.38.0) is installed.
[16:12:45.632] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect Synchronization Agent
[16:12:45.632] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:12:45.632] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {3cd653e3-5195-4ff2-9d6c-db3dacc82c25}: no registered products found.
[16:12:45.632] [ 1] [INFO ] Determining installation action for Azure AD Connect Synchronization Agent (3cd653e3-5195-4ff2-9d6c-db3dacc82c25)
[16:12:45.632] [ 1] [INFO ] Product Azure AD Connect Synchronization Agent is not installed.
[16:12:45.632] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect Health agent for sync
[16:12:45.632] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:12:45.632] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {114fb294-8aa6-43db-9e5c-4ede5e32886f}: verified product code {8bd3bbc6-cef8-4e03-a777-e0b3e21edebb}.
[16:12:45.632] [ 1] [VERB ] Package=Microsoft Azure AD Connect Health agent for sync, Version=3.1.68.0, ProductCode=8bd3bbc6-cef8-4e03-a777-e0b3e21edebb, UpgradeCode=114fb294-8aa6-43db-9e5c-4ede5e32886f
[16:12:45.632] [ 1] [INFO ] Determining installation action for Azure AD Connect Health agent for sync (114fb294-8aa6-43db-9e5c-4ede5e32886f)
[16:12:45.632] [ 1] [INFO ] Product Azure AD Connect Health agent for sync (version 3.1.68.0) is installed.
[16:12:45.632] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure AD Connect Authentication Agent
[16:12:45.632] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:12:45.632] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {0c06f9df-c56b-42c4-a41b-f5f64d01a35c}: no registered products found.
[16:12:45.632] [ 1] [INFO ] Determining installation action for Microsoft Azure AD Connect Authentication Agent (0c06f9df-c56b-42c4-a41b-f5f64d01a35c)
[16:12:45.632] [ 1] [INFO ] Product Microsoft Azure AD Connect Authentication Agent is not installed.
[16:12:45.632] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect Administration Agent
[16:12:45.632] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:12:45.632] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {886051ec-1165-4df8-a492-19d1e0ff57ee}: no registered products found.
[16:12:45.632] [ 1] [INFO ] Determining installation action for Azure AD Connect Administration Agent (886051ec-1165-4df8-a492-19d1e0ff57ee)
[16:12:45.632] [ 1] [INFO ] Product Azure AD Connect Administration Agent is not installed.
[16:12:45.632] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Command Line Utilities
[16:12:45.632] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:12:45.632] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {52446750-c08e-49ef-8c2e-1e0662791e7b}: verified product code {89ca7913-f891-4546-8f55-355338677fe6}.
[16:12:45.632] [ 1] [VERB ] Package=Microsoft SQL Server 2012 Command Line Utilities , Version=11.4.7001.0, ProductCode=89ca7913-f891-4546-8f55-355338677fe6, UpgradeCode=52446750-c08e-49ef-8c2e-1e0662791e7b
[16:12:45.632] [ 1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Command Line Utilities (52446750-c08e-49ef-8c2e-1e0662791e7b)
[16:12:45.632] [ 1] [INFO ] Product Microsoft SQL Server 2012 Command Line Utilities (version 11.4.7001.0) is installed.
[16:12:45.632] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Express LocalDB
[16:12:45.632] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:12:45.632] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {c3593f78-0f11-4d8d-8d82-55460308e261}: verified product code {72b030ed-b1e3-45e5-ba33-a1f5625f2b93}.
[16:12:45.632] [ 1] [VERB ] Package=Microsoft SQL Server 2012 Express LocalDB , Version=11.4.7469.6, ProductCode=72b030ed-b1e3-45e5-ba33-a1f5625f2b93, UpgradeCode=c3593f78-0f11-4d8d-8d82-55460308e261
[16:12:45.632] [ 1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Express LocalDB (c3593f78-0f11-4d8d-8d82-55460308e261)
[16:12:45.632] [ 1] [INFO ] Product Microsoft SQL Server 2012 Express LocalDB (version 11.4.7469.6) is installed.
[16:12:45.632] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Native Client
[16:12:45.632] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:12:45.632] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {1d2d1fa0-e158-4798-98c6-a296f55414f9}: verified product code {b9274744-8bae-4874-8e59-2610919cd419}.
[16:12:45.632] [ 1] [VERB ] Package=Microsoft SQL Server 2012 Native Client , Version=11.4.7001.0, ProductCode=b9274744-8bae-4874-8e59-2610919cd419, UpgradeCode=1d2d1fa0-e158-4798-98c6-a296f55414f9
[16:12:45.632] [ 1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Native Client (1d2d1fa0-e158-4798-98c6-a296f55414f9)
[16:12:45.632] [ 1] [INFO ] Product Microsoft SQL Server 2012 Native Client (version 11.4.7001.0) is installed.
[16:12:45.632] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure AD Connect Authentication Agent
[16:12:45.632] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:12:45.632] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {fb3feca7-5190-43e7-8d4b-5eec88ed9455}: no registered products found.
[16:12:45.632] [ 1] [INFO ] Determining installation action for Microsoft Azure AD Connect Authentication Agent (fb3feca7-5190-43e7-8d4b-5eec88ed9455)
[16:12:45.632] [ 1] [INFO ] Product Microsoft Azure AD Connect Authentication Agent is not installed.
[16:12:45.632] [ 1] [INFO ] Determining installation action for Microsoft Azure AD Connection Tool.
[16:12:45.648] [ 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:12:45.648] [ 1] [INFO ] Product Microsoft Azure AD Connection Tool is not installed.
[16:12:45.648] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure Active Directory Connect
[16:12:45.648] [ 1] [VERB ] Getting list of installed packages by upgrade code
[16:12:45.648] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {d61eb959-f2d1-4170-be64-4dc367f451ea}: verified product code {2c4c8839-89ed-40eb-b59a-614824f8d5ac}.
[16:12:45.648] [ 1] [VERB ] Package=Microsoft Azure AD Connect, Version=1.4.38.0, ProductCode=2c4c8839-89ed-40eb-b59a-614824f8d5ac, UpgradeCode=d61eb959-f2d1-4170-be64-4dc367f451ea
[16:12:45.648] [ 1] [INFO ] Determining installation action for Azure Active Directory Connect (d61eb959-f2d1-4170-be64-4dc367f451ea)
[16:12:45.648] [ 1] [INFO ] Product Azure Active Directory Connect (version 1.4.38.0) is installed.
[16:12:45.944] [ 1] [INFO ] ServiceControllerProvider: GetServiceStartMode(seclogon) is 'Manual'.
[16:12:45.944] [ 1] [INFO ] ServiceControllerProvider: verifying EventLog is in state (Running)
[16:12:45.944] [ 1] [INFO ] ServiceControllerProvider: current service status: Running
[16:12:45.944] [ 1] [INFO ] DetectInstalledComponents stage: Sync engine is already installed and meets version requirement.
[16:12:45.944] [ 1] [INFO ] DetectInstalledComponents: Marking Sync Engine as successfully installed.
[16:12:45.944] [ 1] [INFO ] ServiceControllerProvider: verifying ADSync is in state (Running)
[16:12:45.944] [ 1] [INFO ] ServiceControllerProvider: current service status: Running
[16:12:47.257] [ 1] [INFO ] TryGetPersistedMarker: upgrade marker registry key found
[16:12:47.257] [ 1] [INFO ] Checking for DirSync conditions.
[16:12:47.257] [ 1] [INFO ] DirSync not detected. Checking for AADSync/AADConnect upgrade conditions.
[16:12:47.257] [ 1] [INFO ] Initial configuration is incomplete.
[16:12:50.429] [ 1] [INFO ] Opened log file at path C:\ProgramData\AADConnect\trace-20200127-161242.log

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,452 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Hugh@OCT 1 Reputation point
    2020-01-28T10:42:22.503+00:00

    It is in any case a good idea to have another server in staging mode as a stabdy - you could install one of these on another server (it will do everything the current one does except actually export to Azure AD). If that works, then you need to switch the new one out of staging mode (making it your productio server), but first kill the other one - since you can't run the wizard and put it into staging mode, use powershell to stop the sync cycle, and then uninstall it. If the same thing happens to this new installation, then I guess that is a problem for Microsoft! More about Azure AD Connect at www.oxfordcomputertraining.com

    0 comments No comments