The following error occurred during an authentication attempt for user:domain.com\abc with realm: <unknown>

The following error occurred during an authentication attempt for user:domain.com\abc with realm: <unknown>

book

Article ID: CTX219618

calendar_today

Updated On:

Description

Getting error "Cannot complete your request" when accessing the website through Netscaler Gateway.
Bypassing the Netscaler Gateway website works fine.
Event ID:2
"The following error occurred during an authentication attempt for user:domain.com\abc with realm: <unknown>"

Resolution

At the Storefront server open a command line and run the following command:
 >set u

There would be two fields called USERDOMAIN and USERDNSDOMAIN
And these will be like this:
USERDNSDOMAIN=DOMAIN.COM
USERDOMAIN=DOMAIN

Open Netscaler Gateway Virtual server session profile.
Go to Published applications tab and look for SSODomain field

As per the error it would be domain.com
We need to change it to domain, and save the configuration on Netscaler.

Also confirm that Storefront has either "Any" domain selected or has "domain.com" and "domain" added as trusted domain.



 

Problem Cause

SSO domain not correct on Netscaler Gateway session profile.

Additional Information

For multi-domain setup

https://www.citrix.com/blogs/2017/12/22/multi-domain-considerations-with-netscaler-gateway-and-storefront-part-2/