Entra ID users when attempting to login to the vCenter is unable to authenticate with an "Access Denied" error.
In vCenter /var/log/vmware/vc-ws1a-broker/federation-service.log shows 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: ###########: 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: ###########: 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.
https://portal.azure.com and log in with your credentials.For additional information refer to How to Enable Entra ID for vCenter Server
Caused by: io.vertx.core.impl.NoStackTraceThrowable: invalid_client: ########: 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@13446751If the log entries match the examples above, follow the steps in the Resolution section to fix the issue