How to Revoke an Employee's AI Agent Access on Exit
Revoking an employee's AI agent access on departure requires more than disabling their single sign-on account: you also need to rotate any API keys tied to them (including ones embedded in local config files), terminate active sessions in each AI provider's admin console, remove locally stored credentials and browser extension sessions on their laptop, and disconnect any MCP servers or tool integrations they personally configured. Standard IT offboarding frequently misses the last three because they live on the device rather than in the identity provider.
Most offboarding checklists were built for a world of web apps behind single sign-on: disable the account, and access to email, the CRM, the shared drive all stop at once. AI agents break that assumption. A coding agent, a browser assistant, or a desktop AI app often holds its own local session token, its own cached credential, or a shared API key that was never tied to the individual in the first place — so disabling someone's SSO account does not necessarily stop their AI tools from working.
Why SSO revocation alone isn't enough
When an employee authenticates an AI coding agent or a browser assistant, the tool frequently stores a session token or refresh token locally on the laptop. That token can remain valid until it expires on its own, independent of whether the person's corporate identity is still active. If your company issued a single shared API key for a team's AI usage rather than per-person keys, revoking one person's account does nothing to that key at all — it keeps working for whoever still has it.
There's also a shadow layer: personal accounts. An employee who used a personal ChatGPT, Claude, or Gemini login for work tasks leaves with that access fully intact, because IT never had visibility into it to begin with.
What actually needs to be revoked
| Surface | What "revoked" means | Common gap |
|---|---|---|
| Enterprise AI seat (ChatGPT, Claude, Gemini) | Account disabled in the provider's admin console, active sessions force-logged-out | Admins disable the account but don't check for sessions that stay logged in on a cached device |
| API keys | Key rotated or deleted, not just the person's access to view it | Shared/team keys embedded in scripts or config files survive individual offboarding |
| Browser AI agent (Copilot, Gemini, Claude in-browser) | Extension session cleared, browser profile wiped or reimaged | Browser profile sync keeps credentials available even after the laptop is reassigned |
| Coding agent (Claude Code, Copilot CLI, Cursor) | Local auth token revoked, device deauthorized in the vendor's console | Local token keeps working until its own expiry, independent of account status |
| MCP servers / custom integrations | Connection deauthorized at both ends, credentials it held are rotated | Nobody remembers who set it up or what it's still connected to |
| Saved memory / chat history | Reviewed for sensitive content, deleted per data retention policy | Memory persists and can surface in someone else's future session if the seat is reassigned |
A practical offboarding sequence
First, disable the identity provider account — this stops new logins everywhere SSO is enforced, immediately. Second, pull every API key associated with that person, and separately review any shared keys they had access to; rotate the shared ones rather than assuming they're fine. Third, check each AI provider's admin console for active sessions tied to the account and force them out remotely, rather than trusting that account disablement alone does it. Fourth, before the laptop is wiped or reassigned, treat it as still holding live credentials: browser profiles, coding agent tokens, and any locally cached MCP connections should be assumed valid until the device itself is decommissioned.
The device matters more here than for a typical SaaS app, because so much of an AI agent's authority lives in local state rather than in a server-side session you can kill from one dashboard.
Where a managed console closes the gap
The core problem is visibility: most companies don't have a single inventory of which AI agents were installed, which accounts and keys they were using, and which company files and tools they were connected to — so offboarding becomes a guess. A console that tracks AI agent activity across every managed laptop gives you that inventory ahead of time, so on someone's last day you're working from a list instead of hoping IT remembers every tool a person installed over the past year. It also lets you disable an agent's local access as a discrete offboarding step, rather than relying on the AI vendor's own account settings to cascade down to the device.
What to take away
- Disabling SSO stops new logins but not local sessions, cached tokens, or shared API keys already in use.
- Treat the departing employee's laptop as holding live credentials until it is formally decommissioned, not just reassigned.
- Rotate shared API keys on every departure, since you can't assume only the departing person had access.
- Personal AI accounts used for work fall outside IT's offboarding process entirely — your acceptable use policy should require managed accounts for anything touching company data.
- Build the AI agent inventory before someone leaves, not during the scramble on their last day.