cyberark / epv-api-scripts

These API scripts enable CyberArk users to automate privileged account management task like account creation, user management, and more.
https://www.cyberark.com/best
Apache License 2.0
203 stars 176 forks source link

UpdateMember to alter member permissions on safe #342

Closed PapaWig closed 1 year ago

PapaWig commented 1 year ago

I'm trying to use the safe-management.ps1 script to update a member's permissions on three safes. Using my own account and a local CyberArk account both return the same error: There was an error setting the membership for MemberName@domain.com on SAFE_NAME_HERE in the Vault. The error was: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. (Not Found)

Both accounts have full permissions to the safes involved,

Thoughts?

thanks!

PapaWig commented 1 year ago

Update: Found that using a safe-management.ps1 file that was acquired last year (2.1.3) allows the permissions updates to complete successfully. Using a version from 2.1.4 or later causes the error in my environment.

bab29 commented 1 year ago

Please reproduce error with -verbose and attach log