When logging into the vCenter Server Appliance Management Interface (VAMI) using a newly created Single Sign-On (SSO) account or an Active Directory (AD) user account, users experience permission-related errors.
Symptoms:
vCenter Server 7.x
vCenter Server 8.x
The VAMI authorization module relies on its own authentication based on local privileges. Adding a user to vCenter SSO with Global Permissions and the Administrator role does not grant the necessary privileges for VAMI operations, resulting in insufficient permissions to access or modify the local appliance configuration.
Follow the below steps to add the newly created account into the built-in groups "SystemConfiguration.Administrators" & "SystemConfiguration.BashShellAdministrators" :
Additionally, the AD user or group could also be added to the vsphere.local/Administrators group, which, by default is a member of the SystemConfiguration.Administrators group, however, this is not considered a best practice from a security perspective.
To audit or list existing local accounts with access to VAMI, run this shell command via SSH to vCenter: localaccounts.user.list
For more information about groups within vCenter SSO domain, refer: Groups in the vCenter Single Sign-On Domain