When attempting to disjoin or leave an Active Directory domain from a vCenter Server Appliance, the operation fails with the following error in the vSphere Client: "There is already a native AD IDS or LDAP AD IDS registered", Unable to disjoin/leave vCenter Server Appliance from Active Directory Domain"
The presence of an active Integrated Windows Authentication (IWA) or LDAP identity source prevents the domain disjoin utility from executing.
Administration > Configuration > Identity Sources.Active Directory (Integrated Windows Authentication) identity source and click Delete.root via SSH and enable the bash shell./opt/likewise/bin/domainjoin-cli leave
/opt/likewise/bin/domainjoin-cli join <domain-name> <domain_admin_user>
Administration > Configuration > Identity Sources.