Portal for ArcGIS: java.lang.Exception Could not connect to the user store

Last Published: June 13, 2024

Error Message

In Portal for ArcGIS, certain pages related to organization and member settings load indefinitely and are inaccessible. In other circumstances, integrating Portal for ArcGIS with an Active Directory account fails. Portal for ArcGIS logs returns the following error:

com.esri.arcgis.portal.admin.core.PortalException: java.lang.Exception: Could not connect to the user store. Please check the configuration and try again.


The Active Directory user or userPassword parameter value is incorrectly configured in the portal's identity store. The userPassword parameter value can be incorrectly configured if an organization's Active Directory account password has expired or is changed.

Solution or Workaround

  1. Sign in to the Portal Administrator Directory as an administrator using the following URL format:
  1. Click Security > Config > Update Identity Store.
  2. In the User store configuration (in JSON format) text box, update the correct values for the user or userPassword parameter.
If the Active Directory account password has expired, ensure the password is renewed in the respective Active Directory account before updating the userPassword parameter value in the portal's identity store.
  1. Click Update Configuration.
The user and userPassword parameters, and the Update Configuration button in the portal's identity store

Article ID:000031309

  • ArcGIS Enterprise 11 2
  • ArcGIS Enterprise 11 3
  • ArcGIS Enterprise 11 1
  • Portal for ArcGIS

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options