CPM - Manual Run of CPM Plugin for Web Application Fails with "The path is not of a legal form"
Symptom
The current command in our documentation will no longer run a CPM web application plugin manually from the Password Manager folder and errors out. The debug log shows this error:
“ERROR -> CPMNetPlatform :: Main() -> Got exception : System.ArgumentException: The path is not of a legal form.”
Environment
14.6 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM)
Central Policy Manager (CPM) Self-Hosted, v14.6 and above
Web Application CPM Plugin Framework
Cause
Due to the new versioned plugin structure in CPM v14.6, to run a CPM web application plugin manually from the Password Manager folder, the command now needs to include the bin folder before the CyberArk.Extensions.Plugin.WebApp.dll file.
Resolution
With the new versioned plugin structure in CPM v14.6, the command to run a CPM web application plugin manually from the Password Manager folder now needs to be this:
bin\CANetPluginInvoker.exe <ParameterFile> <Action> bin\CyberArk.Extensions.Plugin.WebApp.dll True