After successfully upgrading vCenter from 6.7 to 7.0U2, when attempting to access the vSphere Client, the login screen displays "[500] An error occurred while fetching identity providers. Try again. If problem persists, contact your administrator."
"[500] An error occurred while fetching identity providers. Try again, if problem persists, contact your administrator"
/var/log/vmware/vsphere-ui/logs/vsphere_client_virgo.log
yyyy-MM-DDTHH:MM:SS [ERROR] http-nio-5090-exec-5 70000017 100003 ###### com.vmware.vsphere.client.security.oauth2.LoginRequestHandler An error occurred while fetching providers com.vmware.vapi.std.errors.Unauthorized: Unauthorized (com.vmware.vapi.std.errors.unauthorized) => {
messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
id = com.vmware.vapi.authorization.permission.denied,
defaultMessage = Permission to perform this operation was denied.
/var/log/vmware/trustmanagement/trustmanagement-svcs.log
yyyy-MM-DDTHH:MM:SSZ [tomcat-exec-26 WARN com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingBase opId=] Asynchronous execution requested but no Executor configured. The request will be executed as synchronous one.
yyyy-MM-DDTHH:MM:SSZ [tomcat-exec-26 ERROR com.vmware.vcenter.trustmanagement.vapi.impl.setup.AuthzPermissionValidator opId=] User vsphere.local\vsphere-webclient-4c0050c8-4bd7-4d33-94f6-a2589323dfdf who belongs to groups [vsphere.local\SolutionUsers, vsphere.local\Everyone, vsphere.local\ActAsUsers, vsphere.local\Administrators, vsphere.local\vSphereClientSolutionUsers, vsphere.local\LicenseService.Administrators, vsphere.local\SystemConfiguration.Administrators] has no required privileges [VcIdentityProviders.Manage, VcIdentityProviders.Read] to invoke API com.vmware.vcenter.identity.providers.list
To provide the correct role and privileges to the vSphere Client solution user, follow the below steps.