• Citrix Cloud Documentation Script V1.12

    January 30, 2021

    Citrix Cloud, PowerShell

    Version 1.12 30-Jan-2021

    • Fixed duplicate item in the HTML output for Machine Catalogs

    You can always find the most current script by going to https://carlwebster.com/where-to-get-copies-of-the-documentation-scripts/



    About Carl Webster

    Carl Webster is an independent consultant specializing in Citrix, Active Directory, and technical documentation. Carl (aka “Webster”) serves the broader Citrix community by writing articles (see CarlWebster.com) and by being the most active person in the Citrix Zone on Experts Exchange. Webster has a long history in the IT industry beginning with mainframes in 1977, PCs and application development in 1986, and network engineering in 2001. He has worked with Citrix products since 1990 with the premiere of their first product – the MULTIUSER OS/2.

    View all posts by Carl Webster

    5 Responses to “Citrix Cloud Documentation Script V1.12”

    1. Deb Lauro Says:

      We are seeing the same thing, Carl, I have included more of the information below (minus identifying info)

      VERBOSE: Get-XDAuthentication: DecodeCustomersFromCwsToken: Customers decoded :1
      VERBOSE: Get-XDAuthentication: Error – Customer: ######## not found in list: companyname
      VERBOSE: Get-XDAuthentication: Exit
      WARNING: CC Site1 information could not be retrieved. Script cannot continue
      ProcessScriptSetup :

      Unable to connect to your Citrix Cloud Account ########

      cmdlet failed: Get-XDAuthentication failed: XDSDKProxy not set

      At C:\scripts\CC_Inventory_V1.ps1:30852 char:1
      + ProcessScriptSetup
      + ~~~~~~~~~~~~~~~~~~
      + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,ProcessScriptSetup

      We are at a loss, The customer number is correct. I even created a second API connection just in case the first one was corrupt.

      Thanks for any help you can lend.


      • Carl Webster Says:

        A fellow CTP should reach out to you soon to help you.




      • Carl Webster Says:

        This was resolved through troubleshooting done by fellow CTP Shane O’Neill.

        Make sure to use the Customer ID, not the OrgID.



    2. phourasmy TANSERI Says:


      Thanks for your scripts 😉 I have run the script for the Cloud.

      You confirm that the account to be used matches the account to connect to Citrix cloud “a. Set-XDCredentials -CustomerID “Customer account from Step 2″ ” ?

      Below are the steps :

      1 Add-PSSnapin *citrix*

      2. Set-XDCredentials -CustomerID “toto” -SecureClientFile “patch” -ProfileType CloudAPI -StoreAs “Example_1”

      3. Set-XDCredentials -CustomerID “toto” -ProfileType CloudAPI -StoreAs “Default” -APIKey “xxxxxxxxxxx” -SecretKey “xxxxxxx”

      4 .\CC_Inventory_V1.ps1 -ProfileName “Example_1”

      => I have the error message “Unable to connect to your Citrix Cloud Account toto

      cmdlet failed: Get-XDAuthentication failed: XDSDKProxy not set

      Do you have an idea?

      thank you for your help, have a nice day

      Best regard


    Leave a Reply