All posts

AI Agents

SCIM for AI Platforms: How SAML, OIDC, and SCIM Work Together for Users and AI Agents

SCIM for AI platforms explained: SAML or OIDC signs users in, SCIM provisions and offboards them, and what changes when AI agents need identities too.

Lyzr Team9 min read
SCIM for AI Platforms: How SAML, OIDC, and SCIM Work Together for Users and AI Agents

Got a use case in mind?

8 weeks from use case to agents running in production.

Platform, people and FDEs, all in. Bring your environment. We'll co-build and stay until it's live.

Talk to Us

Free resource

101 AI Agents Use Cases

100+ production-ready AI agent use cases across Marketing, Sales, HR, Banking, Insurance, Operations and a lot more

Download now

What is SCIM for AI platforms?

SCIM for AI platforms is the use of SCIM 2.0 to sync users, groups and roles from your identity provider, such as Okta or Microsoft Entra ID, into an AI platform. It creates accounts when people join, updates groups when they move and removes access when they leave. SAML or OIDC handles sign-in.

Your identity provider is the SCIM client and the AI platform is the server. The identity provider pushes every change, with nobody signing in. SCIM is not a login protocol.

TL;DR

  • SCIM for AI platforms keeps accounts and groups on the platform in sync with your identity provider, including removing them when people leave.
  • SSO stops the next sign-in, but deletes nothing. Accounts, API keys, scheduled agents and tool connections survive unless something removes them.
  • Use SAML for the web console and OIDC for apps, APIs and CLI agents. SCIM works with either.
  • SCIM groups should decide which models, tools, data and budgets each team gets.
  • SCIM was built for people. Agent extensions are still individual IETF drafts, and none decides what an agent may do on a call.
  • A control plane covers the rest: an owner for every agent and a policy check on every call.

Why SSO alone leaves the door open

Why SSO alone isn't enough on AI platforms: the account, API key, agents and connections stay live after offboarding
SCIM for AI Platforms: How SAML, OIDC, and SCIM Work Together for Users and AI Agents 3

A product analyst leaves on a Friday (a composite example). IT disables her in Okta, and the AI platform’s sign-in page now rejects her. On Monday, her account still exists. So do her personal API key, two agents that run every night, and a CRM connection she authorised with her own token. The platform had single sign-on but no SCIM, so nothing told it she was gone.

In a September 2026 survey by Sagiss of 1,000 US adults who had left a job in the past five years, 24% said they could still use a company AI tool or assistant after leaving. And 79% said at least one work account or access point kept working after their last day. The figures are self-reported.

SSO checks a person at the door. It can’t empty the room behind it.

SAML, OIDC and SCIM: three jobs, one identity provider

Every security review asks three things: how people sign in, how accounts get created and how they get removed. Two protocols answer the first. Only SCIM answers the other two.

SAML 2.0OpenID Connect (OIDC)SCIM 2.0
JobSign a person inSign a person or app inCreate, update and remove accounts and groups
When it runsAt each browser sign-inAt each sign-in or token requestWhenever the identity provider changes, with no user present
FormatSigned XML assertionSigned JSON Web Token (ID token)REST and JSON
Best fit on an AI platformWeb console for employeesConsole, APIs, SDKs, CLI and coding agentsJoiners, movers and leavers
Removes access when someone leaves?NoNoYes

SAML or OIDC: pick by client, not by preference

SAML passes XML assertions through the browser. OIDC issues compact JSON Web Tokens that fit in an HTTP header, which suits the SDKs, CLI tools and coding agents that call an AI platform from code. Choose by your heaviest clients. SCIM doesn’t care which one signs the user in.

SCIM: who exists, which groups, and when access ends

SCIM keeps the platform matched to the directory: accounts exist only for active people, and groups and attributes such as department stay current. When IT disables someone, the identity provider sends a SCIM update and the platform deactivates the account.

Why just-in-time provisioning isn’t enough

Just-in-time (JIT) provisioning creates an account the first time someone signs in through SSO. But it only runs at sign-in, and a person who has left never signs in again, so JIT never removes them.

What SCIM should control on an AI platform

On most SaaS tools, deprovisioning means one account goes inactive. On an AI platform, that account owns things that act on their own.

The leaver path has to reach agents, keys and connections

A departed user can leave behind:

  • Agents they built or own, including ones on a schedule
  • Personal API keys and access tokens
  • OAuth connections to tools, MCP servers and data sources made with their credentials
  • Knowledge bases and chat history holding company data
What SCIM for AI platforms should control: the leaver path for agents and keys, and group-to-role access
SCIM for AI Platforms: How SAML, OIDC, and SCIM Work Together for Users and AI Agents 4

A SCIM deactivation should trigger a rule for each: revoke keys, suspend or reassign agents, disconnect tools. Microsoft’s guidance on revoking access warns of a gap between starting revocation and access ending, and tells apps to stop accepting access tokens even while they’re still valid. In the Sagiss survey, 16% of former employees said company information was still in an AI tool or chat history they had used for work.

Groups decide which models, tools and data a team can use

Map identity provider groups to platform roles, and roles to the models a team can call, the tools its agents may use, the data they can read and what they can spend. When someone moves from support to finance, SCIM updates the group and access changes the same day.

One identity from sign-in to audit log

The SAML NameID or OIDC sub claim has to match the user SCIM created. Then every action in the audit log ties back to one directory identity, with no duplicate accounts that SCIM can’t remove.

