vSphere 6.5

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 DomainOrganizational unitUser 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 has over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, Brandon 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.

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.