Unable to add or manage user in RSA Authentication Manager; getting the error: The specified ID is already in use by unresolveable user within this realm
Originally Published: 2011-04-04
Article Number
Applies To
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.x
Issue
The specified ID is already in use by an unresolvable user within this realm
The specified ID is already in use by un-resolvable user within this realm
Principal with userid already exists in the realm: <username>
Cannot add or manage a user with user ID <UserID>. User IDs must be unique within a deployment.
This user ID is already in use.
Account is locked out of emergency authentication Error
This is a read only external LDAP identity Source read-only
Resolution
Before continuing, login to the Operations Console and take a backup of the database (Maintenance > Backup & Restore > Backup Now).
- There are multiple entries for the same user in different identity sources. To check this, run a search for the specific user ID across all identity sources:
- Login to to the Security Console.
- Select Identity > Users > Manage Existing.
- Under Search Criteria, click on Search for users across all identity sources.
- Enter the user ID and run the search.
- If you get multiple results for the same user, delete all of them except for the required user entry.
- An issue with an unresolvable user in the LDAP. To check this,
- Generate a report of Users and Groups No Longer in Identity Source (Reporting > Reports > Add New > Users and Groups No Longer in Identity Source), selecting the correct external identity source when configuring the report.
- Confirm the users listed in the report.
- Select Setup > Identity Sources > Clean Up Unresolvable Users.
- Select the identity source to clean.
- For the Grace Period, do one of the following:
- If you want to clean up users who have been unresolvable for more than the specified number of days listed, select the checkbox.
- If you want to clean up users immediately when they are found to be unresolvable, clear the checkbox.
The grace period is used to prevent cleanup for any users and use groups that make have been mistakenly removed from the directory or moved to an OU that is out of scope of the identity source. You can specify how many days the users must be unresolvable before they are cleaned up, and take corrective action beforehand. By default, this field is enabled to clean unresolvable users after seven days.
- Click Next.
- Select Force system to delete all users and groups from the internal database that no longer exist in the external identity source and click Next.
- If the cleanup does not remove the unresolvable user, modify the LDAP identity source mapping to exclude the user. If you had a user named Jane Smith in your external identity source whom you could not manage or delete, do the following:
- Open the Operations Console and navigate to Deployment Configuration > Identity Sources > Manage Existing.
- From the drop down next to the affected identity source name, choose Edit.
- Click on the Map tab.
- Scroll to the Directory Configuration - Users section.
- Change the default search filter from what is shown here:
(&(objectClass=User)(objectcategory=person))
to this:
(&(objectClass=User)(objectcategory=person)(!(samAccountName=<user name>)))
where, <user name> is the name of the affected user. For example,
(&(objectClass=User)(objectcategory=person)(!(samAccountName=Jane.Smith)))
- Redo the steps in Item 2, to run the cleanup for unresolveable users and remove or clean up any entries for Jane Smith that you could not remove before. When done, remove the filter in your LDAP map, changing it back to:
(&(objectClass=User)(objectcategory=person))
Related Articles
Unable to login to RSA Authentication Manager Security Console as super admin 5.04KNumber of Views The License/serial number being installed does not match the license/serial number stored on the server when installing an… 2.72KNumber of Views RSA Authentication Manager 8.8 upgrade fails with ERROR: auth_manager.rest_service.old_access_key is not found 1.89KNumber of Views Error Unable to resolve user by login ID and/or alias, or authenticator not assigned to user when attempting to authentica… 2.05KNumber of Views Get the external Identity Source LDAPS certificate using openssl for RSA Authentication Manager 8.x 4KNumber of Views
Trending Articles
RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) How to install the jTDS JDBC driver on WildFly for use with Data Collections in RSA Identity Governance & Lifecycle RSA Authentication Manager 8.8 Setup and Configuration Guide Artifacts to gather in RSA Identity Governance & Lifecycle
Don't see what you're looking for?