pspete / psPAS

PowerShell module for CyberArk Privileged Access Security REST API
https://pspas.pspete.dev
MIT License
293 stars 91 forks source link

Unable to remove Pas Account #242

Closed ghost closed 4 years ago

ghost commented 4 years ago

This most likely is an internal issue but wanted to see if you have any ideas. I am able to use Get-PASAccount -search $item and retrieve back the accounts added, including the AccountID attribute. I would now like to remove this account using Remove-PASAccount -accountID $AccountID. I run the command but the account does not get deleted (no error's either) and I am still about to get the account again with Get-PASAccount . Any idea what could be causing this or where I could look to fix the issue?

Thanks!

pspete commented 4 years ago

Related to #230 perhaps?

ghost commented 4 years ago

I tried unlocking the account and running Remove-PASAccount again but no luck. Running Get-PASAccountActivity however I can see the last activity was a CPM Verify Password Failed. Think that could be the cause?

pspete commented 4 years ago

After Remove-PASAccount -accountID $AccountID:

jis-augustine commented 3 years ago

@ghost Was this resolved, I am also experiencing same issue