"CAWS00001E: An item with the same key has already been added" error when using Advanced Search in PVWA
Symptom
Applies to: PVWA 14.6.x (specifically observed in version 14.6.4, but may affect other minor 14.6 releases).
Following an upgrade to PVWA 14.6.4 (or other minor versions within PVWA 14.6), users encounter an error pop-up window when attempting to use the Advanced Search feature on the Accounts View page.
An item with the same key has already been added
Environment
14.6 Privileged Access Manager (PAM, self-hosted)
PVWA
Cause
This issue is usually caused by duplicate properties in the Search Properties in the PVConfiguration.xml file.
Resolution
To resolve this issue, remove the duplicate search property from the PVWA Configuration:
1. Log in to PVWA.
2. Go to Administration → Configuration Options → Options and expand "Search Properties".
3. Check if there are any duplicate entries (for example, two "Description" properties).
4. If you find any duplicates, delete one of the duplicate properties so that only a single unique entry remains.
5. Save the changes (click "Apply" and then "OK").
6. After saving, wait approximately 20 minutes for the configuration to refresh, or alternatively perform an IIS reset on all PVWA servers.
Once this is done, log back in to PVWA and try clicking the Advanced Search button again.