How to set up SSO and SCIM on an AI agent platform

  1. Confirm your plan includes SSO and SCIM, and verify your domain.
  2. Set up SSO first and test it with one admin and one pilot user.
  3. Generate the SCIM base URL and token in the platform. Store the token in your secrets manager and set a date to rotate it.
  4. Add the app in your identity provider, mapping attributes so SSO and SCIM identify the same person.
  5. Map groups to roles, starting with a single pilot group.
  6. Test the leaver path. Deactivate a test user and check their sessions, keys, agents and tool connections an hour later.
  7. Turn off JIT, local passwords and manual invites once SCIM is the source of truth.

Does your offboarding reach the agents, or only the people? The CIO Playbook to AI Agent Governance sets out five control points for every agent, including a named owner, its own identity and access that’s revoked automatically when an agent is retired. Get the playbook:

Questions to ask before you buy

  • Is SCIM 2.0 supported for both users and groups, including deactivation?
  • Can SCIM groups control models, tools, MCP servers, data and budgets?
  • What happens to a user’s agents, keys, schedules and tool connections when SCIM deactivates them?
  • Can each agent have its own identity, separate from any person’s login?
  • Do audit logs link the sign-in identity, the SCIM user and every agent action?

SCIM alone can’t answer the fourth question. That’s where agents come in.

Can SCIM provision AI agents?

Not with a finished standard yet. Core SCIM defines users and groups, but agents act on their own, often for a person, and each needs an accountable owner.

Draft SCIM extensions for agents, and where they stand

  • SCIM Agents and Agentic Applications Extension (October 2025), by two Okta authors, added Agent and AgenticApplication resource types. The IETF datatracker now lists it as expired.
  • AI Agent Resource Extension for SCIM (June 2026), from authors at Microsoft, Okta and Nextident, defines a platform-neutral Agent resource with an owners attribute and lets groups contain agents. It’s an active individual draft, not a working group document, and expires on December 7, 2026 unless revised.
  • Microsoft argued in September 2025 that SCIM needs agent attributes such as the responsible human and the capabilities an agent exposes. Microsoft Entra Agent ID now adds identity constructs built specifically for AI agents.

The direction is clear: agents as directory objects with owners. The standard isn’t, so don’t buy on a draft.

What SCIM for AI platforms can’t do

Even a finished extension would only say that an agent exists, who owns it and which groups it’s in. It can’t:

SCIM also syncs into one platform at a time, while agents sprawl across clouds, frameworks, SaaS copilots and developer laptops. Your directory stays the source of truth for people. What’s missing is a layer that knows every agent, gives each one an owner and checks every call. That layer is an AI agent control plane.

How Lyzr Opencontroller picks up where SCIM stops

Lyzr Opencontroller is a control plane for AI agents. Its architecture page lists SAML, OIDC and SCIM as supported identity standards and says, “Your IdP remains the source of truth for people and access.” Opencontroller adds the agent layer SCIM was never built for:

Gap SCIM leavesHow Opencontroller handles it
Agents outside the platform SCIM syncs intoPuts every agent, on every cloud, in one live inventory
No owner on the agentGives each agent an owner, and shows each one’s owner, access and spend
Access set by a person’s token or a shared keyAdds agent-specific identity and policy alongside your identity provider
No decision on each callSits between your agents and everything they call, so policy applies before a call lands
Rules that stop at one platformThrough an agent gateway and an LLM gateway, each governed action can be authenticated, authorized, budgeted and checked before it reaches a model, tool or enterprise system

It runs in your cloud, private infrastructure or on-prem, with air-gapped deployments supported. Customer-managed deployments don’t need control-plane telemetry, credentials or application evidence exported to Lyzr.

Back to the analyst. SCIM removes her account on Friday. Her two nightly agents sit in one inventory with a named owner, so they’re found and handed over instead of running unnoticed. And what they can reach is set by their own identity and policy, checked before each call, not by her old CRM token.

Book a demo to see which of your agents would still be running after their owner left.

Get started with deactivating a test user in your identity provider, then checking your AI platform an hour later. Are the account, keys, agents and tool connections all dealt with? Anything still running is your first fix.

Frequently asked questions

SCIM for AI platforms uses SCIM 2.0 to sync users and groups from an identity provider into an AI platform. It creates, updates and removes accounts automatically, so access follows the directory, not manual invites.

SSO, through SAML or OIDC, signs a person in. SCIM manages whether their account and groups exist at all, so it can remove access for keys and agents that never sign in.

SAML suits a web console your identity team already federates. OIDC suits APIs, SDKs, CLI tools and coding agents, since its JSON Web Tokens fit calls made from code. SCIM works with either.

Not through a finished standard. As of December 2026, SCIM agent extensions are individual IETF drafts, and an agent’s runtime access needs separate controls.

Without SCIM, the account and its agents may keep running. With SCIM, the account is deactivated, but agents, keys and tool connections need their own rules.

Book A Demo: Click Here
Join our Slack: Click Here
Link to our GitHub: Click Here

Got a use case in mind?

8 weeks from use case to agents running in production.

Platform, people and FDEs, all in. Bring your environment. We'll co-build and stay until it's live.

Talk to Us

Free resource

101 AI Agents Use Cases

100+ production-ready AI agent use cases across Marketing, Sales, HR, Banking, Insurance, Operations and a lot more

Download now

Continue reading

You might also like

Build with Lyzr

Try it in Agent Studio

From framework-agnostic design to production-grade agents, deployed in under 24 hours.