Jump to content
Welcome to our new Citrix community!
  • 0

Getting authentication error while invoking commands using Citrix Cloud Client ID and Secret stored in Profiles


UDDAVE JAJOO

Question

Hello Team, 

We are currently running a hybrid environment with resources configured in On Prem and Cloud. We have schedule reports configure to get data from the Citrix Cloud Site. Since last 1 week, we have noticed issues with not authenticating to Citrix cloud using the command 
Set-XdCredentials, which utilizes the Client Secret and ID stored in the profile.  It has been working since last 8 months since we migrated to cloud and all of a sudden stopped working recently. And on the same server if I authentication using Get-XdAuthentication command which lets me login via web browser works perfectly fine. 

 

Issue is occurring only while utilizing the Set-XdCredentials command and pointing to a profile. Does any one have any context on how could this be resolve or faced a similar problem like this?

Scripts are running on a management server On Prem have open connectivity to Citrix Cloud URLs via port 443.
PowerShell SDK installed version - 7.36.25463.42352
Error Details for reference:-

PS C:\Users\User> Set-XDCredentials -ProfileName CitrixCloudApiPRD
PS C:\Users\User> Get-BrokerDesktop | Select Name
Get-BrokerDesktop : Get-XDAuthentication failed: XDSDKProxy not set
At line:1 char:1
+ Get-BrokerDesktop | Select Name
+ ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : AuthenticationError: (:) [Get-BrokerDesktop], SdkOperationException
    + FullyQualifiedErrorId : Citrix.XDPowerShell.Broker.AccessDenied,Citrix.Broker.Admin.SDK.GetBrokerDesktopCommand

XAXDProxyAuthenticationError.JPG

Link to comment

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...