Users not visible in AEM Users console and can’t be recreated due to ‘already exists’ error

User accounts aren’t visible in the AEM Users console but return an already exists error when recreated because the user nodes exist in the repository but aren’t indexed or visible in the console. To fix the issue, locate and remove the stale user nodes, recreate or restore the affected accounts, and verify that they’re visible in the Users console.

Description description

Environment

Adobe Experience Manager (AEM) Managed Services or similar AEM environments.

Issue/Symptoms

  • User accounts are missing from the Users console search results.
  • Attempting to create the same user results in an ‘already exists’ error.
  • User nodes are present in the repository under /home/users but are not visible in the console.

Cause

This issue is caused by an inconsistency between the user repository and the user index/search in the affected environment. As a result, user nodes exist in the repository but are not indexed or visible in the Users console.

Resolution resolution

To fix the user account issue, follow these steps:

  1. Log in to the affected AEM environment and open CRXDE Lite (/crx/de). Go to Tools > Query and set Type to SQL2. For each affected user, run the following query (replace with the actual username or email):

    SELECT * FROM [ rep:User] AS u WHERE ISDESCENDANTNODE(u, '/home/users') AND [ rep:authorizableId] = '<username or email>'

    • Note the full path(s) returned for each user.
  2. Clean up stale user nodes:

    • In CRXDE, navigate to each returned user node path (for example, /home/users/g/<user-node>).
    • Right-click the user node and select Delete.
    • Click Save All to persist changes.
  3. Recreate or restore the user account:

    • Recreate the user in AEM via Tools > Security > Users > Create User using the same username or email, or have the user log in again if using Adobe Identity Management Service (IMS).
  4. Verify the resolution:

    • Go to Tools > Security > Users.
    • Search for the username or email and confirm the user now appears and can be managed.
recommendation-more-help
experience-cloud-kcs-help-kbarticles