rencore.com (opens in a new tab) Start a trial (opens in a new tab)

Clean up after a leaver

AI summary

When employees leave, you need to identify what they hold and remove their access to workspaces, licenses, and account ownership. Rencore Governance finds leavers by account state, such as disabled Entra ID accounts, and you run built-in actions to take back licenses and remove their memberships from groups, teams, and sites. You can set up automation to run this cleanup for every new leaver.

When someone leaves, find what their account still holds and remove the access, licenses and ownership that should go with them.

Before you begin

  • Your Rencore role needs the permissions to create policies and automations, and to run built-in actions. See Rencore roles.
  • Microsoft 365, Teams, SharePoint and OneDrive are connected and scanned. Add Copilot to find Copilot licenses on leaver accounts.
  • Rencore Governance finds leavers by their account state. A disabled account in Entra ID is the usual signal.

Steps

Find the leavers and what they hold

  1. Go to Policies > Policy Options ([…]) > Create Policy.
  2. In the “Policy Template Library”, choose the templates that match your offboarding rule:
  3. Save each policy. See Create a Policy from a Template.

Remove the access

  1. For one leaver, open the user in the inventory and run the built-in actions you need. See Executing an Action.

    • Remove subscriptions for a user takes back licenses.
    • Remove user from a group, Remove user from a Team and Remove user from a SharePoint Site take away workspace access.
    • Disable User Account or Delete User Account closes the account. Restore User Account brings back a deleted account.
  2. For workspaces where the leaver was an owner, add a new owner first. See Fix Workspaces Without Owners.

  3. To run the cleanup on every new leaver, Create a Custom Automation with the trigger “on policy violation” and the policy “Disabled user accounts with assigned licenses”. Add the action “Add or remove License for a User”, enter the “License Id” of the license to take back (for example, the Copilot license), and set the action to remove. One action removes one license, so add one action per license.

    It is good practice to trigger the automation manually for one test account before you connect it to a policy.

What you see

After the next scan, the leaver drops out of the license and workspace policies. The Copilot license policy shows the seats you can give to someone else.

Limits

  • Removing a user from a workspace removes direct membership only. Access through a group stays until the user leaves that group.
  • Rencore Governance cannot set a manager on an account.
  • Movers are covered by periodic workspace reviews, not by an automation. See Create a Review.

Frequently asked questions

How does Rencore Governance identify a leaver?

Rencore Governance finds leavers by their account state. A disabled account in Entra ID is the usual signal.

How do I remove a leaver's licenses automatically?

Create a Custom Automation with the trigger "on policy violation" and the policy "Disabled user accounts with assigned licenses". Add the action "Add or remove License for a User", enter the "License Id", and set the action to remove.

Can one automation action remove several licenses from a leaver?

No. One action removes one license, so add one "Add or remove License for a User" action for each license you want to take back.

Does removing a user from a workspace remove all of their access?

No. Removing a user from a workspace removes direct membership only. Access through a group stays until the user leaves that group.

What should I do before removing a leaver who owns a workspace?

Add a new owner first for workspaces where the leaver was an owner. Then remove the leaver's access.