Hi all,
I am trying to integrate our on site Active Directory into Azure Active Directory. I am unable to run the Microsoft Azure Active Directory Connect without receiving the error message below. I'm currently running the service on Windows Server 2016. I've gone through all of the prerequisites for Azure AD Connect. I've included the log file generated when the service fails
[09:54:22.303] [ 1] [INFO ]
[09:54:22.303] [ 1] [INFO ] ================================================================================
[09:54:22.303] [ 1] [INFO ] Application starting
[09:54:22.303] [ 1] [INFO ] ================================================================================
[09:54:22.303] [ 1] [INFO ] Start Time (Local): Mon, 06 Jul 2020 09:54:22 GMT
[09:54:22.303] [ 1] [INFO ] Start Time (UTC): Mon, 06 Jul 2020 13:54:22 GMT
[09:54:22.303] [ 1] [INFO ] Application Version: 1.5.30.0
[09:54:22.303] [ 1] [INFO ] Application Build Date: 2020-05-04 17:57:50Z
[09:54:26.433] [ 1] [INFO ] Telemetry session identifier: {f1a20c98-e95c-4cbb-94b1-89d0babc4364}
[09:54:26.433] [ 1] [INFO ] Telemetry device identifier: nCAHS0N9+ESBYf0amKsrwSMfvCCqNQhXYQKDT2vrV0k=
[09:54:26.433] [ 1] [INFO ] Application Build Identifier: AD-IAM-HybridSync master (5e597c78f)
[09:54:26.480] [ 1] [INFO ] machine.config path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config.
[09:54:26.480] [ 1] [INFO ] Default Proxy [ProxyAddress]: <Unspecified>
[09:54:26.480] [ 1] [INFO ] Default Proxy [UseSystemDefault]: Unspecified
[09:54:26.480] [ 1] [INFO ] Default Proxy [BypassOnLocal]: Unspecified
[09:54:26.480] [ 1] [INFO ] Default Proxy [Enabled]: True
[09:54:26.480] [ 1] [INFO ] Default Proxy [AutoDetect]: Unspecified
[09:54:26.480] [ 1] [INFO ] Default Proxy [UseDefaultCredentials]: False
[09:54:26.511] [ 1] [VERB ] Scheduler wizard mutex wait timeout: 00:00:05
[09:54:26.511] [ 1] [INFO ] AADConnect changes ALLOWED: Successfully acquired the configuration change mutex.
[09:54:26.558] [ 1] [INFO ] RootPageViewModel.GetInitialPages: Beginning detection for creating initial pages.
[09:54:26.574] [ 1] [INFO ] Checking if machine version is 6.1.7601 or higher
[09:54:26.589] [ 1] [INFO ] The current operating system version is 10.0.14393, the requirement is 6.1.7601.
[09:54:26.589] [ 1] [INFO ] Password Hash Sync supported: 'True'
[09:54:26.589] [ 1] [INFO ] DetectInstalledComponents stage: The installed OS SKU is 8
[09:54:26.605] [ 1] [INFO ] DetectInstalledComponents stage: Checking install context.
[09:54:26.605] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Visual C++ 2013 Redistributable Package
[09:54:26.605] [ 1] [VERB ] Getting list of installed packages by upgrade code
[09:54:26.621] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {20400cf0-de7c-327e-9ae4-f0f38d9085f8}: no registered products found.
[09:54:26.621] [ 1] [INFO ] Determining installation action for Microsoft Visual C++ 2013 Redistributable Package (20400cf0-de7c-327e-9ae4-f0f38d9085f8)
[09:54:26.621] [ 1] [INFO ] Product Microsoft Visual C++ 2013 Redistributable Package is not installed.
[09:54:26.621] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Directory Sync Tool
[09:54:26.621] [ 1] [VERB ] Getting list of installed packages by upgrade code
[09:54:26.621] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}: no registered products found.
[09:54:26.621] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}: no registered products found.
[09:54:26.621] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {545334d7-13cd-4bab-8da1-2775fa8cf7c2}: no registered products found.
[09:54:26.621] [ 1] [INFO ] Determining installation action for Microsoft Directory Sync Tool UpgradeCodes {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}, {dc9e604e-37b0-4efc-b429-21721cf49d0d}
[09:54:26.621] [ 1] [INFO ] DirectorySyncComponent: Product Microsoft Directory Sync Tool is not installed.
[09:54:26.621] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Sync Engine
[09:54:26.621] [ 1] [VERB ] Getting list of installed packages by upgrade code
[09:54:26.621] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {545334d7-13cd-4bab-8da1-2775fa8cf7c2}: no registered products found.
[09:54:26.621] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}: no registered products found.
[09:54:26.621] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}: no registered products found.
[09:54:26.621] [ 1] [INFO ] Determining installation action for Azure AD Sync Engine (545334d7-13cd-4bab-8da1-2775fa8cf7c2)
[09:54:27.896] [ 1] [INFO ] Product Azure AD Sync Engine is not installed.
[09:54:27.896] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect Synchronization Agent
[09:54:27.896] [ 1] [VERB ] Getting list of installed packages by upgrade code
[09:54:27.896] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {3cd653e3-5195-4ff2-9d6c-db3dacc82c25}: no registered products found.
[09:54:27.896] [ 1] [INFO ] Determining installation action for Azure AD Connect Synchronization Agent (3cd653e3-5195-4ff2-9d6c-db3dacc82c25)
[09:54:27.896] [ 1] [INFO ] Product Azure AD Connect Synchronization Agent is not installed.
[09:54:27.896] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect Health agent for sync
[09:54:27.896] [ 1] [VERB ] Getting list of installed packages by upgrade code
[09:54:27.896] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {114fb294-8aa6-43db-9e5c-4ede5e32886f}: no registered products found.
[09:54:27.896] [ 1] [INFO ] Determining installation action for Azure AD Connect Health agent for sync (114fb294-8aa6-43db-9e5c-4ede5e32886f)
[09:54:27.896] [ 1] [INFO ] Product Azure AD Connect Health agent for sync is not installed.
[09:54:27.896] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure AD Connect Authentication Agent
[09:54:27.896] [ 1] [VERB ] Getting list of installed packages by upgrade code
[09:54:27.896] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {0c06f9df-c56b-42c4-a41b-f5f64d01a35c}: no registered products found.
[09:54:27.896] [ 1] [INFO ] Determining installation action for Microsoft Azure AD Connect Authentication Agent (0c06f9df-c56b-42c4-a41b-f5f64d01a35c)
[09:54:27.896] [ 1] [INFO ] Product Microsoft Azure AD Connect Authentication Agent is not installed.
[09:54:27.896] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect Administration Agent
[09:54:27.896] [ 1] [VERB ] Getting list of installed packages by upgrade code
[09:54:27.896] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {886051ec-1165-4df8-a492-19d1e0ff57ee}: no registered products found.
[09:54:27.896] [ 1] [INFO ] Determining installation action for Azure AD Connect Administration Agent (886051ec-1165-4df8-a492-19d1e0ff57ee)
[09:54:27.896] [ 1] [INFO ] Product Azure AD Connect Administration Agent is not installed.
[09:54:27.896] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Command Line Utilities
[09:54:27.896] [ 1] [VERB ] Getting list of installed packages by upgrade code
[09:54:27.896] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {52446750-c08e-49ef-8c2e-1e0662791e7b}: no registered products found.
[09:54:27.896] [ 1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Command Line Utilities (52446750-c08e-49ef-8c2e-1e0662791e7b)
[09:54:27.896] [ 1] [INFO ] Product Microsoft SQL Server 2012 Command Line Utilities is not installed.
[09:54:27.896] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Express LocalDB
[09:54:27.896] [ 1] [VERB ] Getting list of installed packages by upgrade code
[09:54:27.896] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {c3593f78-0f11-4d8d-8d82-55460308e261}: no registered products found.
[09:54:27.896] [ 1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Express LocalDB (c3593f78-0f11-4d8d-8d82-55460308e261)
[09:54:27.896] [ 1] [INFO ] Product Microsoft SQL Server 2012 Express LocalDB is not installed.
[09:54:27.896] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Native Client
[09:54:27.896] [ 1] [VERB ] Getting list of installed packages by upgrade code
[09:54:27.896] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {1d2d1fa0-e158-4798-98c6-a296f55414f9}: no registered products found.
[09:54:27.896] [ 1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Native Client (1d2d1fa0-e158-4798-98c6-a296f55414f9)
[09:54:27.896] [ 1] [INFO ] Product Microsoft SQL Server 2012 Native Client is not installed.
[09:54:27.896] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure AD Connect Authentication Agent
[09:54:27.896] [ 1] [VERB ] Getting list of installed packages by upgrade code
[09:54:27.896] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {fb3feca7-5190-43e7-8d4b-5eec88ed9455}: no registered products found.
[09:54:27.896] [ 1] [INFO ] Determining installation action for Microsoft Azure AD Connect Authentication Agent (fb3feca7-5190-43e7-8d4b-5eec88ed9455)
[09:54:27.896] [ 1] [INFO ] Product Microsoft Azure AD Connect Authentication Agent is not installed.
[09:54:27.896] [ 1] [INFO ] Determining installation action for Microsoft Azure AD Connection Tool.
[09:54:28.006] [ 2] [ERROR] A terminating unhandled exception occurred.
Exception Data (Raw): System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.NotSupportedException: The given path's format is not supported.
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at System.Management.Automation.Host.PSHostUserInterface.<>c__DisplayClass39_0.<FlushPendingOutput>b__0()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.NotSupportedException: The given path's format is not supported.
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at System.Management.Automation.Host.PSHostUserInterface.<>c__DisplayClass39_0.<FlushPendingOutput>b__0()
at System.Threading.Tasks.Task.Execute()<---
[09:54:28.193] [ 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.
[09:54:29.282] [ 1] [INFO ] Product Microsoft Azure AD Connection Tool is not installed.
[09:54:29.282] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure Active Directory Connect
[09:54:29.282] [ 1] [VERB ] Getting list of installed packages by upgrade code
[09:54:29.282] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {d61eb959-f2d1-4170-be64-4dc367f451ea}: verified product code {553423be-b5bf-4e1e-8afc-f97777c1a7d7}.
[09:54:29.282] [ 1] [VERB ] Package=Microsoft Azure AD Connect, Version=1.5.30.0, ProductCode=553423be-b5bf-4e1e-8afc-f97777c1a7d7, UpgradeCode=d61eb959-f2d1-4170-be64-4dc367f451ea
[09:54:29.282] [ 1] [INFO ] Determining installation action for Azure Active Directory Connect (d61eb959-f2d1-4170-be64-4dc367f451ea)
[09:54:29.282] [ 1] [INFO ] Product Azure Active Directory Connect (version 1.5.30.0) is installed.
[09:54:29.282] [ 1] [INFO ] DetectInstalledComponents stage: Verifying required DCOM registry keys are present.
[09:54:29.282] [ 1] [INFO ] DetectInstalledComponents::CheckBinaryRegistryValueContainsData : Registry value 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole\MachineAccessRestriction' is present.
[09:54:29.282] [ 1] [INFO ] DetectInstalledComponents::CheckBinaryRegistryValueContainsData : Registry value 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole\MachineLaunchRestriction' is present.
[09:54:29.282] [ 1] [INFO ] DetectInstalledComponents::CheckBinaryRegistryValueContainsData : Registry value 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole\DefaultLaunchPermission' is present.
[09:54:29.375] [ 1] [INFO ] ServiceControllerProvider: GetServiceStartMode(seclogon) is 'Manual'.
[09:54:29.375] [ 1] [INFO ] ServiceControllerProvider: verifying EventLog is in state (Running)
[09:54:29.375] [ 1] [INFO ] ServiceControllerProvider: current service status: Running
[09:54:29.375] [ 1] [INFO ] Checking for DirSync conditions.
[09:54:29.375] [ 1] [INFO ] DirSync not detected. Checking for AADSync/AADConnect upgrade conditions.
[09:54:29.375] [ 1] [INFO ] Sync engine is not present. Performing clean install.
[09:54:30.500] [ 1] [INFO ] PreviewFeatureState [PolicyPreview]: feature state is (False).
[09:54:30.532] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Start background task Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ExpressSettingsPageViewModel.GatherEnvironmentData in Page:"Express Settings"
[09:54:30.532] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Started Background Task Id:42
[09:54:30.532] [ 1] [INFO ] Page transition from "Express Settings" [ExpressSettingsPageViewModel] to "Error" [ErrorPageViewModel]
[09:54:30.532] [ 21] [INFO ] Checking if machine version is 6.1.7601 or higher
[09:54:30.532] [ 21] [INFO ] The current operating system version is 10.0.14393, the requirement is 6.1.7601.
[09:54:30.532] [ 21] [INFO ] Password Hash Sync supported: 'True'
[09:54:30.547] [ 1] [ERROR] RootWizardPageViewModel: An unhandled exception occurred during a page load.
Exception Data (Raw): System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ErrorPageViewModel.OnLoad(NavigateDirection direction)
at Microsoft.Online.Deployment.Framework.UI.WizardPages.RootWizardPageViewModel.ActivatePage(IWizardPage page, NavigateDirection direction)
[09:54:30.547] [ 1] [ERROR] A terminating unhandled exception occurred.
Exception Data (Raw): System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ErrorPageViewModel.OnLoad(NavigateDirection direction)
at Microsoft.Online.Deployment.Framework.UI.WizardPages.RootWizardPageViewModel.ActivatePage(IWizardPage page, NavigateDirection direction)
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.RootPageViewModel.<>c__DisplayClass16_0.<ShowTerminatingErrorPage>b__0()
at Microsoft.Online.Deployment.OneADWizard.App.SafeInvokeAction(Action action)
[09:54:30.547] [ 1] [INFO ] Page transition from "Error" [ErrorPageViewModel] to "Error" [ErrorPageViewModel]
[09:54:30.547] [ 2] [ERROR] A terminating unhandled exception occurred.
Exception Data (Raw): System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.NotSupportedException: The given path's format is not supported.
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at System.Management.Automation.Host.PSHostUserInterface.<>c__DisplayClass39_0.<FlushPendingOutput>b__0()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.NotSupportedException: The given path's format is not supported.
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at System.Management.Automation.Host.PSHostUserInterface.<>c__DisplayClass39_0.<FlushPendingOutput>b__0()
at System.Threading.Tasks.Task.Execute()<---
[09:54:30.547] [ 1] [INFO ] Express Settings install is supported: domain-joined + OS version allowed.
[09:54:30.563] [ 1] [INFO ] Page transition from "Error" [ErrorPageViewModel] to "Error" [ErrorPageViewModel]
[09:54:30.766] [ 2] [ERROR] A terminating unhandled exception occurred.
Exception Data (Raw): System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.NotSupportedException: The given path's format is not supported.
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at System.Management.Automation.Host.PSHostUserInterface.<>c__DisplayClass39_0.<FlushPendingOutput>b__0()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.NotSupportedException: The given path's format is not supported.
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at System.Management.Automation.Host.PSHostUserInterface.<>c__DisplayClass39_0.<FlushPendingOutput>b__0()
at System.Threading.Tasks.Task.Execute()<---
[09:54:30.782] [ 1] [INFO ] Page transition from "Error" [ErrorPageViewModel] to "Error" [ErrorPageViewModel]
[09:54:37.277] [ 1] [INFO ] Opened log file at path C:\ProgramData\AADConnect\trace-20200706-095422.log
[09:55:13.544] [ 1] [INFO ] Opened log file at path C:\ProgramData\AADConnect\trace-20200706-095422.log
[09:55:20.858] [ 1] [INFO ] Opened log file at path C:\ProgramData\AADConnect\trace-20200706-095422.log