CPM - WebApplication Framework requires PluginManagerUser profile created for hardened CPM

CPM - WebApplication Framework requires PluginManagerUser profile created for hardened CPM

85
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:54 PM


Symptom


Post 12.2.4 installation/upgrade, a WebApplication Framework Plugin may fail with "exit code = 9999" if the CPM is hardened because the PluginManagerUser OS profile has not been created. That may happen with either Google Chrome or Microsoft Edge browsers.

In the debug log, you will see this:
"...Searching for folder '\AppData\Local\Temp\CPMChromeData\PluginManagerUser\..."
When instead, you should see this: 
"...Searching for folder 'C:\Users\PluginManagerUser\AppData\Local\Temp\CPMChromeData\PluginManagerUser\..."

Running the plugin with 
"RunPluginWithHighPrivilege=Yes" at the platform level (run as the PasswordManagerUser) fixes the issue but this is not the desired solution.



Environment


12.6;14.2;14.6 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM) CPM versions 12.2.4 and up

Cause


This happens due to a change in behavior with the latest release of the WebApplication Framework. Documentation has been updated to reflect the need for the PluginManagerUser profile.

The technical reason is due to the need for the WebApplication Framework to store its temporary files in the PluginManagerUser profile.


Resolution


It is not yet in the product to have the OS create this profile when PluginManagerUser is created during the registration process. As per the documentation, a PowerShell solution was provided to assist the customer with having the profile created (see Step 1 here: https://docs.cyberark.com/PAS/Latest/en/Content/Plugins/CPM_WebApplication.htm#CreateaCPMpluginforawebbrowser).

Other methods of creating the PluginManagerUser profile are:

1. Run the command:
runas.exe /<CPM server hostname or IP> /user:<CPM server hostname or IP> \PluginManagerUser "cmd"
Where "cmd" can be Notepad or any other application.


2. Login to the CPM as the PluginManagerUser. For that, you can retrieve the PluginManagerUser's password from the "PasswordManager_Accounts" safe.

Note: If environment does not allow local user logon, use step #3 here:
3. Run the command: runas.exe /profile /user:PluginManagerUser cmd.exe 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000sZtCAI&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail