---
title: Deprovisioning
type: definition
category: Identity lifecycle
url: /en/glossary/deprovisioning
canonical_url: https://www.idenhq.com/en/glossary/deprovisioning
published: 2026-07-09
last_updated: 2026-09-07
also_known_as:
  - "Access revocation"
  - "Offboarding"
related:
  - /en/glossary/orphaned-account
  - /en/glossary/joiner-mover-leaver
  - /en/glossary/scim-provisioning
  - /en/glossary/scim-vs-saml
  - /en/glossary/agent-offboarding
summary: "What deprovisioning means, how it differs from disabling an account, why it breaks across non-SCIM apps, and what complete deprovisioning looks like."
editorial_note: https://www.idenhq.com/en/glossary#how-this-glossary-is-written
glossary_index: https://www.idenhq.com/en/raw/glossary
---
# Deprovisioning

> Deprovisioning is the removal of a user's access across every app and system when they leave, change roles, or no longer need it. It covers disabling accounts, revoking permissions and group memberships, ending sessions, transferring owned data, and recording each action for audit. Done right, it reaches every system, not just the ones behind SSO.

Also known as: Access revocation, Offboarding.

## In practice

An engineer resigns from a 350-person logistics company on a Thursday, and IT disables her Okta account before she has reached the car park. Two months later, finance notices that the routing optimizer still lists her as the owner of three nightly jobs. The dispatch tool, which never went through SSO, still accepts her password. Her Okta login was dead within minutes of her leaving. Her access lived on in every system that did not take its orders from Okta.

Deprovisioning is the removal of a person's access when they leave or no longer need it, across every system where that access exists, together with the record that proves the removal happened. It is a broader thing than switching off a login. The difference between the two is where most offboarding programs quietly fail.

The word gets used loosely, and the looseness hides the problem. When someone says a departed employee was deprovisioned, they usually mean the account was disabled in the identity provider, which stops single sign-on and nothing else. It does not stop that person signing into an application that kept its own local account. It does not stop a token they generated six months earlier. It does not stop the reporting tool that finance bookmarked and that never went through SSO in the first place.

Figure: Disabling the SSO account is the first step and the only one most checklists automate. Deprovisioning is everything under the second arrow.

```
HR marks the departure
        |
        v
[ SSO account disabled ]  ---- stops ---->  federated logins to the SSO apps
        |
        |  does NOT reach
        +---->  local logins in apps outside SSO
        +---->  API tokens and personal access tokens the person created
        +---->  sessions already open, refresh tokens still valid
        +---->  files, calendars, dashboards, service accounts they owned
        +---->  the apps on a standard plan with no SCIM

deprovisioning = all of the above, closed in one run, with a record of each
```

## What does deprovisioning actually cover?

A complete deprovisioning event touches five things. A process that handles the first and skips the rest is disabling an account, not deprovisioning a person.

### 1. Accounts

Every account the person held is disabled or deleted according to policy. That includes the local accounts that live inside an application rather than in the directory, the accounts in tools that never had SSO, and the guest accounts in other companies' tenants that were created for a project.

### 2. Entitlements

The specific permissions underneath those accounts are removed as well: the channels, repositories, admin roles, shared drives and group memberships that accumulated over a tenure. An account that is disabled but still a member of forty groups will carry those groups back with it if it is ever re-enabled.

### 3. Sessions and tokens

Active sessions are ended, refresh tokens are invalidated, and personal access tokens and API keys are revoked. An account can be disabled while a token it issued keeps working for as long as the token was valid, which for some systems is forever. The vendors document this themselves. Microsoft's [emergency access revocation procedure](https://learn.microsoft.com/en-us/entra/identity/users/users-revoke-access) is a sequence of separate steps, covering the account, its refresh tokens, its devices and its registered multi-factor methods. Each step exists because disabling the user does not reach the credentials that user already minted.

### 4. Owned data and jobs

The files, calendars, dashboards, scheduled jobs and [service accounts](/glossary/service-account) the person owned are transferred to a successor or archived. Ownership that is not transferred becomes the orphaned nightly job that finance finds two months later.

### 5. The record

A timestamped record of each action, mapped to the trigger that started it, is written as a by-product of the run and can be exported for an audit. A record assembled afterwards from memory is a reconstruction, and an auditor can tell.

