Jul 06 2022 08:22 PM
Good day to all,
I am having issues when I attempt to install Azure Active Directory Connect. Below is the log file section related to the failure. I saw another post that referenced installing the certificate that signs, AdSyncConfig.psm1. That didn't change the outcome.
[16:48:13.149] [ 4] [ERROR] AzureTenantPage: Caught exception when connecting to Azure via AAD PowerShell.
Exception Data (Raw): System.Management.Automation.CmdletInvocationException: Errors occurred while loading the format data file:
Microsoft.PowerShell, , C:\Program Files\Microsoft Azure Active Directory Connect\AADPowerShell\MSOnline.Format.ps1xml: The file was skipped because of the following validation exception: AuthorizationManager check failed..
---> System.Management.Automation.RuntimeException: Errors occurred while loading the format data file:
Microsoft.PowerShell, , C:\Program Files\Microsoft Azure Active Directory Connect\AADPowerShell\MSOnline.Format.ps1xml: The file was skipped because of the following validation exception: AuthorizationManager check failed..
at System.Management.Automation.Runspaces.FormatAndTypeDataHelper.ThrowExceptionOnError(String errorId, Collection`1 independentErrors, Collection`1 PSSnapinFilesCollection, RunspaceConfigurationCategory category)
at System.Management.Automation.Runspaces.RunspaceConfigurationEntryCollection`1.Update(Boolean force)
at Microsoft.PowerShell.Commands.ModuleCmdletBase.LoadModuleManifest(String moduleManifestPath, ExternalScriptInfo manifestScriptInfo, Hashtable data, Hashtable localizedData, ManifestProcessingFlags manifestProcessingFlags, Version minimumVersion, Version maximumVersion, Version requiredVersion, Nullable`1 requiredModuleGuid, ImportModuleOptions& options, Boolean& containedErrors)
--- 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.PowerShellHelper.InvokeCommand(IPowerShell powerShell, Command command)
at Microsoft.Online.Deployment.PowerShell.PowerShellHelper.ImportModule(IPowerShell powerShell, String moduleName)
at Microsoft.Online.Deployment.PowerShell.PowerShellHelper.ConnectMsolService(IPowerShell powerShell, Command connectCommand, String azureInstanceId)
at Microsoft.Online.Deployment.PowerShell.PowerShellHelper.ConnectMsolService(IPowerShell powerShell, String accessToken, String azureInstanceId)
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.AzureTenantPageViewModel.ConnectToMSOnline(IPowerShell powerShell, IAzureAuthenticationProvider azureAuth, String& helpLinkTag)
Any help will be much appreciated.
Thanks,
Tim
Jul 06 2022 11:30 PM
Hello @c5411,
Please, try to manually install the Microsoft certificate:
IT - Hint: Error when configuring Azure AD Connect at MSOnline.Format.ps1xml file
Jul 08 2022 10:26 AM