CVAD LTSR 1912 CU2 - Azure Hosting Connection does not work as expected

CVAD LTSR 1912 CU2 - Azure Hosting Connection does not work as expected

book

Article ID: CTX292869

calendar_today

Updated On:

Description

After upgrading to CVAD LTSR 1912 CU2, the Azure Hosting Connection may fail to work correctly. The same issue may occur on a new installation of CVAD LTSR 1912 CU2. On executing Test Connection from Studio > Configuration > Hosting node, the following error is observed

Error Id: XDDS:D2089BCCException:
DesktopStudio_PowerShellHistory : TestHypervisorConnectionScript
12/9/2020 5:28:37 PM

Get-HypService -AdminAddress "mt-ctx1.fabrikam.com:80" -BearerToken ******** -MaxRecordCount 2147483647

Error Source : Citrix Studio

StackTrace: Citrix.Console.Common.CitrixAggregateException One or more parallel operations failed
at Citrix.Console.Common.CitrixParallel.InternalForEach[TIn](IEnumerable`1 items, Action`1 operation, Int32 maxSimultaneous)
at Citrix.Orchestration.Base.PowerShellSdk.HypervisorService.Scripts.TestHypervisorConnectionScript.RunScript()
at Citrix.Orchestration.Base.PowerShellInteraction.PowerShellScript`1.Run()
at Citrix.Console.Hypervisors.UI.Pages.AzureRMHypervisorDetailsViewModel.ValidatePage()
at Citrix.Console.CommonControls.Wizard.PageContainerViewModel.<>c_DisplayClass15_0.<ValidateAndMoveToPage>b_0()

Inner Exception:
DesktopStudio_ErrorId : UnknownError
ErrorCategory : ResourceUnavailable
Studio_TargetHost : mt-ctx1.fabrikam.com
DesktopStudio_PowerShellHistory : SimplePowerShellScript

StackTrace: Citrix.Orchestration.Base.LogicModels.Exceptions.HypervisorNotContactableException The host server cannot be contacted. Check that the connection has a valid host address, and that the host server is powered on and working properly.

Error: Could not connect to Azure.One or more errors occurred.
at Citrix.Orchestration.Base.PowerShellSdk.HypervisorService.Scripts.HypervisorConnectionHelpers.CreateNewConnection(ICmdletExecutionHost executionHost, IUnityContainer container, HypervisorConnectionModel hypervisorConnection, Boolean persist, Boolean ignoreHA, String hostServiceAddress)
at Citrix.Orchestration.Base.PowerShellSdk.HypervisorService.Scripts.TestHypervisorConnectionScript.<>c_DisplayClass6_1.<RunScript>b_1(ICmdletExecutionHost host)
at Citrix.Orchestration.Base.PowerShellInteraction.SimplePowerShellScript.<>c_DisplayClass4_0.<Run>b_0(ICmdletExecutionHost host)
at Citrix.Orchestration.Base.PowerShellInteraction.PowerShellScript`1.Run()
at Citrix.Console.Common.CitrixParallel.<>c_DisplayClass5_2`1.<InternalForEach>b_0(Object arg)

Inner Exception:
DesktopStudio_ErrorId : HypervisorNotContactable
Exception : PluginUtilities.Exceptions.HostingInfrastructureCommunicationsFailureException: Error: Could not connect to Azure.One or more errors occurred. ---> PluginUtilities.Exceptions.WrappedPluginException: One or more errors occurred. ---> PluginUtilities.Exceptions.WrappedPluginException: An error occurred while sending the request. ---> PluginUtilities.Exceptions.WrappedPluginException: The remote server returned an error: (403) Forbidden.

 

Resolution

To resolve this issue, upgrade the .NET Framework to 4.7.2 or higher. Citrix is working on a long term fix to incorporate .NET Framework 4.7.2 setup in the meta-installer so it can be upgraded automatically as part of the CVAD setup.

Problem Cause

This issue can occur if you do not have .NET Framework 4.7.2 or higher on the machine. The AzureRM plugin bundled with LTSR 1912 CU2 requires .NET Framework 4.7.2 to work correctly.