vSphere 6.5

VMware VCSA 6.5 error code 42500 joining Active Directory domain

Learn about how to resolve 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.

vcdomain02

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.

vcdomain04a

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.

vcdomain04b

You can make sure at this point you see the computer account successfully created in your Active Directory Domain Users and Computers snapin.

vcdomain05

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.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

2 Comments

  1. Many thanks for this Brandon. I had exactly the same problem with the GUI and cli fixed it straight away.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.