<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: TPC Plugin user.ini in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/tpc-plugin-user-ini/m-p/1305091#M7711</link>
    <description>&lt;P&gt;You have 2 "[extrainfo]" sections.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Dec 2020 13:18:12 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2020-12-22T13:18:12Z</dc:date>
    <item>
      <title>TPC Plugin user.ini</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/tpc-plugin-user-ini/m-p/1305090#M7710</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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 &lt;A alt="https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/11.2/en/Content/SDK/TPC-test-plugin.htm" href="https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/11.2/en/Content/SDK/TPC-test-plugin.htm" target="_blank"&gt;https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/11.2/en/Content/SDK/TPC-test-plugin.htm&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a user.ini file like mentionned but it's not working. I still have the same error :&lt;/P&gt;&lt;P&gt;System.ArgumentException: Failed to initialize safe-folder-object properties from the CPM parameters file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to cyberark error code, the corresponding description is completly useless : &lt;/P&gt;&lt;P&gt;&lt;B&gt;Failed to initialize safe-folder-object properties from the CPM parameters file&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Third party error code: -1&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Recommended Action:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Fix the relevant tag(s) to the user.ini file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am missing in my user.ini file ?&lt;/P&gt;&lt;P&gt;[targetaccount]&lt;/P&gt;&lt;P&gt;username=toto&lt;/P&gt;&lt;P&gt;newpassword=testnew&lt;/P&gt;&lt;P&gt;password=testold&lt;/P&gt;&lt;P&gt;safename=test&lt;/P&gt;&lt;P&gt;foldername=root&lt;/P&gt;&lt;P&gt;objectname=myaccounttest&lt;/P&gt;&lt;P&gt;PolicyID=CompteBasique&lt;/P&gt;&lt;P&gt;[extrainfo]&lt;/P&gt;&lt;P&gt;[extrapass1]&lt;/P&gt;&lt;P&gt;username=test&lt;/P&gt;&lt;P&gt;password=test&lt;/P&gt;&lt;P&gt;[extrapass3]&lt;/P&gt;&lt;P&gt;username=test&lt;/P&gt;&lt;P&gt;password=test&lt;/P&gt;&lt;P&gt;[extrainfo]&lt;/P&gt;&lt;P&gt;PlatformParameter=test&lt;/P&gt;&lt;P&gt;ProcessFilename=bin\customPSProcess.ini&lt;/P&gt;&lt;P&gt;PromptsFilename=bin\customPSPrompt.ini&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 12:53:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/tpc-plugin-user-ini/m-p/1305090#M7710</guid>
      <dc:creator>AnthonyM</dc:creator>
      <dc:date>2020-12-22T12:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: TPC Plugin user.ini</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/tpc-plugin-user-ini/m-p/1305091#M7711</link>
      <description>&lt;P&gt;You have 2 "[extrainfo]" sections.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 13:18:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/tpc-plugin-user-ini/m-p/1305091#M7711</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-12-22T13:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: TPC Plugin user.ini</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/tpc-plugin-user-ini/m-p/1305092#M7712</link>
      <description>&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've fixed that and a path problem : I must execute from root folder like :&lt;/P&gt;&lt;P&gt;CyberArk\Password Manager&amp;gt;.\bin\CyberArk.TPC.exe .\bin\user.ini changepass&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My script works fine with simulated mode but password and newpassword work only if it placed on [extrainfo] section (not on targetAccount).&lt;/P&gt;&lt;P&gt;In the other hand, when it run by CPM I must use &lt;B&gt;pmpass &lt;/B&gt;and &lt;B&gt;pmnewpass &lt;/B&gt;parameters. Theses parameters  doesn't work on simulated mode (in the user.ini).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What it the difference between password/newpassword and &lt;B&gt;pmpass/pmnewpass. &lt;/B&gt;What is the correct way to use it ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 16:46:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/tpc-plugin-user-ini/m-p/1305092#M7712</guid>
      <dc:creator>AnthonyM</dc:creator>
      <dc:date>2020-12-22T16:46:28Z</dc:date>
    </item>
  </channel>
</rss>

