"Unexpected error encountered while performing your action."
VMware vCenter Server 8.0.x
VMware vCenter Server 7.0.x
There are orphaned user SID(s) associated with the Active Directory user, which appear to have resulted from switching the Identity Source from Integrated Windows Authentication (IWA) to LDAP(S) and then back to IWA.
These orphaned users are not visible in the vSphere Client UI, and attempts to remove them using dir-cli group modify command are unsuccessful.
Note: Ensure there is valid backup/offline snapshot of the VCSA prior to implementing the workaround. Refer to VMware vCenter in Enhanced Linked Mode pre-changes snapshot (online or offline) best practice
/usr/lib/vmware-vmafd/bin/dir-cli group list --name administratorsPS C:\Users\Administrator> Get-ADUser -Filter * | Select-Object -Property SID,Name | Where-Object -Property SID -like "* -xxxx" SID Name --- ---- S-1-5-21-########-##########-#########-xxxx ADUser
ldapmodify -h localhost -D "cn=administrator,cn=users,dc=vsphere,dc=local" -W << EOFdn: cn=Administrators,cn=Builtin,dc=vsphere,dc=localchangetype: modifydelete: membermember: externalObjectId=S-1-5-21-########-##########-#########-xxxxEOF
/usr/lib/vmware-vmafd/bin/dir-cli group list --name administrators