Unable to add account using Netscaler Gateway URL

Unable to add account using Netscaler Gateway URL

book

Article ID: CTX317972

calendar_today

Updated On:

Description

When attempting to add an account through Workspace App and see this error: 

"Your account cannot be added using this server address. Make sure you entered it correctly. You may need to enter your email address instead."

Using the Storefront URL allows the account to be added

Using the Load Balancing Netscaler URL fails 

Resolution

Within the Netscaler Gateway configurations, set the Expression policy based on classic or advanced to:
  • Classic policy expression, in the Expression field, add the following information:  REQ.HTTP.HEADER User-Agent CONTAINS CitrixReceiver
  • Advanced policy expression, in the Expression field, add the following information:  HTTP.REQ.HEADER("User-Agent").CONTAINS("CitrixReceiver")
Making this change allows adding the account using the Load Balancing URL.

Problem Cause

Netscaler Session policy configuration was set to prohibit this.

REQ.HTTP.HEADER User-Agent NOTCONTAINS CitrixReceiver

Issue/Introduction

Unable to add account using Netscaler Gateway URL

Additional Information

https://docs.netscaler.com/en-us/citrix-gateway/current-release/vpn-user-config/configure-gateway-session-policies-for-storefront.html#create-a-session-policy-for-citrix-workspace-app-for-windows-or-mac-and-mobile-devices-on-netscaler-gateway