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
197 stars 176 forks source link

Unable to add new member to existing safe with Safe-Management.ps1 #332

Closed imittal312 closed 1 year ago

imittal312 commented 1 year ago

Using this command to Update a list of members from a file and if member is missing attempt to add them:: .\Safe-Management.ps1 -PVWAURL "https://myPVWA.myDomain.com/PasswordVault" -UpdateMembers -FilePath "C:\Temp\safe-members-sample.csv" -AddOnUpdate

This command simply updates permissions on existing safe members only. Doesn't add the missing member. Following error occurs: There was an error setting the membership for <user/group> on in the Vault. The error was: The page cannot be displayed because an internal server error has occurred. (Internal Server Error)

Kindly help in fixing this.

bab29 commented 1 year ago

Duplicate