VMware Cloud Community
vmrale
Expert
Expert

dcli - Unable to authenticate user

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?

Regards
Radek

If you think your question have been answered correctly, please consider marking it as a solution or rewarding me with kudos.
Tags (2)
Reply
0 Kudos
0 Replies