← All controls

21 Leaver offboarding runbook

draft

Google's checklists close with 'prevent unauthorized access after an employee leaves'; this runbook is that item as a fixed sequence rather than a good intention. On HR's notice the account is suspended, live sessions and tokens are killed, recovery paths are stripped, managed devices are wiped (20 Basic mobile device management), data moves to its successors under the retention rules (32 Vault retention & legal hold), and the account register (5 Account inventory (incl. shared/service accounts)) records the outcome. Every step is a GAM one-liner, so the sequence takes minutes once written down — and is reproducible at 6pm on a Friday, which is when it is needed.

Caveats

Setup steps

  1. open ↗
    Admin console screen — Directory > Users (suspend, reset and per-user security actions)

    https://admin.google.com/ac/users · captured 2026-07-15

    gam update user <leaver> suspended on
  2. gam user <leaver> signout && gam user <leaver> deprovision && gam update user <leaver> password random
  3. gam update user <leaver> recoveryemail "" recoveryphone ""
  4. gam print mobile query "email:<leaver>"  →  gam update mobile <resourceId> action account_wipe
  5. gam create datatransfer <leaver> gdrive <manager> calendar <manager>
  6. gam print admins | grep <leaver>  →  gam delete admin <assignment>; rotate shared-account credentials from the account register
  7. gam update user <leaver> archived on  — or, after data transfer completes: gam delete user <leaver>

Ongoing maintenance

How to verify

  1. Attempt a sign-in as the leaver — the response must be 'account disabled', not a password prompt.

  2. Enumerate what survives: tokens, app passwords and backup codes must all come back empty.

    gam user <leaver> show tokens
    gam user <leaver> show asps
    gam user <leaver> show backupcodes
  3. Confirm the devices came back clean: every device row for the leaver shows the account wiped or the device no longer syncing.

    gam print mobile query "email:<leaver>"

draft v0.1.0 Prevent policy #29 · #10 ↗