- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
12-22-2020 04:53 AM
Hi,
I have a problem with custom TPC configuration. I try to run a powershell script with TPC and I want to simulate it according to https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/11.2/en/Content/SDK/TPC-test-plugin.htm.
I have created a user.ini file like mentionned but it's not working. I still have the same error :
System.ArgumentException: Failed to initialize safe-folder-object properties from the CPM parameters file.
Thanks to cyberark error code, the corresponding description is completly useless :
Failed to initialize safe-folder-object properties from the CPM parameters file
Third party error code: -1
Recommended Action:
Fix the relevant tag(s) to the user.ini file.
What I am missing in my user.ini file ?
[targetaccount]
username=toto
newpassword=testnew
password=testold
safename=test
foldername=root
objectname=myaccounttest
PolicyID=CompteBasique
[extrainfo]
[extrapass1]
username=test
password=test
[extrapass3]
username=test
password=test
[extrainfo]
PlatformParameter=test
ProcessFilename=bin\customPSProcess.ini
PromptsFilename=bin\customPSPrompt.ini
Thanks in advance for your help.
12-22-2020 05:18 AM
You have 2 "[extrainfo]" sections.
12-22-2020 08:46 AM
Thanks,
I've fixed that and a path problem : I must execute from root folder like :
CyberArk\Password Manager>.\bin\CyberArk.TPC.exe .\bin\user.ini changepass
My script works fine with simulated mode but password and newpassword work only if it placed on [extrainfo] section (not on targetAccount).
In the other hand, when it run by CPM I must use pmpass and pmnewpass parameters. Theses parameters doesn't work on simulated mode (in the user.ini).
What it the difference between password/newpassword and pmpass/pmnewpass. What is the correct way to use it ?
Thanks a lot.
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!

