Quantcast
Channel: VMware Communities : Discussion List - VMware vCloud Director
Viewing all articles
Browse latest Browse all 4515

Unable to connect to vCD with PowerCLI

$
0
0

Hi, can you help me with troubleshooting problem with connecting to vCD using PowerCLI.

 

When I'm connecting using my System Administrator account

Connect-CIServer vcdCell01 -User 'user' -Password 'pass'

I'm getting:

Connect-CIServer : 11/30/2015 12:19:21 AM    Connect-CIServer        The

server returned 'Unauthorized' with the status code 401 - Unauthorized.

At line:1 char:1

+ Connect-CIServer vcdCell01 -User 'user' -Password 'pass'

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

    + CategoryInfo          : NotSpecified: (:) [Connect-CIServer], CIException

    + FullyQualifiedErrorId : Cloud_ConnectivityServiceImpl_ConnectCloudServer

   _ConnectError,VMware.VimAutomation.Cloud.Commands.Cmdlets.ConnectCIServer

 

I can connect to Web UI using same System Administrator account.

 

The only way I can connect with PowerCLI is when I create local account in one of organizations and add -Org to command

Connect-CIServer vcdCell01 -User 'localuser' -Password 'localpass' -Org 'org'

 

Please help.


Viewing all articles
Browse latest Browse all 4515

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>