psmsr196e privileged session management is not enabled or not defined for policy
Symptom
When a new PSM session is attempted the end user may get an error like below:
"psmsr196e privileged session management is not enabled or not defined for policy <policy-ID>"
You will also see the error in the ...\PSM\Logs\PSMConsole.log
Environment
12.2;12.4;12.3;12.5;12.6;12.7;13.0;13.2;13.1;14.0;13.3;14.2;14.3 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM
Seen in conjunction with PSM component upgrades or when new platforms get created/modified incorrectly.
Cause
Two possible causes for this error have been identified.
- Within the mentioned platform, Section "Privileged Session Management" under "UI & Workflows" is missing.
- If the PSMConsole.log shows this error for a multitude of platforms and each of these platforms works intermittently, check the Policies.xml for special characters.
Resolution
- In the PVWA web portal, navigate to the problem platform. Edit it and check if there is a "Privileged Session Management" section under "UI & Workflows". If not, you can right-click "UI & Workflows" and add it. Save file and wait 10 minutes for PSM's to sync. Test connections using this platform to see if the issue reoccurs.
- Open Polices.xml using notepad++, click on the "search" tab and select "Find characters in range...". Select "Non-ASCII characters (128-255) and then click find. This will show you all the special characters in the xml. If the special characters are part of a Policy, use the GUI in the web portal to find and fix the problem special character. If the character is located somewhere in the file that is inaccessible via the web portal, the Policies.xml will need to be edited manually.
To be safe, back up the current Policies.xml. Then, make the edit and upload/replace the file within the vault via PrivateArk Client. Privileged Cloud customers will need help to complete this step.
NOTE: It is generally not recommended to directly edit the XML files whenever possible. If resolution step 2 is undertaken, please be sure to do so with caution and test thoroughly after the change.