- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
12-28-2020 02:09 PM
I recently found the Account Onboard Utility but I'm needing an additional step. We utilize personal safes for our admins, so we need to add their domain account to each new safe created. Has anyone already modified the existing script? This doesn’t seem like it would be too difficult to add in, but I’d didn’t want to recreate the wheel and it would save me some trial and error.
https://github.com/cyberark/epv-api-scripts/tree/master/Account%20Onboard%20Utility
01-05-2021 10:09 AM
Actually @Jeremy Howard you can use a different script - Safe Management
https://github.com/cyberark/epv-api-scripts/tree/master/Safe%20Management
That can have a CSV file as an input and can create all the personal safes with the relevant user permissions
Then you can run the account onboarding utility to create the relevant accounts
A different approach would be to first run the AOU that will also create all the safes and then run the Safe Management script to update the permissions on these safes and add the relevant domain user
Hope that helps,
Regards,
Assaf
01-05-2021 10:09 AM
Actually @Jeremy Howard you can use a different script - Safe Management
https://github.com/cyberark/epv-api-scripts/tree/master/Safe%20Management
That can have a CSV file as an input and can create all the personal safes with the relevant user permissions
Then you can run the account onboarding utility to create the relevant accounts
A different approach would be to first run the AOU that will also create all the safes and then run the Safe Management script to update the permissions on these safes and add the relevant domain user
Hope that helps,
Regards,
Assaf
01-06-2021 04:33 AM
This appears to be just what I was looking for thanks.
Any idea why I might get an error about "A parameter cannot be found that matches parameter name 'numVersionRetention'?" I get this when attempting to delete a safe using the format.
.\Safe-Management.ps1 -PVWAURL "https://myPVWA.myDomain.com/PasswordVault" -Delete -SafeName "MySafe"
01-06-2021 05:31 AM
Hey @Jeremy Howard ,
You can try running the script with -Debug -Verbose to get more information on where it fails and why.
Specifically for this I checked
Please change the following lines: 1051, 1109
With this line:
Delete-Safe -safename $parameters.safeName
That should solve your issue
Regards,
Assaf
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

