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

Credentials error in Citrix Studio when trying to update Machine Catalog using MCS



  • When selecting a Machine Catalog in Citrix Studio an error message is displayed:
    An error occurred with your username and password combination. Ensure that you entered them correctly
  • When trying to configure a machine update using MCS, when selecting the Master image the message An error occurred with your username and password combination. Ensure that you entered them correctly is displayed while the system attempts to enumerate machines from Active Directory.

View error details shows the following:

Error Id: XDDS:98EFB221

    Citrix.Console.Models.Exceptions.InvalidHypervisorCredentialsException An error occurred with your user name and password combination. Ensure that you enter them correctly.
       at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.CreateException[T](ICommonLog logger, ExecutionResults`1 results, ICmdletExecutionHost host)
       at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.Execute[T](ISdkCmdlet`1 sdkCmd, ICmdletExecutionHost host, Boolean allowFailover)
       at Citrix.Console.PowerShellSdk.HypervisorService.Scripts.GetGpuGroupsScript.RunScript()
       at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
       at Citrix.Console.PowerShellSdk.HypervisorService.PSHypervisorService.GetGpuGroups(HypervisorConnectionModel connection, ScriptExecutionContext context)
       at Citrix.Console.ProvisioningSchemes.UI.Mmc.ProvisioningSchemesDetailsTabViewModel.LoadGpuDetails(Object sender, EventArgs e)
       at System.EventHandler.Invoke(Object sender, EventArgs e)
       at Citrix.Console.CommonControls.ViewModelBase.<>c__DisplayClasse.<RunBackgroundTask>b__c(Object s, DoWorkEventArgs e)
    DesktopStudio_ErrorId : ConnectionInvalidCredentials
    Exception : Citrix.ManagedMachineAPI.InvalidCredentialsException: Authentication Failed ---> XenAPI.Failure: Could not authenticate session. Check your access credentials and try again.
       at XenAPI.Response`1.parse()
       at XenAPI.Session.login_with_password(String username, String password)
       at HypervisorsCommon.Utilities.UseClearTextPassword(SecureString password, Action`1 action)
       at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenServerSession.LogOn()
       at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenServerSession.EnsureConnected()
       --- End of inner exception stack trace ---
       at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenServerSession.EnsureConnected()
       at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenServerSession.CallAndRetry[T](Func`2 xenServerCommandDelegate)
       at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenMachineManager.AddStorageItems(String containingPath, IList`1 items)
       at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenMachineManager.GetContents(String path, Boolean all)
       at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenHypervisor.EnumerateContents(ConnectionDetails connectionDetails, String path, Boolean returnAll)
       at Citrix.Host.Logic.GetHypervisorItemContents(HypervisorConnection connection, SecretStringBuffer password, String path, Boolean force, HypervisorObject[]& hypervisorObjects)
       at Citrix.Host.Logic.GetHypervisorItemContents(String path, HypervisorConnection connection, Char[] password, Boolean force, HypervisorObject[]& hypervisorObjects)
    Reason : InvalidCredentialsException
    Message : Authentication Failed
    Sdk Error Message : The supplied credentials for the connection are not valid.
    Sdk Error ID : Citrix.XDPowerShell.HostStatus.ConnectionInvalidCredentials,Microsoft.PowerShell.Commands.GetChildItemCommand
    ErrorCategory : NotInstalled
    DesktopStudio_PowerShellHistory : GetGpuGroupsScript
    10/03/2016 9:18:23 PM
    Set-HypAdminConnection  -AdminAddress "<your-delivery-controller-FQDN:port>"
    Get-ChildItem  -LiteralPath @("XDHyp:\Connections\<your-connection-name>")
    Get-ChildItem : The supplied credentials for the connection are not valid.
    + CategoryInfo : InvalidOperation: ((: [Get-ChildItem], InvalidOperationException
    + FullyQualifiedErrorId : Citrix.XDPowerShell.HostStatus.ConnectionInvalidCredentials,Microsoft.PowerShell.Commands.GetChildItemCommand
    Get-ChildItem : The supplied credentials for the connection are not valid.
    + CategoryInfo : NotSpecified: ((: [Get-ChildItem], InvalidOperationException
    + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.GetChildItemCommand
Inner Exception:
    System.InvalidOperationException The supplied credentials for the connection are not valid.


CAUSE: The user account used during Site creation process to authenticate the connection to Active Directory either is incorrect or the password has expired


  • Verify the account in Active DirectoryIn Citrix Studio, expand "Configuration" and "Hosting"
  • Right-click the connection and select "Edit Connection"
  • Under "Connection Properties" click "Edit settings..."
  • Update the "User" and "Password" fields using valid credentials
  • Click "OK" twice to close the Connection properties
  • Right-click the Connection again and select "Test Connection" to verify everything is configured correctly 


Link to comment

3 answers to this question

Recommended Posts

  • 0

I had to rejoin the esxi hypervisor and that helped me ,


1. Log in to the Platform Services Controller Appliance as root and activate the bash shell.

2. Leave the domain by running the /opt/likewise/bin/domainjoin-cli leave command.

3. Reboot the appliance.

4. Delete the computer account on the Active Directory.

5. Log in to the appliance again and enable the bash shell.

6. Join to the domain by running the following command /opt/likewise/bin/domainjoin-cli join domain-name domain_admin_user


for example: /opt/likewise/bin/domainjoin-cli join vmware.com administrator


7. Reboot the appliance.


Remove from domain using command, reboot, wait 15 minutes, join to domain, reboot, wait 15 minutes, add authentication source using built-in authentication, reboot, and it works.



Link to comment

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