"Unable to authorize. User 'user@domain' is not authorized to run this command"
shell or shell.set --enable=true from the vCenter Server Appliance (VCSA) appliance shell.The Active Directory service account lacks the specific SSO privileges required to access the vCenter Server Appliance BASH shell. By default, domain accounts are restricted from launching the shell unless they are explicit members of the SystemConfiguration.BashShellAdministrators group.
Grant the AD service account the necessary SSO permissions and utilize the dir-cli utility for password management.
Grant Authorization:
Administration > Single Sign On > Users and Groups.SystemConfiguration.BashShellAdministrators group.Enable and Access the Shell:
shell.set --enable=true
shellExecute Password Rotation:
dir-cli utility to change the SSO password:/usr/lib/vmware-vmafd/bin/dir-cli password change --account [email protected]