cyberark / epv-api-scripts

These API scripts enable CyberArk users to automate privileged account management task like account creation, user management, and more.

Home Page:https://www.cyberark.com/best

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

imittal312 opened this issue · comments

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.

commented

Duplicate