0 Replies Latest reply on Feb 8, 2019 10:39 AM by vmrale

    dcli - Unable to authenticate user

    vmrale Hot Shot
    vExpert

      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?