VMware Cloud Community
mc1903cae
Enthusiast
Enthusiast
Jump to solution

Integrated Authentication for 'Connect-CisServer' is not working... should it?

Hi,

I am finding that, where Connect-VIServer can seamlessly/automatically authenticate using integrated authentication of my current logged in Windows domain user credentials, Connect-CisServer cannot.

I can authenticate Connect-CisServer manually by typing my Windows domain user credentials and everything seems to work OK.

I am using PowerCLI v11.

Module: VMware.VimAutomation.Cis.Core

Version: 11.0.0.10335701

PSVersion: 5.1.14409.1018

Is this per design or is it a bug?

Thanks

M

1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Have you seen my update on my previous reply?
No, it doesn't deliver integrated authentication.
I was not prompted because I created a CredentialStoreItem


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

5 Replies
LucD
Leadership
Leadership
Jump to solution

Did you add the AD account to the SystemConfiguration.Administrators group?
This is a new feature in 6.7U1 (see Emad's blog post What’s New in vCenter Server 6.7 Update 1)ad-vami.jpg

Update: it doesn't give you integrated authentication yet, it still requires a VICredentialStoreItem


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
mc1903cae
Enthusiast
Enthusiast
Jump to solution

Hi LucD,

Thanks for your help. To be fair my Windows AD account was not a member of the SystemConfiguration.Administrators group.

I have added it and retested using Connect-CisServer -Server {vCenter FQDN} and I am still prompted to enter my AD credentials:

pastedImage_7.png

Are you able to authenticate against your vCenter using Connect-CisServer -Server {vCenter FQDN} without typing any AD credentials?

Am I missing a parameter?

When I use Connect-VIServer -Server {vCenter FQDN} I am not asked for any credentials:

pastedImage_0.png

Cheers

M

0 Kudos
LucD
Leadership
Leadership
Jump to solution

Have you seen my update on my previous reply?
No, it doesn't deliver integrated authentication.
I was not prompted because I created a CredentialStoreItem


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

LucD
Leadership
Leadership
Jump to solution

There is an idea launched for this functionality, but it is not implemented (yet).


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

mc1903cae
Enthusiast
Enthusiast
Jump to solution

I was not aware of that VMware PowerCLI site; thank you for pointing me to it! I have voted for the feature/enhancement, but I won't hold my breath ;-).

I have created a New-VICredentialStoreItem for that vCenter with my AD user/password and I can now authenticate to Connect-CisServer without typing my AD creds each time.

Thanks again for your help.

Take care,

M

0 Kudos