Attempts to log in to an ESXi host using Active Directory (AD) credentials result in an error message stating "Incorrect username or password." Despite using valid AD credentials, the login fails. The ESXi host has already been successfully joined to the AD domain.
VMware vSphere Esxi 8.x
This issue occurs because the relevant Active Directory (AD) group does not have the necessary permissions on the ESXi host. Additionally, the Config.HostAgent.plugins.hostsvc.esxAdminsGroupAutoAdd setting is configured to false, which prevents automatic addition of the ESX Admins group to the host with the correct admin privileges.
Note:
The current permissions can be validated using the following command:
esxcli system permission list
There are two options to resolve the issue:
esxcli system permission set -g -i 'yourdomain\esx^admins' -r Admin
esxcli system permission list