You can add ESXi hosts to an Active Directory domain by using vSphere Authentication Proxy instead of adding the hosts explicitly to the Active Directory domain.
You only have to set up the host so it knows about the domain name of the Active Directory server and about the IP address of vSphere Authentication Proxy. When vSphere Authentication Proxy is enabled, it automatically adds hosts that are being provisioned with Auto Deploy to the Active Directory domain. You can also use vSphere Authentication Proxy with hosts that are not provisioned by using Auto Deploy
By default, ESXi hosts require explicit verification of the vSphere Authentication Proxy certificate. If you are using vSphere Auto Deploy, the Auto Deploy service takes care of adding the certificate to hosts that it provisions. For other hosts, you must add the certificate explicitly.
For more information, please check
VMware vCenter Server 7.x
VMware vCenter Server 8.x
ENABLE
"Login to vCSA via SSH
Navigate to /etc/vmware/vmware-vmon/svcCfgfiles
Make a backup of the configuration file vmcam.json
root@vcsa [ /etc/vmware/vmware-vmon/svcCfgfiles ]# cp -p vmcam.json vmcam.json.bk
Edit vmcam.json
and Change startupType from "MANUAL
" to "AUTOMATIC
"
"StartupType" : "AUTOMATIC",
Restart service
root@vcsa [ /etc/vmware/vmware-vmon/svcCfgfiles ]# vmon-cli -r vmcam
Service should show as Automatic in VAMI
Note: as stated previously by default, ESXi hosts require explicit verification of the vSphere Authentication Proxy certificate. If you are using vSphere Auto Deploy, the Auto Deploy service takes care of adding the certificate to hosts that it provisions. For other hosts, you must add the certificate explicitly.
root@vcsa [ /var/log/vmware/vmcamd ]# tail -f vmcamd-syslog.log
info vmcamd t@140640079820544: Creating machine account for Host 'esxi01.###.###', OU ''
info vmcamd t@140640079820544: Machine account for Host 'esxi01.###.###', OU '' created
info vmcamd t@140640079820544: Created Machine account is 'ESXI01$'