SIA - Integration with Self-Hosted Vault fails due to "Error: 502 - Error in Identity client occurred. Failed to get user principal name"

SIA - Integration with Self-Hosted Vault fails due to "Error: 502 - Error in Identity client occurred. Failed to get user principal name"

138
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 13:02 PM


Symptom


For SIA environment that is integrated with a Self-Hoisted vault, when attempting to establish an RDP or SSH connection, you may encounter the following error:

Error: 502
Description: Error in Identity client occurred. Failed to get user principal name.

This error typically appears during the “Retrieving account data and secret” step after successful authentication and tunnel creation.

Example from Session Diagnostics page:



Environment


Secure Infrastructure Access (formerly DPA) DPA for SSH;DPA for RDP

Identity and SIA environment that is integrated with a Self-Hoisted vault



Cause


The error occurs because the userPrincipalName (UPN) attribute is missing for the authenticated user in the Identity directory. The SIA integration relies on UPN for user identification. If this attribute is not defined, the integration fails.

Common reasons for missing UPN:

  • SCIM-based provisioning in Idira Identity, which often does not populate UPN.
  • Use of an external directory service other than LDAP, which may not map UPN correctly.


Resolution


Possible resolutions:

  1. Verify UPN Attribute in Identity Directory

    • Ensure that the userPrincipalName attribute is defined for all users in the Identity directory.
  2. Check Provisioning Method

    • If using SCIM for provisioning, confirm that UPN is included in the attribute mapping.
  3. Configure External Identity Providers Correctly

    • Any third-party SSO provider (e.g., EntraID) must be configured as an External Identity Provider (eIDP), not as a Directory Service.
    • Navigate to:
      Identity Administration > Settings > Users > External Identity Providers
      
      Do NOT configure under:
      Identity Administration > Settings > Users > Directory Services
      
  4. Example

    • For EntraID SAML integration, ensure it is listed under External Identity Providers.

 

Official document reference:

https://docs.cyberark.com/pam-self-hosted/latest/en/content/pasimp/integrate-with-sia.htm



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001I2yCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail