Skip to content
Free tool · Works with Microsoft 365

Offboarding Runbook and Leaver Check

Build a leaver runbook for Microsoft 365: what to do before, at and after the last day, with the command, the check and the evidence for each step. Then, if you want, check one tenant read-only for what leavers still hold.

  • AssertedEvery cmdlet was read on Microsoft Learn on 18 October 2026, and each step links the page it came from.
  • AssertedThe builder runs in your browser. Nothing you type is sent, and there is no account or email.
  • CommittedThe tenant check is optional and read-only. A result is held for ten minutes, then deleted.

Before you start

You give
The departure type and a few facts about your estate. The leaver check, if you want it, asks for one read-only Global Reader sign-in.
It reads
What you type, in this browser. The leaver check reads accounts, licences and sign-in dates from your tenant, read-only. The exact permissions.
It keeps
Nothing from the builder. A leaver check result is held for ten minutes, then deleted.
Who sees the result
Only you. There is no email field on this page.
Why it is free
Free because these checks show how I work. If a result needs fixing, I scope that as a fixed-scope job.

Build the runbook

Choose the type of departure and how your estate is set up. The runbook below updates as you go: each step has the reason, the commands, how to check it worked and what to keep.

Nothing you type here leaves this tab, and there is no account or email. The site counts, with no identifier, how many people start and export a runbook: the tool name, the hour and the referring site, never your answers.

Type of departure
Where the accounts live
Devices and mail

Names only. They become a checklist in the runbook and are never put into a command.

Optional: fill the commands in
Optional readiness checksix questions, no score

Answer for how you run leavers today. An answer other than every time marks the steps it touches as not routine for you yet. Unanswered questions are not counted as passed.

When someone leaves, do you block sign-in and revoke their sessions in the same step?

Before you convert or delete a leaver's mailbox, do you check mailbox forwarding and inbox rules?

Do you review the leaver's app consents, and the apps, groups and teams they own, before you remove the licence?

Are the leaver's laptops and phones retired, wiped or recovered on the leaving day?

Do you remove directory roles, including PIM eligible roles, from leavers?

Do you check the account again after 30 days, before you delete it?

Answer any of the six to mark the steps that are not routine for you yet.

Loading the leaver check.

How the runbook changes

What changes by type of departure

Standard

Planned departure, normal working relationship.

  • A planned exit, so the account-only wipe of mail on phones is queued before sign-in is blocked.
  • Directory roles come off on T+1, with the rest of the account clean-up.
  • No hold, mailbox protocol lock or authentication-method removal: those steps appear for the other two types.

Sensitive

Privileged, finance or admin access, or a move to a competitor.

  • A hold is checked in Prepare, because a mailbox hold needs the right Exchange plan.
  • The mailbox and the sign-in log are preserved at exit, before roles come off and devices are retired.
  • Directory roles come off at exit, not the day after, and registered authentication methods are removed on T+1.

Hostile or dismissal

Immediate exit, for cause, or under investigation.

  • At exit, sign-in is blocked first and sessions are revoked straight after.
  • Mailbox protocols are closed, so no client keeps a connection while the account is under review.
  • Preservation comes before any deletion, and the phone mail wipe is queued after the block, not before.

AssertedThe order and the three types are my recommendation. CIS Controls v8.1, safeguard 6.2, asks for a process to revoke access, preferably automated, that disables accounts when someone leaves, and notes that disabling instead of deleting can keep an audit trail. The runbook follows that order. CIS Critical Security Controls v8.1.

Why the runbook has these steps

Five ways a leaver keeps access

AssertedEach one is documented by Microsoft, and the page it comes from is linked.

  1. A token or session that is already issued

    Blocking sign-in stops new tokens. An access token still works until it expires, one hour by default, and an app that keeps its own session cookie keeps it until that app ends it. Revoke the sessions in the same step as the block.

    Read on Microsoft Learn: Revoke user access in Microsoft Entra ID

  2. An app that does not use the Microsoft account

    Blocking the Microsoft account never reaches an app with its own login. Where automatic deprovisioning is set up, Microsoft documents a synchronisation about every 40 minutes, and the rest is a manual list. The runbook turns the product names you enter into that list.

    Read on Microsoft Learn: Revoke user access in Microsoft Entra ID, Provision users and groups with SCIM in Microsoft Entra ID

  3. A device that is offline

    A retire from Intune is carried out the next time the device checks in with Intune. A device that never checks in again keeps whatever is stored on it, so recovering the hardware is the control.

    Read on Microsoft Learn: Device action: Retire, Wipe devices in Intune

  4. Mail that keeps being forwarded

    Forwarding and inbox rules live in Exchange, not in Microsoft Entra ID, so blocking the account does not remove them. Check both before you convert or delete the mailbox. The leaver check prints the two commands that find them.

    Read on Microsoft Learn: Configure email forwarding for a mailbox, Get-InboxRule

  5. Consents and objects tied to the account

    The apps a leaver gave permission to, and the apps, groups and teams they own, are separate records in the tenant. The runbook reviews both before the licence is removed, and the leaver check lists them for disabled accounts.

    Read on Microsoft Learn: Remove-MgOauth2PermissionGrant

Reference

Where leaver records are looked for

AssertedContext only. Neither reference prescribes this runbook, and following it is not a certification or an audit result. The table says which steps leave a record next to each reference, so you know where to look.

The NIS2 references point to Article 21(2) of Directive (EU) 2022/2555. A directive binds an organisation only through its own country's law; in Malta that is S.L. 460.41 (Legal Notice 71 of 2025, as amended), whose article 19 carries the same list. A reference here is context for your reviewer, not a compliance check.

References to leaver controls and the runbook steps that leave a related record
ReferenceWhat it coversRunbook steps with a related record
NIS2, Article 21(2)(i)Human resources security, access control policies and asset management are among the measures the Directive lists.Block sign-in, Remove directory roles, including PIM eligible roles, Confirm the hardware is back and the register is updated, Close the record

FAQ

Questions from admins

Does anything here change my tenant?

No. The runbook is text you review and run yourself, and the leaver check asks for read permissions only. Neither has a permission to change anything.

Why block sign-in and revoke sessions as two steps?

Blocking sign-in stops new tokens. Revoking sessions invalidates the refresh tokens already issued. An access token still lasts until it expires, one hour by default, and an app that keeps its own session lasts until that app ends it, so the runbook also lists the apps outside Microsoft Entra ID.

Should I disable or delete the account?

Disable it first. Deleting starts a 30-day restore window, after which the mailbox and OneDrive follow their retention settings. The runbook keeps the account disabled until the mailbox and files are handed over and the 30-day check is done.

What does the leaver check need?

An administrator who can approve apps for your tenant approves it once, and then you sign in as a Global Reader. Last sign-in and the 90-day list need Entra ID P1 or P2, and the device check needs an Intune licence. A check that cannot be read says so and is never shown as clear.

What does the leaver check keep?

For ten minutes, the account, display, device and app names of the disabled accounts it reads and of the enabled accounts it flags, encrypted under a key Upstash does not hold, at Upstash in Ireland, inside the EEA. No sign-in token, and no mail or file content. Delete this scan now removes it sooner. The runbook builder keeps nothing, because it runs in your browser.

Does it cover Google Workspace or other directories?

No. It covers Microsoft 365 with Microsoft Entra ID, cloud only or hybrid with Active Directory. Other apps appear as a checklist you fill in from the product names you enter.

Want the leaver chain run for you?

Joiner and leaver automation on Microsoft 365, triggered from your HR system, with every run logged as a record. Fixed scope, from Malta.

See the onboarding and offboarding service