<?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: How to use Get-PASAccount selecting Address in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-use-get-pasaccount-selecting-address/m-p/1406310#M83317</link>
    <description>&lt;P&gt;Hey Pete, thanks for the response. And thanks for the psPAS, I use it every single day. Looking forward to upgrading (hopefully) so I won't have to deal with a lot of the API shortcomings in &amp;lt;10. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The change I am requesting is what you're talking about in the platform configuration. I want it to verify on onboarding, then add the failure code that will cause the reconcile, but I have to wait for the process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I login to my work computer tomorrow I will try your suggestion and let you know.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2020 02:20:03 GMT</pubDate>
    <dc:creator>TRossin</dc:creator>
    <dc:date>2020-02-19T02:20:03Z</dc:date>
    <item>
      <title>How to use Get-PASAccount selecting Address</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-use-get-pasaccount-selecting-address/m-p/1406308#M83315</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on some automation scripts for our break-glass accounts. Due to some server limitations where these accounts get provisioned, I have to use net.exe commands vice PowerShell because we can't import the LocalAccounts module. &lt;/P&gt;&lt;P&gt;Because of this, I have to input a password in the net command. This is not desirable for obvious reasons.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attempting to make some changes to reconcile the account when it is onboarded into CyberArk (in the same script) so the password will change. Until those get approved, I am trying to force a reconcile inside the script using Get-PASAccount and Invoke-PASCPMOperation. I have many accounts in one safe for the break-glass, and at v9.10 I am limited with the Get-PASAccount cmdlet. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I feel should work is &lt;B&gt;Get-PASAccount -Keywords 'keyword' | Where-Object Address -eq 'this identifying address'&lt;/B&gt;. This is not giving me the address, or any output other than the warning for &amp;gt;10 accounts found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ultimately, I need to pull the Account ID of the account that the script creates and use that for the PASCPMOperation to reconcile the account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Long post, any ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 22:17:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-use-get-pasaccount-selecting-address/m-p/1406308#M83315</guid>
      <dc:creator>TRossin</dc:creator>
      <dc:date>2020-02-18T22:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Get-PASAccount selecting Address</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-use-get-pasaccount-selecting-address/m-p/1406309#M83316</link>
      <description>&lt;P&gt;At version 9.10, the API will &lt;A alt="https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/Get%20Account%20Details%20(up%20to%20v9.10).htm" href="https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/Get%20Account%20Details%20(up%20to%20v9.10).htm" target="_blank"&gt;only return the details of the first account it finds&lt;/A&gt;. The "Where-Object" statement becomes redundant as there will only ever be a maximum of 1 result.&lt;/P&gt;&lt;P&gt;The response from the API indicates that "keyword" matches multiple accounts, there is a high chance the account the API finds for you is not the one you want. &lt;/P&gt;&lt;P&gt;This changes at version 10.4, where you can get details of any accounts you have rights to view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try &lt;B&gt;Get-PASAccount -Keywords 'keyword1, keyword2, keyword3' &lt;/B&gt;to see if you can narrow down the results. Maybe use an account that can only see the accounts in the safe they get added to.&lt;/P&gt;&lt;P&gt;Away from the API, depending on the platform configuration, adding the account with an incorrect password would in effect force a reconcile after the account fails verification.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 00:13:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-use-get-pasaccount-selecting-address/m-p/1406309#M83316</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-02-19T00:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Get-PASAccount selecting Address</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-use-get-pasaccount-selecting-address/m-p/1406310#M83317</link>
      <description>&lt;P&gt;Hey Pete, thanks for the response. And thanks for the psPAS, I use it every single day. Looking forward to upgrading (hopefully) so I won't have to deal with a lot of the API shortcomings in &amp;lt;10. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The change I am requesting is what you're talking about in the platform configuration. I want it to verify on onboarding, then add the failure code that will cause the reconcile, but I have to wait for the process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I login to my work computer tomorrow I will try your suggestion and let you know.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 02:20:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-use-get-pasaccount-selecting-address/m-p/1406310#M83317</guid>
      <dc:creator>TRossin</dc:creator>
      <dc:date>2020-02-19T02:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Get-PASAccount selecting Address</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-use-get-pasaccount-selecting-address/m-p/1406311#M83318</link>
      <description>&lt;P&gt;That worked to find the one I want. Pulled the AccountID to pass to the Invoke-PASCPMoperation -AccountID $​ID -ReconcileTask -UseClassicAPI and it gives me an invalid parameter for the whole command, but works without using a variable. &lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 22:52:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-use-get-pasaccount-selecting-address/m-p/1406311#M83318</guid>
      <dc:creator>TRossin</dc:creator>
      <dc:date>2020-02-19T22:52:04Z</dc:date>
    </item>
  </channel>
</rss>

