Encountering difficulty adding the user using the Orchestrator web. The following error message is displayed: "ad|S-1-5-21-3913896675-2635988003-1680100421-440680@ad does not exist. (#1002)".
Issue Description: Encountering difficulty adding the user using the Orchestrator web. The following message is displayed: "ad|S-1-5-21-3913896675-2635988003-1680100421-440680@ad does not exist. (#1002)".
Root Cause: This error commonly occurs when there are two users in the dbo.users table with the same "Key," specifically for the user experiencing the issue. Therefore, updating the DirectoryID and DirectoryUsername fields in the identity.AspNetUsers table is necessary.
Resolution: The error code (ad|S-1-5-21-3913896675-2635988003-1680100421-440680@ad) indicates a reference to the "DirectoryID" in the identity.AspNetUsers table.
- Update the DirectoryID and DirectoryUsername fields by appending a value at the end, such as DirectoryID=ad|S-1-5-21-3913896675-2635988003-1680100421-440680@ad_OLD and DirectoryUsername=youruser@ad_OLD.
- After making these updates, try re-importing the user to check if the problem is resolved.
Note: Before proceeding with any modifications, ensure to take a backup of your database to prevent potential data loss.