When it failed at the time of adding on domain,
Are you trying joining windows based or appliances (VC).
give me the screen shot.
Trying with vcenter appliance 6.5, stage 2 always failed Error: 24, join vmdir failed
This is known issue
you can skip it and add later after installing