VMware Cloud Community
stevedowdeswell
Contributor
Contributor

Problems logging into vCloud Director with Power CLI

I am trying to log into a new vCloud Director install, it has a single Org called CloudProvider and a single user account Administrator.

When attempting to log into the vCD cell using power cli connect-ciserver -server vcd.fqdn -Org CloudProvider, and entering the username and password when prompted, I then get a 401 unauthorized error.

Not sure how to go about troubleshooting this, any ideas?

Thanks in advance.

0 Kudos
2 Replies
Chrigoli
Enthusiast
Enthusiast

Hi Steve

I just tested to log in directly to the org and it worked. So maybe you can try creating another user not called "Administrator" in your org and try again.

Cheers

0 Kudos
stevedowdeswell
Contributor
Contributor

I have tried creating a test user (with org admin rights) and now I get a 500 error (internal server error).

I get the same when I try to navigate to the url/api/versions as well.

Any thoughts?

0 Kudos