When attempting to log in to VMware Cloud Foundation Products using Microsoft Entra ID (SAML) via the VCF SSO, the authentication fails.
The end user experiences the following error on the VCF SSO login screen:
Access Denied. Unable to authenticate the user

To verify the issue you must review the vidb pod logs on the VCF Identity Broker appliance. Follow the below steps:
- SSH into your VCF Identity Broker appliance as
vmware-system-user. - Locate the
vidb pod name by listing all pods in the identity namespace:kubectl get pods -A | grep vidb
- Retrieve the logs for the specific federation service within that pod to look for the
USER_NOT_FOUND exception:kubectl logs <vidb-pod-name> -n vidb-external | grep "User fetching exception"
Reviewing the
vidb pod logs will reveal entries similar to the following, indicating that VCF Identity Broker received an opaque string instead of the actual User Principal Name (UPN):
INFO vidb-service-##########-#####:federation (federation-business-pool-0) [CUSTOMER;-;X.X.X.X;########-####-####-####-############;-;########-####-####-####-############] com.vmware.vidm.federation.authenticator.saml.SamlAuthenticator - SAML AuthNContext on response: urn:oasis:names:tc:SAML:2.0:ac:classes:Password does not match any auth type on IDP Microsoft Entra ID. Using first auth on IDP.
WARN vidb-service-##########-#####:federation (ForkJoinPool-2-worker-####) [CUSTOMER;-;X.X.X.X;########-####-####-####-############;-;########-####-####-####-############] com.vmware.vidm.federation.login.processor.AuthResponseUserResolver - User fetching exception with nameId <######string######>, nameIdFormat userPrincipalName, and domains [example.com], user not found
INFO vidb-service-##########-#####:federation (federation-business-pool-0) [CUSTOMER;-;X.X.X.X;########-####-####-####-############;-;########-####-####-####-############] com.vmware.vidm.federation.login.LoginEventServiceAspect - Failing login. contextUuid: ########-####-####-####-############, exception: com.vmware.vidm.federation.login.AccessDeniedException: Access denied with reason code: USER_NOT_FOUND, isAuthenticationForced: false