SCIM (System for Cross-domain Identity Management) is an open standard that lets an identity provider (IdP) create, update, and deactivate or remove accounts in connected apps. It keeps app access aligned with the directory as people join, change roles, and leave.
Single sign-on (SSO) controls the sign-in process. SCIM changes the app account. Disabling a user at the IdP blocks new sign-ins through that IdP. The user's app account, its permissions, and any existing sessions can persist until the app takes action. Session revocation depends on the app.
Copy link to headingWhat is SCIM?
SCIM (System for Cross-domain Identity Management) uses a REST API that exchanges JSON over HTTPS. An identity provider can use it to manage users and, where supported, groups in connected apps. Admins choose which users are in scope for provisioning and how directory attributes and groups map to each app.
The Internet Engineering Task Force (IETF) published the core SCIM 2.0 documents in September 2015. RFC 7643 defines the schema, RFC 7644 defines the HTTP protocol, and the informational RFC 7642 describes concepts and use cases. RFC 9865 adds cursor-based pagination, and RFC 9967 defines SCIM events and optional asynchronous requests.
Copy link to headingWhat are the differences between SSO and SCIM?
SSO authenticates users when they sign in. SCIM can change their app accounts without waiting for a sign-in, so it can deactivate an account even if the person never returns.
Teams often use SSO for sign-in and SCIM for account changes.
Copy link to headingWhy does SCIM matter?
Manual offboarding depends on knowing every app the departing employee used. SCIM helps with offboarding and other gaps in manual provisioning:
Orphaned accounts: An account can remain active after its owner leaves. SCIM can deactivate or remove accounts within the integration's scope.
Missing audit evidence: Provisioning logs can show whether a deprovisioning operation succeeded and help document an offboarding control for a SOC 2 audit.
Slow onboarding: Assigning a new hire to the right directory group can create their app accounts on the next successful sync, where the connector supports group-based assignment.
App and agent sprawl: You can use SCIM to offboard users from connected internal apps and AI tools through the directory. Tools outside that scope still need a separate removal process.
Keep an inventory of apps outside the sync and review their accounts separately.
Copy link to headingCore components of SCIM user provisioning
A SCIM service provider exposes an API to read and modify identity resources in a standard format. The operations and resource types available depend on the integration.
Copy link to headingIdentity provider and service provider
In this setup, the IdP's provisioning service is the SCIM client and the app is the service provider. The client can read, create, update, and delete records on a schedule or in response to changes. The app doesn't need to poll the directory.
Many integrations send a bearer token in the Authorization header to authenticate. Some use a configured token; others, such as those with supported Microsoft Entra ID configurations, obtain access tokens via OAuth 2.0 client credentials. RFC 7644 §7.4 requires Transport Layer Security (TLS) and a limited lifetime for bearer tokens. A stolen bearer token can grant the permissions it carries until it expires or is revoked.
Copy link to headingUser and group schemas
The core schemas cover users and groups. Every user needs a userName that's unique among the service provider's users. The service provider assigns id. The provisioning client can supply an optional externalId from its own directory. The active boolean describes administrative status. A value of false typically means the user is suspended, but the service provider defines its effect.
For workplace details, the SCIM enterprise user extension adds attributes such as employee number, cost center, organization, division, department, and manager. Its schema identifier is:
urn:ietf:params:scim:schemas:extension:enterprise:2.0:UserWhen connecting an app, map each required SCIM attribute to the directory field that supplies its value.
Copy link to headingEndpoints and sample requests
SCIM uses standard HTTP methods and the media type application/scim+json. These are the standard success codes for synchronous requests:
Use POST on a resource collection to create a resource, PUT to replace an existing resource, or PATCH for a partial update if supported. A successful PATCH with the attributes query parameter returns 200 OK. Three discovery endpoints, /ServiceProviderConfig, /ResourceTypes, and /Schemas, describe the service's capabilities, resource types, and schemas. The /Bulk endpoint is optional. If both sides use asynchronous requests under RFC 9967, the server can respond with 202 Accepted before processing completes.
The first two examples show request bodies. Send them with Content-Type: application/scim+json and the authentication your app requires. To create a user, send POST /Users:
{ "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"], "userName": "bjensen", "externalId": "bjensen", "name": { "formatted": "Ms. Barbara J Jensen III", "familyName": "Jensen", "givenName": "Barbara" }}When a synchronous create request succeeds, the app returns 201 Created and a Location header with the resource URL. The response body should include the new resource.
Where the connector supports PATCH and uses active for deactivation, send PATCH /Users/{id} with this body:
{ "schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"], "Operations": [ { "op": "replace", "path": "active", "value": false } ]}The user record can remain available for reactivation. If the app and connector support it, setting active back to true can restore the account.
The delete example shows only the request line, with a sample resource ID:
DELETE /Users/2819c223-7f76-453a-919d-413861904646 HTTP/1.1A completed delete returns a 204 No Content response. The service provider must return 404 Not Found on later requests for that resource and omit it from queries, even if it retains the underlying record.
Copy link to headingProvisioning lifecycle from create to deprovision
For users in the integration's scope, a directory change can trigger a SCIM operation:
Onboarding: Assigning a user to the app can trigger a lookup. The connector sends
POST /Usersif it finds no matching account.Role change: A department change may update a user attribute. If the integration syncs groups, membership changes update the group resource under
/Groups. The user'sgroupsattribute is read-only.Offboarding: An unassignment or disablement can set
activetofalseor trigger aDELETE, depending on the connector, configuration, and app. Okta setsactivetofalseon deactivation or unassignment. Suspending the user in Okta doesn't send that event.
Once an app maps directory groups to its roles, you can make most access changes by moving users between groups. That depends on how you configure and maintain the connection.
Copy link to headingBest practices for rolling out SCIM provisioning
Before the first sync, check how the integration matches existing accounts and what happens when an account goes out of scope.
Copy link to headingMap attributes before you turn sync on
When a connector first links an assigned user, it can check for an existing account using the configured matching attribute. If it matches only by email and the addresses differ, it can miss the account and try to create another.
Prefer a stable, unique identifier that both sides support for matching. For example, use the IdP's internal user ID as externalId if the connector can query it and existing accounts already have that value. Some connectors require a lookup by userName. Test matching against existing accounts and verify that custom attributes use the exact extension schema identifier the app accepts.
Copy link to headingProvision by group, not by individual
Group-based assignment makes it easier to review who should have access. For example, assign a project group to the app and remove members when the project ends. Verify what the connector does when you remove a member, and review access granted directly to users.
Copy link to headingDeactivate first, delete later
Where the app supports it, deactivate the account at departure and verify that it blocks access. Revoke any sessions or credentials the app leaves active. Transfer ownership of projects and jobs, check what the app keeps after account deletion, and follow your retention policy. Check what your IdP sends when you unassign a user. Microsoft Entra ID can disable or delete users depending on the scenario and app.
Copy link to headingTreat the SCIM token like a production secret
A SCIM bearer token can give whoever holds it access to the provisioning API. Store it in a secrets manager, keep it out of logs, and limit its scope where supported. If the app allows overlapping tokens, create a replacement token, update the IdP, confirm provisioning works, and then revoke the old token. Otherwise, coordinate the change with the sync schedule. Prefer short-lived access tokens where supported.
Copy link to headingTest and reconcile in a staging tenant
A mapping error can affect every account in scope. Start in a test tenant with a small group. Test account matching, group changes, and offboarding. Check the provisioning logs and confirm the results in the target app before widening the scope. After launch, periodically check that app accounts and access match the expected directory assignments.
If the app and client both support conditional updates with entity tags (ETags), send the tag from the version the client read in an If-Match header. If the resource has changed since the client read it, the app can reject the update with 412 Precondition Failed and keep the newer changes.
If your team deploys on Vercel, you can also use SCIM to manage who has access to the Vercel team.
Copy link to headingHow Vercel supports SCIM for enterprise teams
Directory Sync (SCIM) is available on the Vercel Enterprise plan. It syncs membership from your identity provider to your Vercel team. When Directory Sync removes someone from the Vercel team, they lose the project access granted by that membership. If an app you deploy on Vercel maintains its own user accounts, it still needs its own provisioning or offboarding process.
Copy link to headingRemove departed users automatically with Directory Sync
With standard Directory Sync, Vercel automatically invites newly synced directory users to the team. Users lose their Vercel team membership when they're removed from the synced directory. A Team Owner configures the connection in the team dashboard under Settings > Security & Privacy > Authentication and User Provisioning > Directory Sync > Configure. After connecting the provider, review the mappings and member preview before selecting Confirm and Sync.
Copy link to headingTie work accounts to company identity with Enterprise Managed Users
Enterprise Managed Users (EMU) is generally available on the Enterprise plan. With EMU, provisioned members on verified email domains get managed Vercel accounts that their team owns and controls. A Team Owner enables it under Settings > Security & Privacy > Enterprise Managed Users. EMU requires configured and enforced SAML Single Sign-On, an active Directory Sync, and at least one verified email domain.
Managed users sign in only through SAML SSO. When you save new Directory Sync role mappings after enabling EMU, eligible users in the mapped groups get a managed account at their next SSO sign-in without an invitation email. Vercel links directory users by their identity provider ID, so an email change alone doesn't break that link. Managed account email updates require an unused address on a claimed domain. The Hobby team transition is a separate Beta feature available on request through your Vercel account team.
Copy link to headingMap directory groups to Vercel roles and Access Groups
Directory Sync can map an identity provider group directly to a Vercel team role or to a Vercel Access Group for project access. An Access Group mapping defaults users to the Contributor team role unless another directory group mapping assigns a different team role. Project grants follow Access Group rules. For example, Vercel ignores those grants for users with the Owner, Member, Billing, or Viewer team role. A Developer can deploy to production by merging to the production branch in a Git workflow, but can't change production environment variables. The Security role can manage Firewall, Rate Limiting, and Deployment Protection. It has read-only project access and can't create deployments by default.
Directory Sync can overwrite existing roles, including the role of the person running the sync. Before the first sync, make sure at least one person will retain the Owner role. If all Owners lose access because they were removed, use the directory group vercel-role-owner to give its members the Owner role.
Copy link to headingKeep an audit trail of access changes with Audit Logs
On the Enterprise plan, team members with the Owner or Security role can use Audit Logs to review events such as member removals and role changes. The CSV schema includes fields for the actor, the source IP address, and the previous and updated states.
To export up to 90 days of events, go to Settings > Security & Privacy > Audit Log and select Export CSV. For external retention, configure an Audit Log Drain under Settings > Drains > Add Drain and choose Audit Log. It forwards team activity events to destinations such as Amazon S3, Splunk, or a custom HTTPS endpoint.
Copy link to headingExtend your identity directory to every app your teams ship
Test offboarding in every app the departing user used, including apps outside your SCIM connection. Check which identifiers each connector can match, review group memberships and direct grants, and test how deactivation affects sessions, credentials, and retained records.
On Vercel, team membership and deployment access have separate controls:
Automatic team changes with Directory Sync: Sync Vercel team membership with your identity provider, including removals from the synced directory.
Team-owned accounts with Enterprise Managed Users: Provision managed accounts for eligible users on verified email domains and require SAML SSO for sign-in.
Group-based access with Directory Sync: Map directory groups to team roles or to Access Groups for project access.
Audit evidence with Audit Logs and Audit Log Drains: Export up to 90 days of events or send team activity to an external system for retention.
Protected deployment URLs with Vercel Authentication: Use Vercel Authentication under Deployment Protection to restrict access to deployments in selected environments, including previews. Shareable Links and other configured bypass methods can grant access separately.
Start a new project and connect your directory with Directory Sync, or browse templates for a starting point.
Copy link to headingFrequently asked questions about SCIM
Copy link to headingWhat does SCIM API mean?
A SCIM API is the REST interface an app exposes for managing users and, where supported, groups. To connect a provisioning client, configure a SCIM base URL, such as the placeholder https://app.example.com/scim/v2, and the authentication the app requires. The client appends resource paths such as /Users and /Groups to the base URL.
Copy link to headingCan just-in-time provisioning replace SCIM?
Just-in-time (JIT) provisioning can create an account at a user's first sign-in. That works when users don’t need an account before their first sign-in. JIT provisioning alone can't deactivate an account for someone who never signs in again. Use SCIM or another offboarding process for those accounts.
Copy link to headingIs SCIM a replacement for LDAP?
No. Lightweight Directory Access Protocol (LDAP) is for searching and modifying entries in a directory. SCIM defines an HTTP and JSON interface for exchanging identity records across systems. An organization can use LDAP with its directory and SCIM to provision accounts in connected apps.
Copy link to headingDo AI tools and agent platforms support SCIM?
Support varies by product and plan. For example, OpenAI documents SCIM for eligible ChatGPT Enterprise and Edu workspaces. If a tool has no SCIM integration, document a separate removal step and periodically check for accounts the directory doesn't manage.