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:

  1. Open PowerShell on the Desktop Delivery Controller (DDC).
  2. Type “asnp Citrix*” to enable the Citrix cmdlets.
  3. Run: “Set-BrokerSite -TrustRequestsSentToTheXmlServicePort $true
  4. 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.

2 Comments

  1. Steve Bornstein

    Went through 3 1/2 support engineers before a colleague shared this with me.

    Thanks Pablo.

    • Pablo Legorreta

      Glad to be of help, Steve!

Comments are closed