<?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 Example adding account in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365505#M53445</link>
    <description>&lt;P&gt;We are trying to add an account to CyberArk via REST API, currently we receive the following message in the PVWA&lt;/P&gt;&lt;P&gt;[03/06/2019 | 12:54:45.005308] | {pid= 2488} | {tid=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5208} |&amp;nbsp;::&amp;nbsp;| CAWS002E Error occurred: System.NullReferenceException: Object reference not set to an instance of an object.&lt;/P&gt;&lt;P&gt;at au5.a(Exception A_0)at auo.t()at CyberArk.PasswordVault.WebServices.WF.PIMServices.AddAccount(AccountParms account).&lt;/P&gt;&lt;P&gt;We are using the following variables in the body:&lt;/P&gt;&lt;P&gt;@(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;@{"Key" = "safe"; "value"= "testacc"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;@{"Key" = "platformID"; "value"= "WinDomain"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;@{"Key" = "address"; "value"= "abc.org"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;@{"Key" = "accountName"; "value"= "Operating Systems-WinDomain-abc.org-testacc"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;@{"Key" = "password"; "value"= "Mez_nwyirT4ajk"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;@{"Key" = "username"; "value"= "tesacc"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;@{"Key" = "disableAutoMgmt"; "value"= "false"}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;) &lt;/P&gt;&lt;P&gt;Anyone has any suggestions or an example of adding an account this way&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jun 2019 07:01:50 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2019-06-13T07:01:50Z</dc:date>
    <item>
      <title>Example adding account</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365505#M53445</link>
      <description>&lt;P&gt;We are trying to add an account to CyberArk via REST API, currently we receive the following message in the PVWA&lt;/P&gt;&lt;P&gt;[03/06/2019 | 12:54:45.005308] | {pid= 2488} | {tid=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5208} |&amp;nbsp;::&amp;nbsp;| CAWS002E Error occurred: System.NullReferenceException: Object reference not set to an instance of an object.&lt;/P&gt;&lt;P&gt;at au5.a(Exception A_0)at auo.t()at CyberArk.PasswordVault.WebServices.WF.PIMServices.AddAccount(AccountParms account).&lt;/P&gt;&lt;P&gt;We are using the following variables in the body:&lt;/P&gt;&lt;P&gt;@(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;@{"Key" = "safe"; "value"= "testacc"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;@{"Key" = "platformID"; "value"= "WinDomain"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;@{"Key" = "address"; "value"= "abc.org"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;@{"Key" = "accountName"; "value"= "Operating Systems-WinDomain-abc.org-testacc"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;@{"Key" = "password"; "value"= "Mez_nwyirT4ajk"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;@{"Key" = "username"; "value"= "tesacc"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;@{"Key" = "disableAutoMgmt"; "value"= "false"}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;) &lt;/P&gt;&lt;P&gt;Anyone has any suggestions or an example of adding an account this way&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 07:01:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365505#M53445</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-06-13T07:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Example adding account</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365506#M53446</link>
      <description>&lt;P&gt;Hi @kkr _​&amp;nbsp; Can you please double check the syntax you are using in your request?  The request you provide is not in the right format.. ( Its looks like a SOAP request )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right Syntax should be similar to below :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;  "account" : {&lt;/P&gt;&lt;P&gt;    "safe":"P-LIN-ROOT-SSHKEYS",&lt;/P&gt;&lt;P&gt;    "platformID":"WinDomain",&lt;/P&gt;&lt;P&gt;    "address":"cyberarkdemo.com",&lt;/P&gt;&lt;P&gt;    "accountName":"AccountName",&lt;/P&gt;&lt;P&gt;    "password":"Password123",&lt;/P&gt;&lt;P&gt;    "username":"Svc_BambooHR",&lt;/P&gt;&lt;P&gt;    "disableAutoMgmt":"false",&lt;/P&gt;&lt;P&gt;    "disableAutoMgmtReason":"N/A",&lt;/P&gt;&lt;P&gt;    "groupName":"",&lt;/P&gt;&lt;P&gt;    "groupPlatformID":"",&lt;/P&gt;&lt;P&gt;    "properties":&lt;/P&gt;&lt;P&gt;    [&lt;/P&gt;&lt;P&gt;      {"Key":"Port", "Value":"&amp;lt;port&amp;gt;"},&lt;/P&gt;&lt;P&gt;      {"Key":"ParamName", "Value":"Parameter value"}&lt;/P&gt;&lt;P&gt;    ]&lt;/P&gt;&lt;P&gt;  }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 07:30:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365506#M53446</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-06-13T07:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Example adding account</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365507#M53447</link>
      <description>&lt;P&gt;@Nirmal, your syntax is based on 'REST'?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 07:38:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365507#M53447</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-06-13T07:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Example adding account</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365508#M53448</link>
      <description>&lt;P&gt;@Nirmal, your syntax is based on 'REST'?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 07:38:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365508#M53448</guid>
      <dc:creator>HP1</dc:creator>
      <dc:date>2019-06-13T07:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Example adding account</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365509#M53449</link>
      <description>&lt;P&gt;what are you using to run the rest code? postman , powershell or any other stuff? its worth checking out @Pete Maan​&amp;nbsp;powershell modules for Rest API automation&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 08:48:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365509#M53449</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-06-13T08:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Example adding account</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365510#M53450</link>
      <description>&lt;P&gt;what are you using to run the rest code? postman , powershell or any other stuff? its worth checking out @Pete Maan​&amp;nbsp;powershell modules for Rest API automation&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 08:48:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365510#M53450</guid>
      <dc:creator>AnkushA</dc:creator>
      <dc:date>2019-06-13T08:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Example adding account</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365511#M53451</link>
      <description>&lt;P&gt;@kkr _​&amp;nbsp;which API URL are you using in order to attempt to add the account?&lt;/P&gt;&lt;P&gt;&lt;I&gt;https://&amp;lt;IIS_Server_Ip&amp;gt;/PasswordVault/WebServices/PIMServices.svc/Account&lt;/I&gt; ?&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;I&gt;https://&amp;lt;IIS_Server_Ip&amp;gt;/PasswordVault/api/Accounts&lt;/I&gt; ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i.e. Classic API or V10 API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 08:57:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365511#M53451</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-06-13T08:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Example adding account</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365512#M53452</link>
      <description>&lt;P&gt;We are using Powershell&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 09:03:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365512#M53452</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-06-13T09:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Example adding account</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365513#M53453</link>
      <description>&lt;P&gt;The classic API: &lt;I&gt;https://&amp;lt;IIS_Server_Ip&amp;gt;/PasswordVault/WebServices/PIMServices.svc/Account&lt;/I&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 09:07:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365513#M53453</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-06-13T09:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Example adding account</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365514#M53454</link>
      <description>&lt;P&gt;As per answer from @Nirmalkumar Dhanaraj​&amp;nbsp;- the format of your JSON needs to be corrected.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 09:09:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365514#M53454</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-06-13T09:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Example adding account</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365515#M53455</link>
      <description>&lt;P&gt;Yes..&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 10:55:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/example-adding-account/m-p/1365515#M53455</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-06-13T10:55:27Z</dc:date>
    </item>
  </channel>
</rss>

