var/log/vmware/vpxd/authz-data.json "users": { "###\\The specific user": { { "name": "Administrators", "domain": "vsphere.local" },# /usr/lib/vmware-vmafd/bin/dir-cli group list --name Administrators --login administrator --password ###externalObjectId=S-1-5-21-#### /opt/likewise/bin/ldapsearch -LLL -h localhost -p 389 -x -b "dc=vsphere,dc=local" -s sub -D "cn=administrator,cn=users,dc=vsphere,dc=local" -w *** "cn=Administrators"dn: cn=Administrators,cn=Builtin,dc=vsphere,dc=localmember: externalObjectId=S-1-5-21-#### /opt/likewise/bin/ldapsearch -LLL -h localhost -p 389 -x -b "cn=ForeignSecurityPrincipals,dc=vsphere,dc=local" -s sub -D "cn=administrator,cn=users,dc=vsphere,dc=local" -w ####### dn: cn=ForeignSecurityPrincipals,dc=vsphere,dc=localdn: externalObjectId=S-1-5-21-###,cn=ForeignSecurityPrincipals,dc=vsphere,dc=localobjectClass: foreignSecurityPrincipalextensionName: The specific user@Domain nameVMware vCenter Server 8.x
This issue occurs if someone, at some point, tried to remove the AD principal from the local vCenter Server group after removing the AD identity source from the vCenter Server.
Without the AD identity source, the AD principal will still be displayed as a member of the local vCenter Server group, due to the UPN formatted FSP group membership. But if this AD principal were to be removed from the vCenter Server group, it would be unable to query AD for the principal's SID and therefore, would end up only removing the AD principal's UPN formatted FSP membership and not the principal's SID formatted FSP group membership.
To resolve the issue, can follow the Resolution options in the article "Users or groups from Active Directory are not visible in SSO local group in vSphere Client". As explained in Resolution Option 1, use the steps below to remove the lingering SID formatted FSP group membership from the Administrators group.
0. Before undertaking any of the options listed below, take OFFLINE snapshots of both vCenter Servers in ELM/LM and ONLINE snapshot for standalone vCenter Server. For more details refer to article "Snapshot Best practices for vCenter Server Virtual Machines".
1. Check and memo the SID member "S-1-5-21-###".# /opt/likewise/bin/ldapsearch -LLL -h localhost -p 389 -x -b "dc=vsphere,dc=local" -s sub -D "cn=administrator,cn=users,dc=vsphere,dc=local" -w ####### "cn=Administrators"dn: cn=Administrators,cn=Builtin,dc=vsphere,dc=localmember: externalObjectId=S-1-5-21-###
2. Create a file on the vCenter Server (e.g., remove_AD_principal_from_Administrators_group.ldif) with the following content (Use the S-1-5-21-### value checked in Step 1.):dn: cn=Administrators,cn=Builtin,dc=vsphere,dc=localchangetype: modifydelete: membermember: externalObjectId=S-1-5-21-###
3. Run the ldapmodify command with the LDIF file:/opt/likewise/bin/ldapmodify -x -W -D "cn=Administrator,cn=Users,dc=vsphere,dc=local" -f remove_AD_principal_from_Administrators_group.ldif
IF you are getting the Precheck error on editing/changing your SSO, and the error remains after running the above steps: