Users are encountering issues with duplicate groups in their VMware Identity Manager (VIDM). When trying to delete or locate the faulty group, the following error message is observed:
VMware Identity Manager 3.3.x
This issue occurs when a group has duplicate entries in the OpenSearch index, and one of the entries is incorrectly retained, despite not being present in the VIDM database.
To resolve this issue and remove the faulty group from the OpenSearch index, follow the steps below:
Use the following curl command to search for the group by its name in the OpenSearch index:
This query should return the duplicate groups with unique IDs. In this case, two group IDs are returned.
Run the following query to search for the group in the VIDM database:
Make sure to confirm that one of the group IDs does not exist in the database:
If the group with the duplicate ID does not exist in the database, it confirms that this entry is a duplicate and should be removed from the OpenSearch index.
To remove the faulty duplicate group from the OpenSearch index, use the following curl command:
This will delete the group entry with the duplicate ID from the OpenSearch index.
After running the delete query, run the same search query again to ensure that only the original group remains in the OpenSearch index:
You should now see only the original group in the search results.