I would like to add the ESX host in Windows Active Directory, please share the inputs and powercli scripts.
I have followed the cmd below. I'm able to add ESX host in Active Directory, unable to login with ESX using AD Credentials (after adding domain & No rebooted), is there any way to add the same AD Group using VC Admin permission group has been added to the ESX.
Get-VMHostAuthentication -VMHost <VMHost> | Set-VMHostAuthentication -JoinDomain -Domain <Domain> -User <Username> -Password <Password>
I'm not 100% sure that I fully understand your question, so please don't mind me if this is not what you are asking or.
Once an ESXi host is joined to an AD domain, users in the "ESX Admins" AD group have full permissions. The name of that group can be changed in the host's advanced settings from e.g. the UI, or using PowerCLI. See e.g. https://arabitnetwork.com/2018/12/05/esxi-security-hardening-change-the-default-esx-admins-ad-group/
After adding ESX server to the Domain. Add the Group to Custom created AD Group(contains Admin Previlages in Vcenter Same group has been added to the ESX host) after Sucessfully Completed not able to Login the ESX Host Gui /Shell.
For Ex: I have added Esx host in domain like : emea.xxx.xxxx
And i have changed to the "ESX Admins" to Custom Group has owning the Permissions on the same on Vcenter. (Change the Config.HostAgent.plugins.hostsvc.esxAdminsGroup setting to match the Administrator group that you want to use in the Active Directory.)
While trying to Login the ESX : email@example.com
Can you keep default group name 'ESX admins' and check?