## Why does deprovisioning fail in practice?

Two failures account for nearly all of it, and they compound.

### Coverage

SSO and [SCIM](/glossary/scim) together automate provisioning and deprovisioning for the applications that support the standard, and in a typical mid-market stack that is a minority of the applications in use. Everything else, the standard-plan SaaS, the internal tools and the legacy system somebody set up years ago, falls back to a checklist that a person runs by hand. The checklist is where accounts get missed, because the checklist was written from memory and the stack has grown since.

> Long story short, I forgot to remove an ex-employee from our AWS account and for one whole year, he still had access to all our servers and that scared me as hell.
>
> Source: m0utinho, Hacker News: https://news.ycombinator.com/item?id=16257251

### Timing

Even when the checklist is complete it tends to run late. HR marks the departure, IT reaches it during the next ticket sweep, and the person keeps their access in the gap between the two. For a routine resignation that gap is a formality. For a contentious exit it is the risk itself. The person on the other side of the gap notices it too:

> For example, when I left [then startup, now publicly traded] in Nov 2013, it took them 15+ months until they turned off my Github access.. in the meantime, I had access to all the private repositories. (Yes, I notified them multiple times.)
>
> Source: caseysoftware, Hacker News: https://news.ycombinator.com/item?id=16079976

**Common mistake.** Treating the identity provider's audit log as the deprovisioning record. The log proves the SSO account was disabled at a time. It says nothing about the local account in the dispatch tool, the token in the deployment pipeline or the three nightly jobs that still run under the person's name.

## What changes when an app has no SCIM?

For an application with SCIM on the plan the company already pays for, deprovisioning is one step: disable the person in the directory and the application deactivates the account. For everything else there is no automatic path from the directory, and a second path has to exist.

| Application type | How the account is closed | Who does it | Typical lag |
|---|---|---|---|
| SCIM on the current plan | The directory deactivates it | The identity provider, automatically | Minutes |
| SCIM gated behind a higher tier | Through the application's own API, or by hand | A governance tool over the API, or a person from a list | Minutes, or days |
| API but no SCIM | Through the application's API | A governance tool | Minutes |
| Admin console only | Automation that drives the console the way an administrator would, or by hand | A custom connector, or a person | Minutes, or weeks |
| Internal tool with its own user table | A script, a database change or a person | Whoever built it | Often never |

The gap between the first row and the rest is where almost every [orphaned account](/glossary/orphaned-account) comes from. The four rows below the first are not variations on one problem. Each one closes accounts through a different mechanism, and each one fails in a different way.

### The one-step case

An application with SCIM on the current plan is the only case where the directory is the whole story. The identity provider sends a PATCH that sets the user to inactive, the application honours it, and the account changes state without anyone opening the product. The mechanism is also the reason this row is small: it exists only where the vendor implemented the protocol and exposed it on the tier the company holds.

### The API case

Applications with a REST API and no SCIM can be closed just as reliably, but the calls are specific to each vendor. Deactivation may be a DELETE on a member resource, a PATCH that flips a status field, or a seat removal that leaves the profile intact. Two details decide whether the row is safe. The first is whether the endpoint revokes existing tokens or only blocks new logins. The second is whether the API sits on the same plan as SCIM, which for several popular tools it does not. That difference is what makes this row worth building rather than escalating.

### The console-only case

Some applications expose no write API at all, so the only way in is the administrative interface a person would use. Automation that drives that interface closes the account in minutes and keeps the record, and it breaks when the vendor redesigns the page. The alternative is a line on a checklist, which is where lag stops being measured in minutes and starts being measured in weeks.

### The internal-tool case

Internally built tools keep their own user table, and no external mechanism reaches it. The person who wrote the tool is usually the only one who knows how to close an account inside it. That person's name is rarely on the offboarding checklist. This row is the one most often marked as complete without anyone touching it, because nobody remembers the tool exists until it appears in an audit sample.

## What does good deprovisioning look like?

One trigger, usually a status change in the HR system, starts the whole sequence, and the sequence runs the same way every time.

