Organisations should deactivate the user in the identity provider first, then confirm that the deactivation syncs into downstream access systems. That sequence suspends the user and their devices in the connected environment. Before deleting the identity entirely, reauthenticate any devices that must remain, so legitimate services are not unintentionally cut off during the offboarding process.
What to do first in offboarding so access does not linger
The first move is to disable the account at the identity provider, then verify that the change propagates into downstream systems before you delete anything. That order matters because deactivation is what actually interrupts authenticated access, while downstream sync confirms the user has been suspended everywhere the account can still act.
Offboarding often fails when teams treat deletion as the control instead of revocation. If the identity is removed too early, connected services, devices, or delegated sessions can be left in an inconsistent state, which creates stale access and makes it harder to prove the user has been fully cut off.
Why deactivation has to happen before cleanup
Identity providers are usually the control point that downstream applications trust first. When you deactivate there, you stop fresh sign-in and make it easier for access management, provisioning, and governance systems to reconcile the user’s status consistently. The practical benefit is that you reduce the chance of orphaned entitlements surviving after the person is gone.
This also gives security teams a clear verification point: if the identity provider is still active, the offboarding process is not finished. If the identity is inactive but a business system still shows access, that is a sync or connector problem that needs attention before the account is retired completely. The useful question is not whether the user was deleted, but whether every meaningful path to access has been closed.
What has to be checked before the identity is fully removed
Before deletion, validate the downstream state of connected applications, devices, tokens, and any automation that depended on the account. In particular, if a device or service must remain in use, reauthenticate or rebind it to an approved identity first so you do not break legitimate operations while removing the person’s access.
This sequence is especially important where offboarding also involves non-human access paths, shared environments, or long-lived credentials. A clean removal process should confirm that the former user cannot still authenticate, cannot reuse issued credentials, and cannot retain indirect access through a linked service or unattended device.
Risk and Threat Considerations
Stale access after offboarding is a common source of avoidable exposure because it creates a window where former users, compromised accounts, or mis-synced systems can still reach data and tools. The risk is highest when offboarding is fast, manual, or spread across several systems that do not share a single source of truth.
Failure mechanism: Deleting the account before revoking or confirming deactivation in the identity provider can leave downstream entitlements, sessions, or device trust intact, especially when synchronisation is delayed or incomplete.
Impact: The organisation may retain hidden access paths, fail to enforce least privilege, and miss the point at which access should have been terminated, which increases the chance of unauthorised use or operational breakage.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 — Improper Offboarding | Directly covers stale access left behind when non-human identities are not fully removed. |
| NHI-07 — Long-Lived Secrets | Offboarding can leave credentials or tokens active even after the person is gone. | |
| Recommendation — Deactivate and retire identities before deleting them, and confirm downstream revocation has completed. Rotate or revoke lingering secrets as part of the offboarding sequence. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | Offboarding must revoke authenticators, tokens, and related credential material used for access. |
| AC-2 — Account Management | Account disabling and deletion are core account-lifecycle controls for offboarding. | |
| AC-6 — Least Privilege | Offboarding prevents residual access and privileges from persisting after role exit. | |
| Recommendation — Revoke or invalidate authenticators promptly when the identity is deactivated. Disable accounts first and confirm account state propagation before removal. Remove residual permissions and validate that no unnecessary access remains. | ||
Practitioner Guidance
What to verify: Treat offboarding as complete only when the identity provider shows the account inactive and the major downstream systems reflect that status. If any critical application still shows active access after deactivation, escalate it as a control failure rather than a routine delay.
What good looks like: The offboarding workflow produces a clear sequence, deactivate first, confirm propagation, then delete or archive the identity after any surviving device or service dependencies have been reauthenticated or reassigned.
Practitioner takeaway: Offboarding should be designed around revocation evidence, not cleanup convenience, because deletion without verified deactivation is how stale access survives.
Related resources from NHI Mgmt Group
- How can organisations reduce the risk of stale API keys and machine tokens?
- How should organisations reduce risk from stale access after role changes or offboarding?
- Why do former employees still keep access after offboarding in many organisations?
- How should organisations remove endpoint agent software without leaving stale inventory records behind?