- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-19-2024 12:31 PM
I have account discovery scanning in place and it picks up the accounts I want to onboard. How do I onboard them into a specific safe using apis? When I run the add discovered accounts api it adds it to the passwordmanager_pending safe without a way to move it or specify the safe and I need to onboard using the gui.
11-19-2024 01:37 PM
Do you have any automatic onboarding rules in place that the discovered accounts match? If you look at the table under the 2nd gen API in the documentation for adding a discovered account, it mentions the following: "Discovered accounts are onboarded according to matching onboarding rules. If automatic onboarding fails for any reason, the account is added to the Pending Accounts list."
You can find the relevant details here: https://docs.cyberark.com/pam-self-hosted/14.0/en/content/webservices/add%20discovered%20account%20v10.8.htm?tocpath=Developer%7CREST%20APIs%7CAccounts%7CDiscovered%20accounts%7C_____1
11-19-2024 01:43 PM
The accounts I’m attempting to onboard are domain service accounts. I believe domain accounts cannot have automatic onboarding rules applied, but please correct me if I’m wrong.
11-20-2024 05:37 AM
Yes, that's correct. Domain accounts can not be on-boarded via onboarding rules. In this case, I believe manual on-boarding via Account discovery module. I guess, there are APIs to get the details from pending safe, but not to on-board them.
11-20-2024 06:04 AM
I would not recommend onboarding service accounts automatically simply because of the nature of how those accounts could be used to run applications/services. Onboarding and rotating the password will cause an outage if the password is not made available to the application either push or pull.
11-28-2024 05:52 AM
Hi @Colin @NGA Brodie
Since several community members answered your question, please let us know if these solutions addressed your query.
If so, it would be great if you could mark the most helpful response as 'Select as Best' to assist other community members with similar questions.
Thank you, Liad.
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!

