vCenter

 View Only

dcli - Unable to authenticate user

  • 1.  dcli - Unable to authenticate user

    Posted Feb 08, 2019 06:39 PM

    Hi,

    sometimes when I run dcli command in vCSA 6.7U1 I don't get any results but just an error message like this one:

    dcli> com vmware cis tasks list --return-all true +username administrator@vsphere.local

    Password:

    Unable to authenticate user. Please enter the credentials again.

    Server error: com.vmware.vapi.std.errors.Unauthenticated

    Error message:

        This method requires authentication.

    I use dcli in interactive mode. I checked it with +credstore-add and with +username before, but the result is the same.

    What's wrong?