ebenarroch
Contributor
Contributor

PowerCLI 6.5 - CONNECT-HVSERVER - InvalidDomainCredentials

Hello,

We recently downloaded and installed PowerCLI 6.5 and 10 (the most recent) and have been trying to test the Horizon View API.  However, when trying the Connect-HVserver cmdlet we get the error below.  We are sure that the username/password/domain is correct since we are able to login to the HV admin panel without a problem  (also, if we force a wrong password to the command we get a 'wrong password' error).  Any suggestions are welcome!

Connect-HVServer CONN-SERVER_FQDN -user USERNAME -password PASSWORD -domain DOMAIN

Connect-HVServer : ExceptionType : VMware.Hv.InvalidDomainCredentials

ErrorMessage : Invalid credentials on domain svtlab.local (SVTLAB) for query

Id :

Domain : VMware.Hv.ADDomainId

NetbiosDomainName : SVTLAB

DnsDomainName : svtlab.local

At line:1 char:1

+ Connect-HVServer view-orl.svtlab.local -user administrator -password **** - ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Connect-HVServer], Exception

    + FullyQualifiedErrorId : System.Exception,VMware.VimAutomation.HorizonView.Commands.Cmdlets.ConnectHVServer