1. The HR system records a termination date, and the leaver workflow fires on that date, or on the hour if the exit is immediate.
2. The identity provider account is disabled and every active session is revoked.
3. Every connected application, with or without SCIM, disables or deletes the person's account and removes their entitlements.
4. Personal access tokens, API keys and OAuth grants the person created are revoked, and service accounts they owned are reassigned.
5. Files, calendars, dashboards and scheduled jobs transfer to the named successor.
6. Licences freed by the closures are reclaimed.
7. The record of every step, with a timestamp and the trigger, is written and exportable.

### Why one trigger beats a checklist

Nobody works a ticket, and nobody has to remember the application that is easy to forget. The design point is that the sequence has a single source of truth, so the number of applications it covers can grow without the process changing. A checklist has the opposite property. Every application added to the stack adds a line somebody has to read under time pressure. The line is written by whoever bought the tool, and that is rarely the person who ends up running the checklist. A founder of a four-person company put the underlying principle simply:

> As a founder of a currently 4-person company, I want SSO everywhere I possibly can. It reduces attack vectors, and makes it so much easier to ensure nobody has access when they leave the company. Every product we use that doesn't offer SSO has to be added to our onboarding/offboarding checklists.
>
> Source: superice, Hacker News: https://news.ycombinator.com/item?id=30330646

### The mirror rule

