SAP Knowledge Base Article - Preview

3131335 - "Failed to create LdapContext" error when the Identity Provisioning reads from the LDAP Server due to missing/incorrect configuration for Location ID


  • The identity Provisioning read job from the LDAP Server fails with the error:


    Failed to create LdapContext 

    Caused by: javax.naming.NamingException: LDAP connection has been closed


  • In the system in identity Provisioning, Location ID is not configured or configured wrongly.



  • Identity Provisioning
  • LDAP Server as source system or target system
  • SAP Cloud Connectors


Identity Provisioning 1.0


LDAP IPS  javax.naming.NamingException: LDAP connection has been closed Failed to create LdapContext , KBA , BC-IAM-IPS , Identity Provisioning Service (IPS) , BC-MID-SCC , SAP Cloud Connector On-Demand/On-Premise Connectivity , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.