vCenter AD authentication ESXi Host Profile issue
There is a bug with 4.1 host profiles, profiles built from a reference host that were joined to a Windows Domain using Authentication Services cannot be successfully applied. The Host Profile prompts you for credentials to authenticate and gets stuck, next in the host profile wizard no longer works. I also notice if you select options in the host profile settings displayed you may receive an errror “an internal error occurred in the vSphere Client. Details: The given key was not present in the dictionary.”
According to this Communities thread it is indeed a bug and will be fixed in future releases.
In the meantime you can disable the Domain join setting in the host profile by editing the host profile “Configure a fixed domain name” in “Authentication Services/Active Directory Configuration/Domain Name” and set it to “Host not joined to any domain” or remove the reference host from the domain and updating the profile using that reference host.
I am able to add host to domain using host profiles.
The issue happens if you try to apply the host profile via powercli script.
I have double checked and I continue to see this issue across several different hosts, ESXi 4.1. Ensure your hosts are not already using Domain Authentication, if they are you wont have the problem as the profile will skip that step. The issue also occurs using powercli scripts.
I also had this issue. The host was not using Domain Authentication. When I ran the host profile it simply stopped and received the error message you mentioned after some minutes. Thanks for making me aware it was a bug. Simple fix, but I wish this feature worked as I need it in my environment