VMware VCSA 6.5 error code 42500 joining Active Directory domain
Many VMware administrators by now are most likely looking at moving to vSphere 6.5. ย In doing so, moving to VCSA 6.5 appliance is the first step towards that goal, besides proper planning of course. ย Part of any vCenter configuration is getting permissions assigned to appropriate users in the environment and granting access to vCenter objects. ย Most environments will be running Microsoft Active Directory as the identity source for assigning those permissions. ย I wanted to share an error I received with a test VCSA 6.5 appliance and joining the appliance to an Active Directory domain in a lab environment. ย There was a specificย VMware VCSA 6.5 error code 42500 joining Active Directory domain.
VMware VCSA 6.5 error code 42500 joining Active Directory domain
In order to join a vCenter appliance to Active Directory, login as your SSO administrator and go toย System Configurationย >> Manage >> Active Directory and click theย Join… button.
You will be presented with a simple dialog box to enter theย Domain,ย Organizational unit,ย User name,ย andย Password. ย As you can see below theย VMware VCSA 6.5 error code 42500 joining Active Directory domain was presented when entering the correct information.
Resolution
When in doubt, use the command line. ย Login to your remote VCSA CLI and enter theย shell command. ย Once there, you can use the following command to join an Active Directory domain:
/opt/likewise/bin/domainjoin-cli join <your domain> <user name>
You will be prompted to enter the password for the user you entered to join the domain. ย You should receive aย SUCCESS message as below.
You can make sure at this point you see the computer account successfully created in your Active Directory Domain Users and Computers snapin.
Also, at this point be sure to reboot your vCenter appliance after joining the domain.
Thoughts
The process to join a VCSA appliance to the domain is not too difficult, however, in this case the error withย VMware VCSA 6.5 error code 42500 joining Active Directory domain presented in the GUI. ย This was easily overcome though by using the CLI to joing the domain from there. ย Hopefully this will help anyone else who may run into this error when joining their VCSA 6.5 appliance to an Active Directory domain.
Very insightful and interesting article. I would love to know more about this so
posting more would be appreciated.
Many thanks for this Brandon. I had exactly the same problem with the GUI and cli fixed it straight away.