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

Citrix Posh SDK prompts trows error at first connection only

Bruno Postiau


Good morning

We use Onprem environment,

I found on this forum that by setting Set-XDCredentials -ProfileType OnPrem we can bypass the cloud access when running scripts

however at the very first connection, I still get an error message when i launch the get-brokercontroller command.


Error Get-BrokerController : Get-XDAuthentication failed: XDSDKProxy not set


here is the script 

Set-XDCredentials -ProfileType OnPrem
$cred = Get-Credential

$CitrixAdminAddress = "ctxdcp1.***.***`:80" (address edited)


The error is only visible once, if i relaunch the very same script right after the error,  it works

Does anyone know how to force the setting to be taken into account at the very first connection ? 

note that i don't have anything in the XdCredentials, as we are fully onprem.


thanks in advance


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...