Error connecting to Citrix farm using Negotiate authentication
Symptoms
When scanning a Citrix XenApp Farm using custom credentials you may see the following error
The Citrix XenApp farm agent encountered an exception when 'Connecting to Citrix farm using Negotiate authentication'. Connecting to remote server failed with the following error message: The WinRM client cannot process the request. Default credentials with Negotiate over HTTP can be used only if the target machine is part of the TrustedHosts list or the Allow implicit credentials for Negotiate option is specified.
Cause
When scanning a Citrix XenApp Farm using custom credentials Negotiate authentication is used and the computer running the XIA Configuration Client must trust the remote machine before a remote PowerShell session can be established.
Resolution
For more information see the Using Custom Credentials section.