Assistance with AOU

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Assistance with AOU

L0 Member

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

1 accepted solution

Accepted Solutions

L4 Transporter

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

View solution in original post

3 REPLIES 3

L4 Transporter

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

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"

 

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

  • 1 accepted solution
  • 353 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!