After PVWA Upgrade, Error Mapping Types error when in Safes view
Symptom
After upgrading PVWA, when clicking "Safes" under Policies, the following error is presented:
"Error mapping types.\r\n\r\nMapping types:\r\nIReadOnlyCollection`1 -> List`1\r\nSystem.Collections.Generic.IReadOnlyCollection`1[[oi, CyberArk.PasswordVault.Management.API, Version=8.0.0.0, Culture=neutral, PublicKeyToken=40be1dbc8718670f]] -> System.Collections.Generic.List`1[[CyberArk.PasswordVault.PASWebServices.Models.Safes.SafeListItem, CyberArk.PasswordVault.PASWebServices, Version=8.0.0.0, Culture=neutral, PublicKeyToken=40be1dbc8718670f" is received.
In the Vault trace log files and the PVWA web session logs, the following error message is observed at the time the safe is attempted to be viewed:
ITATS375E Safe "SafeName" is not authorized for shared access (Code: 135,266,837 3 70)
Environment
12.1;12.2;12.4;12.3;12.5;12.6 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access PVWA v12.6 after upgrade from v12.1
Cause
Ensure the safe properties has the appropriate sharing settings for impersonated users.
Resolution
In the PrivateArk client, go to the Safe's Properties, and the Sharing tab.
Ensure the following checkboxes exist:
"Enable access to fully impersonated users"
"Enable access to partially impersonated users (PrivateArk logon required)
"Enable access to impersonated users with additional Server authentication"
Ensure the safe is shared with the PVWAGWAccounts group and or the PVWA GW users