During vCenter Server upgrade to VCF 9.0, an administrator will get this error message:
Please leave the Active Directory domain before proceeding https://knowledge.broadcom.com/external/article?articleId=373004
The vCenter Server currently running 8.x versions is using IWA for an identity source.
Some environments reported that the "Leave AD" button in the UI was grayed out or non-functional due to existing identity source integrations (e.g., MS Entra or IWA).
VCF 9.x
VMware vCenter Server 8.x
VMware SDDC Manager 9.x
VCF 9.x deprecates and removes support for direct Active Directory domain join and IWA, necessitating a move to LDAPS or Federated Identity.
Before upgrading to VCF 9.0, an existing vCenter Server Appliance from an older version must leave the Active Directory domain it is joined in. The vCenter Server administrator must manually leave the Active Directory domain and ensure alternative authentication. Avoid "N/A" or leaving the identity source blank.
Customers can use MFA through federated authentication. See here for more information on configuring federated authentication.
Manually remove the IWA Identity Source and ensure alternative authentication: "Remove Integrated Windows Authentication (IWA) Identity Source from the vCenter Server" pre-check error message during VCF 9.0 upgrade
If the vCenter Server cannot be removed from the domain using the vSphere Client, SSH to the vCenter Server appliance VM as root and run the following commands:
/opt/likewise/bin/domainjoin-cli query/opt/likewise/bin/domainjoin-cli leaveor specify the domain explicitly:
/opt/likewise/bin/domainjoin-cli leave <DomainName.com>
After running these commands, please restart the vCenter Server.
If the leave command fails with the error: LW_ERROR_KRB5KDC_ERR_C_PRINCIPAL_UNKNOWN
Please refer to the following KB article for troubleshooting steps: Unable to leave Active Directory Domain from UI or CLI