Receiving error at the review stage of the Configure Main Identity wizard: "Could not create indirect provider: VMware Identity services unavailable"
vCenter 8.x
First run through Unable to setup Azure AD Identity provider with error "Could not create indirect identity provider: VMware Identity services unavailable" after RDU Upgrade.
This script should reset the ws1 by deleting the Crypto keys, AuthClients and service settings files.
If that does not work follow the steps below.
rm -r /var/lib/ws1/accesscontrol/rm -r /var/lib/ws1/crypto/rm -r /var/lib/ws1/federation/rm -r /var/lib/ws1/token/rm -r /var/lib/ws1/usergroup/psql -U postgres -d VCDB -c "drop schema vidm_schema CASCADE"psql -U postgres -d VCDB -c "CREATE SCHEMA vidm_schema"psql -U postgres -d VCDB -c "CREATE EXTENSION IF NOT EXISTS citext WITH SCHEMA vidm_schema"psql -U postgres -d VCDB -c "ALTER USER vidm_services_user SET search_path TO vidm_schema"psql -U postgres -d VCDB -c "GRANT ALL ON SCHEMA vidm_schema TO vidm_services_user"psql -U postgres -d VCDB -c "ALTER SCHEMA vidm_schema OWNER TO vidm_services_user"service-control --restart vc-ws1a-brokercurl -k --request POST --url https://localhost/rest/com/vmware/cis/session -u '<Admin user>:<Admin password>'curl -X PUT -k -H "vmware-api-session-id:<SESSION_ID>" http://localhost/api/vcenter/settings/namespaces/ws1/items -d '{"items": {"master_client_secret": ""}}' -H "Content-Type: application/json"vmon-cli -r trustmanagement
IDP creation should now be possible.