Recently, I ran into an odd issue where SmartAccess was not working on a CVAD environment. It turns out that NetScaler Gateway SmartAccess depends on XML requests which need to be enabled. In the past, there was a policy to Trust Requests Sent to the XML Service Port, however, this policy has been removed from the Studio Policies.
In order to get this working, we need to hit up PowerShell and perform the following process:
- Open PowerShell on the Desktop Delivery Controller (DDC).
- Type “asnp Citrix*” to enable the Citrix cmdlets.
- Run: “Set-BrokerSite -TrustRequestsSentToTheXmlServicePort $true”
- Run “Get-BrokerSite” to validate that “TrustRequestsSentToTheXmlServicePort” is set to True.
After this is complete, SmartAccess Policies will work. I have personally tested this as working.
Went through 3 1/2 support engineers before a colleague shared this with me.
Thanks Pablo.
Glad to be of help, Steve!