CPM - Manual Run of CPM Plugin for Web Application Fails with "The path is not of a legal form"

CPM - Manual Run of CPM Plugin for Web Application Fails with "The path is not of a legal form"

131
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:11 PM


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.”

Reference: https://docs.cyberark.com/pam-self-hosted/latest/en/content/plugins/cpm_webapplication.htm#:~:text=Run%20the%20plugin%20using%20the%20Run%20command



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



Actions
  • Print
  • Copy Link

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