- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-12-2024 04:58 AM
I'm restructuring a ServiceNow MID server to use CP instead of CCP and I'm able to run scripts just fine when I'm logged in locally as an admin user but when I have the MID server try to run them from a ServiceNow flow in a test run I get this error.
APPAP308E - Invalid process path. Full path is required
I'm not sure exactly what it's referencing by path? The actual call to the SDK worked fine when run locally. Anyone else run into this?
04-12-2024 05:47 AM
Hi @Conner DeRosier?
Can you please try using absolute path as mentioned in this KB ?
https://community.cyberark.com/s/article/00004787
Hope it helps !
04-29-2024 08:12 AM
Thank you for the reply @Malhar Vora. That is helpful and opening another powershell session as described in the article does work however that presents a bunch of other issues with getting the credentials back to the script that called the new session.
I'm wondering why that's needed though and I can't just call the full path like this
$CyberArkCredentials = & 'C:\Program Files\CyberArk\ApplicationPasswordSdk\CLIPasswordSDK.exe' GetPassword /p AppDescs.AppID='APPID' /p Query="Safe=SAFENAME;Folder=Root;Object='OBJECTNAME'" /o Password
Since I am using a full path to call the SDK from my script. Although it only happens on a ServiceNow MID server run and not a local run.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

