Error: CredentialValidationUnavailable during Entra ID SCIM provisioning test connection (vCenter and VCF)
search cancel

Error: CredentialValidationUnavailable during Entra ID SCIM provisioning test connection (vCenter and VCF)

book

Article ID: 428509

calendar_today

Updated On:

Products

VMware vCenter Server VCF Operations

Issue/Introduction

  • The Microsoft Entra Provisioning Agent (running on the on-premises Windows Server) fails to establish a valid HTTPS handshake with the vCenter Server.

  • The following error messages can be seen while testing connection on the Entra ID SCIM appliance:

    • Error code: CredentialValidationUnavailable 
      Error details: We received this unexpected response from your application: Received response from Web resource. 
      Resource: https://<vc-fqdn>/scim/v2/Users... 
      Operation: GET Response Status Code: InternalServerError
    • Error code: SystemForCrossDomainIdentityManagementCredentialValidationUnavailable
      Details: We received this unexpected response from your application:
      Response Content: System.Net.WebException\\r\\nThe underlying connection was closed: Could not establish trust relationship for the SSL\\\/TLS secure channel
      Type: System.Security.Authentication.AuthenticationException\\r\\nThe remote certificate is invalid according to the validation procedure
  • When performing a Test Connection in the Microsoft Entra ID provisioning settings, the process fails with the following error:

    "You appear to have entered invalid credentials. Please confirm you are using the correct information for an administrative account. Error code: SystemForCrossDomainIdentityManagementCredentialValidationUnavailable"

  • The Entra ID agent log or Azure console may also report the error:

    HttpRequestException with a (502) Bad Gateway response.
  • The vCenter envoy.log at the location /var/log/vmware/envoy/envoy.log shows the below:

    info envoy [####] [Originator@#### sub-connection] [Tags: "ConnectionId": "<Connection_ID>"] remote address : <Agent_IP>:<Port>, TLS_error : |####: SSL routines: OPENSSL_internal : TLSV1_ALERT_UNKNOWN_CA
    info envoy [####] [Originator@#### sub-connection] [Tags: "ConnectionId": "<Connection_ID>"] remote address : <Agent_IP>:<Port>, TLS_error : |####: SSL routines: OPENSSL_internal : SSLV3_ALERT_CERTIFICATE_UNKNOWN
    info envoy [####] [Originator@#### sub-connection] [Tags: "ConnectionId": "<Connection_ID>"] remote address : <Agent_IP>:<Port>, TLS_error : |####: SSL routines: OPENSSL_internal : BAD_ALERT
  • On the VCF Identity Broker (VIDB) appliance, the internal routing failure is recorded in the Istio proxy logs /istio-ingress/vidb-mgmt-#####/istio-ingressgateway-#####/istio-proxy/console-log-##########.log:

    Look for the following entry in the Istio proxy log indicating the request reached the VCF gateway but failed to route internally:

    "response_code":404, "response_flags":"NR", "response_code_details":"route_not_found"

    Note: The NR (No Route) flag combined with a 404 error suggests that the request reached the appliance but the secure channel or headers required for internal routing were stripped or rejected.

Environment

  • vCenter Server 8.x
  • VCF Operations 9.x
  • VCF Identity Broker 9.x (external appliance)

Cause

This error occurs because the Microsoft Entra ID provisioning agent cannot establish a secure channel HTTPS handshake with the target on-premises endpoint (vCenter Server or VCF Identity Broker). This failure is typically caused by one of the following factors:

  • DNS Resolution Failure: The Windows Server hosting the Agent cannot resolve the vCenter Server FQDN to an IP address.

  • TLS/SSL Trust Failure: The Windows Server hosting the Entra agent does not trust the target endpoint's certificate authority (such as an internally signed vCenter or VCF Identity Broker Root CA). This prevents validation of the certificate chain and causes the agent to drop the connection.

  • Proxy Interception: In enterprise environments using a corporate web proxy, internal traffic destined for the SCIM Base URL is inadvertently intercepted. This strips essential authorization headers from the payload, which Entra ID interprets as an invalid credential fault.

Resolution

Ensure the Provisioning Agent host can resolve, bypass web proxies for, and trust the target endpoint (vCenter Server or VCF Identity Broker).

Verify and Fix DNS Resolution

  1. Log in to the Windows Server hosting the Entra Provisioning Agent.

  2. Open Command Prompt (cmd.exe) and run:

     nslookup <target_fqdn>

    (where <target_fqdn> is your vCenter or VCF Identity Broker FQDN).

    • If this fails: The machine is using the wrong DNS server or requires a local Host File entry.

  3. Action: Update the Windows Network Adapter settings to point to the correct DNS server, or append the target IP and FQDN to C:\Windows\System32\drivers\etc\hosts

  4. Verify: Run a ping test to confirm local network reachability.

    ping <target_fqdn>

Remediate TLS/SSL Trust Issues

  1. On the Agent Windows Server, open a web browser and navigate to the SCIM endpoint URL:

    • https://<target_fqdn>/scim/v2 (or the specific path defined by your appliance, e.g., https://<target_fqdn>/usergroup/t/CUSTOMER/scim/v2/)

  2. Check: Does the address bar display a "Not Secure" or Certificate Error warning?

    • If Yes: The Root Certificate Authority (CA) chain is missing or untrusted.

  3. Action: Export the Root CA certificate from your environment (for vCenter, this can be downloaded via https://<vcenter_fqdn>/certs/download.zip).

  4. Import this Root CA into the Local Machine > Trusted Root Certification Authorities store on the Windows Server hosting the Microsoft Entra Connect Provisioning Agent.

  5. Verify Agent Settings: Ensure the correct certificate chain is actively selected within the Microsoft ECMA connector settings if utilizing a custom certificate chain.

Configure Proxy Bypass

  1. Open the Windows network settings or locate the Microsoft Entra agent's local configuration file.

  2. Action: Add an explicit proxy bypass exclusion for the SCIM Base URL FQDN (e.g., https://<target_fqdn>/). This prevents an outbound corporate web proxy from intercepting local traffic and stripping essential authorization headers.

  3. Restart Service: Restart the AADConnectProvisioningAgent service to force the agent to load the updated configuration file and apply the proxy exclusion rules.

Additional Information

"SystemForCrossDomainIdentityManagementCredentialValidationUnavailable", configuring SCIM provisioning for Entra ID fails with invalid credential

Permission denied after configuring SAML with Entra Azure and Identity Broker

If the issue still persists, Contact Broadcom support.