- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-03-2025 12:19 AM
We would like to implement an offboarding process that also cleans up the licenses. For example when people that are using CyberArk are leaving the company.
We already know that removing users from AD groups that are assigned to CyberArk roles (e.g. Privilege Cloud Users) will result in losing access to PCLOUD & users will not be visible anymore in Identity. I guess that disabling users in AD will also result in losing access, but then they are still visible in Identity. So, I guess that removing them from those groups will be better.
Anyway, if they are removed from those AD groups, they are still consuming an EPVUser (= Privileged Standard User) license. I don't know if this is automatically synced or not?
We can delete users from the Vault via the DeleteUsersFromVault.ps1 script to free up EPVUser licenses what will result in losing safe access (member is removed from safe, but safe and accounts still exist).
So, I would like to know if this is already automated and if not, what should be the best approach to create an automated process for this (with for example a scheduled task)? How are you guys handling this?
I was thinking about the following approach:
User is disabled in AD -> if last login date is more than 60 days (checked via the the Get-UserTypesAndUsersLoginActivity.ps1 script), then delete user from Vault to free up EPVUser license -> remove personal accounts and safes in PCLOUD -> remove disabled users from CyberArk AD groups.
02-11-2025 02:02 PM
I don't know your company architecture. This is absolutely doable. Delete the user info and account from AD and thereafter next batch of automation will run towards vault which will trigger pacli to clean up the user in the Vault and you will have free EPV user license.
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!

