API request to Authorization Manager (vpxd) failed. Details ‘ServerFaultCode: The requested change cannot be completed because it could leave the system without full administrative privileges for a user or group.Ensure there is a valid vCenter appliance snapshot (Offline Snapshots in case of Linked Mode vCenters) before proceeding further.
/usr/lib/vmware-vmafd/bin/vmafd-cli get-machine-id --server-name localhostldapsearch -x -H "ldap://localhost" -D "cn=administrator,cn=users,dc=vsphere,dc=local" -W -b "dc=vsphere,dc=local" "(cn=vpxd-extension-<machine-id>)" memberof
Note: Replace <machine-id> with the machine-id found in step 2./usr/lib/vmware-vmafd/bin/dir-cli group modify --name ServiceProviderUsers --add vpxd-extension-<machine-id> --login [email protected]/usr/lib/vmware-vmafd/bin/dir-cli group modify --name LicenseService.Administrators --add vpxd-extension-<machine-id> --login [email protected]
Note: Replace <machine-id> with the machine-id found earlier.
service-control --restart wcp