Entra ID users when attempting to login to the vCenter is unable to authenticate the user with an "Access Denied" error.
In vCenter /var/log/vmware/vc-ws1a-broker/federation-service.log you see entries similar to:
ERROR vCenter.example.com:federation (vert.x-eventloop-thread-#) [-;-;-;-;-;-] com.vmware.vidm.federation.authenticator.oidc.OidcAuthenticationService - Token endpoint failed io.vertx.core.impl.NoStackTraceThrowable: invalid_client: AADSTS7000222: The provided client secret keys for app '####-####-####-####-#############' are expired...
OR
ERROR vcenter.example.com:federation (vert.x-eventloop-thread-#) [-;-;-;-;-;-] com.vmware.vidm.federation.authenticator.oidc.OidcAuthenticationService - Token endpoint failed io.vertx.core.impl.NoStackTraceThrowable: invalid_client: AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to appVMware vCenter 8.x
The client secret key on Microsoft Azure has expired or the value is incorrectly added to the configuration in vCenter.
For additional information refer to How to Enable Entra ID for vCenter Server
Caused by: io.vertx.core.impl.NoStackTraceThrowable: invalid_client: AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app '############'. Trace ID: ############ Correlation ID: ############ Timestamp: YYYY-MM-DDTHH:MM:SSZ
YYYY-MM-DDTHH:MM:SS,285 WARN ############:federation (federation-business-pool-0) [CUSTOMER;-;############] ############ - Failed to process OIDC authentication
YYYY-MM-DDTHH:MM:SS,285 INFO ############:federation (federation-business-pool-0) [CUSTOMER;-;############;-;############] ############ - Metric published: com.vmware.vidm.common.metrics.model.Metrics@22161bd3
YYYY-MM-DDTHH:MM:SS,285 INFO ############:federation (federation-business-pool-0) [CUSTOMER;-;############;-;############] com.vmware.vidm.federation.utils.MetricsPublisherUtil - OIDC authentication failed
YYYY-MM-DDTHH:MM:SS,296 INFO ############:federation (federation-business-pool-0) [CUSTOMER;-;############;-;############] ############ - Deny access based on ruleset resolution result for login contextId: ############ with reason code: AUTH_FAILED
YYYY-MM-DDTHH:MM:SS,297 INFO ############(federation-business-pool-0) [CUSTOMER;-;############;-;############] com.vmware.vidm.federation.login.LoginEventServiceAspect - Failing login. contextUuid: ############, exception: com.vmware.vidm.federation.login.AccessDeniedException: Access denied with reason code: AUTH_FAILED, isAuthenticationForced: false
YYYY-MM-DDTHH:MM:SS,297 INFO ############:federation (federation-business-pool-0) [CUSTOMER;-;############;-;############] com.vmware.vidm.federation.utils.MetricsPublisherUtil - Login failed due to reason: AUTH_FAILED
YYYY-MM-DDTHH:MM:SS,297 INFO ############:federation (federation-business-pool-0) [CUSTOMER;-;############;-;############] com.vmware.vidm.federation.exception.handler.LoginExceptionHandler - Access denied for login context: ############
YYYY-MM-DDTHH:MM:SS,528 INFO ############:federation (scheduled-metrics-publisher-1) [-;-;-;-;-;-] ############ - Metric published: com.vmware.vidm.common.metrics.model.Metrics@13446751
YYYY-MM-DDTHH:MM:SS,286 INFO ############:federation (vert.x-eventloop-thread-0) [-;-;-;-;-;-] org.bouncycastle.jsse.provider.ProvTlsClient - [client #22 @796be239] disconnected from login.microsoftonline.com:443If the log entries match the examples above, follow the steps in the Resolution section to fix the issue