Connect-VIServer cmdlet fails withCannot complete login due to an incorrect user name or password.ERROR vmidentity-sts ## [vc@### threadName="tomcat-http--2" logger="com.vmware.identity.idm.server.IdentityManager" corId="########-####-####-####-############"] Failed to authenticate principal [user@domain] for tenant [vsphere.local]" VCF Operations 9.1.X
vCenter 9.1.X
VCF 9.1.X
Log in to vCenter with PowerCLI needs the following format:
<username>@<upn-domain>@<login-domain>
Example:
userPrincipalName - [email protected]
UPN domain- rainpole.com
Login domain - rainpole.local
In the above scenario login will be successful using [email protected]@rainpole.local
If you are utilizing this method for a previously created service account in AD:
User Provisioning' and Sync<username>@<upn-domain>@<login-domain> format