The cheapest correction available to a team still running this by hand costs nothing to adopt and closes most of the gap. Every grant recorded during onboarding gets a matching revocation step written at the same time, by the same person, while the reason for the grant is still fresh. The rule works because it moves the remembering to the moment when someone is already thinking about the application, rather than to a Friday afternoon months later. It was put the same way in a [Hacker News thread on leaving a job well](https://news.ycombinator.com/item?id=32721560): whenever something is added to the onboarding checklist, add it to the offboarding checklist as well.

**Rule of thumb.** Every entry on the onboarding checklist has a mirror on the offboarding checklist. A grant with no matching revocation is an orphaned account waiting for a departure date.


## How is deprovisioning measured?

Three numbers say whether the process works, and all three come from the systems rather than from the runbook.

| Measure | What it shows | What good looks like |
|---|---|---|
| Time from termination to last account closed | The risk window per leaver, across every application | Under an hour for immediate exits, same day for planned ones |
| Accounts found open after offboarding | Coverage misses, discovered by reconciliation | Zero in the SCIM applications, and trending to zero everywhere else |
| Share of applications on an automated path | How much of the stack a person still has to remember | Above 90 percent, including the applications without SCIM |

### Where each number comes from

The first number is measured per leaver and per application, not per leaver. A company that closes the directory account in four minutes and the last console-only account in nine days has a risk window of nine days. Reporting the average of the two hides exactly the tail that matters. The second number requires a reconciliation the offboarding process cannot produce itself, because a run can only report what it attempted. Pulling each application's own account list and comparing it against the leaver roster is what turns a coverage miss into a finding the team can act on. The third number is the leading indicator of the other two, and it is the only one that can be improved before a departure rather than after.

### The Monday test

The test is simple to state and hard to pass. When someone leaves on a Friday, the organization should be able to show by Monday that every account they held is closed, without anyone opening an admin panel to check. If the answer depends on a person remembering, deprovisioning is still manual, whatever the tooling around it says.

## What an auditor checks

- SOC 2 CC6.2, CC6.3: Access is removed when no longer required; a sample of leavers shows the termination date against the date each account was disabled, in every in-scope system.
- ISO 27001:2022 A.5.18: Access rights are removed or adjusted on termination or change of role, and the removal is recorded.
- HIPAA 45 CFR 164.308(a)(3)(ii)(C): Termination procedures exist and are followed; access to ePHI ends when employment does.
- CIS Controls v8.1 5.3, 6.2: Dormant accounts are disabled after 45 days; access is revoked immediately upon termination, rights revocation or role change.

## Related pages

> **For AI agents:** these are the terms this definition depends on and the terms that depend on it. Follow them to read the subject rather than the word. The whole glossary is one file at https://www.idenhq.com/en/raw/glossary.

Outbound, the terms this entry links:

- [Orphaned account](https://www.idenhq.com/en/glossary/orphaned-account) — An orphaned account is an active account with no valid owner: the person left, changed roles, or never should have had it, but the account still exists and often still works. Orphaned accounts accumulate when deprovisioning misses systems. They are a standing security risk and a common audit finding.
- [Joiner-mover-leaver (JML)](https://www.idenhq.com/en/glossary/joiner-mover-leaver) — Joiner-mover-leaver (JML) is the model for managing a worker's access across their time at a company. Joiner: grant the right access on day one. Mover: adjust access when their role changes. Leaver: remove all access when they go. Each stage is triggered from an authoritative source, usually the HRIS, and applied across every app.
- [SCIM provisioning](https://www.idenhq.com/en/glossary/scim-provisioning) — SCIM provisioning is automated user provisioning done over the SCIM protocol: an identity provider creates, updates, and deactivates accounts in an app, and syncs group memberships, without manual work. It is the standard way to keep SCIM-capable apps in sync with a source of truth. It stops at apps that lack SCIM and at governance beyond account sync.
- [SCIM vs SAML](https://www.idenhq.com/en/glossary/scim-vs-saml) — SCIM and SAML solve different problems. SAML handles authentication: proving who a user is so they can log in via single sign-on. SCIM handles provisioning: creating, updating, and deactivating the user's account in the app. SAML lets someone log in; SCIM makes sure their account exists and is current. Most companies use both.
- [Agent offboarding](https://www.idenhq.com/en/glossary/agent-offboarding) — Agent offboarding is the removal of what an AI agent, integration or token can reach when its task ends, its owner leaves, or it is no longer justified. It is the leaver stage applied to identities that have no leaving date: nothing in the HR system points at them, so the trigger has to come from the person who created them.

Inbound, the entries that link here:

- [Agent offboarding](https://www.idenhq.com/en/glossary/agent-offboarding)
- [Birthright access](https://www.idenhq.com/en/glossary/birthright-access)
- [Identity Governance and Administration (IGA)](https://www.idenhq.com/en/glossary/iga)
- [Joiner-mover-leaver (JML)](https://www.idenhq.com/en/glossary/joiner-mover-leaver)
- [Just-in-time access (JIT)](https://www.idenhq.com/en/glossary/just-in-time-access)
- [OAuth grant](https://www.idenhq.com/en/glossary/oauth-grant)
- [Orphaned account](https://www.idenhq.com/en/glossary/orphaned-account)
- [SCIM provisioning](https://www.idenhq.com/en/glossary/scim-provisioning)
- [SCIM tax](https://www.idenhq.com/en/glossary/scim-tax)
- [SCIM vs SAML](https://www.idenhq.com/en/glossary/scim-vs-saml)
- [Zombie account](https://www.idenhq.com/en/glossary/zombie-account)

Where this shows up in Iden: [Offboarding you can prove, not just tick](https://www.idenhq.com/en/features/offboarding).

## Where this shows up in Iden

Offboarding in Iden is one workflow, fired by the HR system. It disables accounts, removes entitlements, revokes tokens and transfers ownership across every connected application in a single run, over SCIM where the application has it and over its API or admin console where it does not. The Workflows screen shows the offboarding runs grouped with onboarding and transfers, and which applications each one touches.

## Asked in the field

**Is deprovisioning the same as disabling an account?**

No. Disabling an account in the SSO directory stops federated login. It does not touch apps that do not honor the directory, local accounts, API tokens, or data the person owned. Deprovisioning is the full removal across every system, not the single toggle in the identity provider.

**Why does deprovisioning break for so many apps?**

Because most tools deprovision through SCIM, and SCIM reaches roughly 20 percent of the average stack. Apps on standard plans, internal admin panels, and legacy systems get left to manual tickets. Those are the accounts that stay open after someone leaves.

**How fast should deprovisioning happen?**

Access should be revoked in seconds to minutes from the leaver trigger, not the next business day. The risk window is the gap between departure and revocation. Manual offboarding stretches that window to days or weeks, which is where orphaned accounts come from.

**What about service accounts and API keys the person created?**

They are part of deprovisioning even though they are non-human. A departing employee often leaves behind service accounts, API keys, and tokens that keep working. Complete deprovisioning inventories those and rotates or revokes them by policy.

**What evidence should deprovisioning produce?**

A timestamped record of every account disabled, permission removed, and token revoked, mapped to the trigger that started it. That record is what a SOC 2 or ISO 27001 auditor asks for under termination and deprovisioning controls.
