SCIM Provisioning: User Groups, Policy Evaluation, and Audit Logs
How SCIM syncs users and groups for Zero Trust and dashboard IAM, how Access and Gateway evaluate that data, and how to audit and fix provisioning.
This page summarizes Cloudflare documentation on System for Cross-domain Identity Management (SCIM) for two separate flows: Zero Trust SCIM provisioning (Cloudflare Access, Gateway, and the Cloudflare One Client) and dashboard SCIM provisioning (account members, User Groups, and Permission Policies). They use different endpoints, eligibility rules, and product goals; conflating them is a common source of “SCIM works in one place but not the other.”
SCIM provisioning: what it syncs in Zero Trust vs the dashboard
Section titled “SCIM provisioning: what it syncs in Zero Trust vs the dashboard”SCIM is an open standard that lets an identity provider (IdP) push user and group lifecycle events to a cloud service.
System for Cross-domain Identity Management (SCIM) is an open standard protocol that allows identity providers to synchronize user identity information with cloud applications and services. After configuring SCIM, user identities that you create, edit, or delete in the identity provider are automatically updated across all supported applications.
— Cloudflare, SCIM provisioning (Zero Trust)
For Cloudflare Zero Trust, SCIM deprovisions users, surfaces readable group names in policy builders, and keeps the User Registry identity current for Gateway and device profiles. It does not by itself grant dashboard access.
This section covers SCIM provisioning for Cloudflare Zero Trust only. To provision access to your Cloudflare account, you will need to set up a distinct dashboard SSO SCIM integration in your IdP.
— Cloudflare, SCIM provisioning (Zero Trust)
For the Cloudflare dashboard, SCIM provisions account members and User Groups so you can attach Permission Policies at scale. Supported IdPs called out explicitly are Okta, Microsoft Entra ID, and Authentik.
Cloudflare supports bulk provisioning of users into the Cloudflare dashboard by using the System for Cross-domain Identity Management (SCIM) protocol. … Currently, SCIM provisioning has been integrated with Okta, Microsoft Entra, and Authentik.
— Cloudflare, SCIM provisioning (dashboard)
| Area | Primary outcome | Typical IdP setup | Eligibility called out in docs |
|---|---|---|---|
| Zero Trust | Deprovision, group names in Access/Gateway builders, User Registry updates | Enable SCIM on the existing IdP integration under Zero Trust → Integrations | SCIM 2.0 for SAML/OIDC IdPs |
| Dashboard | Members + User Groups + policies | Separate SCIM app per account; endpoint https://api.cloudflare.com/client/v4/accounts/<accountID>/scim/v2 |
Enterprise; Super Administrator for initial setup |
Access vs Gateway: how SCIM affects policy evaluation
Section titled “Access vs Gateway: how SCIM affects policy evaluation”Administrators often expect SCIM group membership to change Access decisions immediately. Cloudflare’s docs draw a sharp line between login-time assertions and provisioned registry state.
Access evaluates a user’s identity and group membership from the SAML assertion or OIDC token returned by the identity provider during authentication. SCIM provides readable group names in the Access policy builder, but Access does not use SCIM group membership to evaluate a login.
Gateway evaluates identity-based policies against the User Registry identity. SCIM updates this identity when users or group memberships change, without waiting for the user to authenticate again. Cloudflare One Client device profiles use the same synchronized identity.
— Cloudflare, Generic SAML 2.0 — Synchronize users and groups
Common conclusion: SCIM is essential for deprovisioning, Gateway identity selectors, and convenient group pickers in policy UIs; Access allow/deny at login still follows what the IdP sends in SAML/OIDC unless the user reauthenticates (or you revoke sessions when groups change). Optional settings such as Enable user deprovisioning and Group membership change reauthentication bridge lifecycle events into session invalidation—see the same guides for generic OIDC and Microsoft Entra ID.
IdP groups attribute: matching SSO and SCIM apps
Section titled “IdP groups attribute: matching SSO and SCIM apps”When policies reference IdP groups, the groups field naming must align across SSO and SCIM applications so Gateway’s registry matches what Access sees after reauthentication.
Ensure that your IdP sends a groups field. The naming must match exactly (case insensitive). … If your IdP requires a new SCIM application, ensure that its groups match the groups in the original SSO application.
— Cloudflare, Generic OIDC — IdP groups
User Groups and dashboard SCIM: permissions without Virtual Groups
Section titled “User Groups and dashboard SCIM: permissions without Virtual Groups”User Groups are the dashboard IAM primitive for assigning Permission Policies to collections of members. SCIM User Groups sync those collections from the IdP.
User Groups are a new Cloudflare IAM primitive that enable administrators to create collections of account members that are treated equally from an access control perspective. User Groups can be assigned permission policies, with individual members in the group inheriting all permissions granted to the User Group.
— Cloudflare, Cloudflare User Groups & SCIM User Groups are now in GA
Older SCIM Virtual Groups (CF-<accountID>-<Role Name>) mapped roles through the IdP but could not be renamed, deleted in the IdP, or managed in Cloudflare the way User Groups can.
SCIM Virtual Groups (identified by the pattern
CF-<accountID>-<Role Name>in your IdP) are now officially deprecated as of June 2, 2025. SCIM Virtual Groups end-of-life will take effect on December 2, 2025. We strongly recommend migrating to SCIM User Groups to ensure continued support for SCIM synchronization to the Cloudflare Dashboard.— Cloudflare, Cloudflare User Groups & SCIM User Groups are now in GA
Migration steps are outlined in SCIM v1 to v2 Migration: new SCIM integration, sync groups into the User Groups pane, attach policies, migrate members, then remove legacy Virtual Group mappings.
Dashboard SCIM lifecycle expectations
Section titled “Dashboard SCIM lifecycle expectations”| IdP action | Documented Cloudflare dashboard behavior |
|---|---|
| Assign user to SCIM application | User added as member with Minimal Account Access |
| Unassign from SCIM application | User removed from account |
| Add user to provisioned group | Role via group policies (user must also be on SCIM app) |
| Remove from role group only | Loses group permissions; can remain member with Minimal Account Access |
Removing a user from a SCIM group updates their group membership in Cloudflare but has no effect on their account membership. Account membership removal requires the identity provider to send active: false in a PATCH /Users or PUT /Users request.
— Cloudflare, SCIM provisioning — Expected behaviors
Enable SCIM in Cloudflare One: endpoint, secret, and behavior options
Section titled “Enable SCIM in Cloudflare One: endpoint, secret, and behavior options”Prerequisite: the IdP must support SCIM version 2.0 (generic SAML prerequisites).
- In the Cloudflare dashboard, go to Zero Trust → Integrations → Identity providers, open your IdP, and turn on Enable SCIM (generic OIDC setup).
- Optionally set Enable user deprovisioning, Remove user seat on deprovision, and SCIM identity update behavior (
Automatic identity updates,Group membership change reauthentication, orNo action). - Select Regenerate Secret, copy the SCIM Endpoint and SCIM Secret into the IdP SCIM app, then Save (secret does not auto-expire; regenerate manually if rotated).
- Configure the IdP SCIM application (separate app for Entra—see Microsoft Entra ID); assign users/groups and start provisioning.
- Confirm events in SCIM provisioning logs under Zero Trust → Insights → Logs → SCIM provisioning.
New users must first register the Cloudflare One Client or authenticate to an Access application before SCIM provisioning can begin.
— Cloudflare, SCIM provisioning logs
Provider-specific walkthroughs: Okta, JumpCloud (SAML), Entra ID. Dashboard IdP guides: Provision with Okta, Provision with Microsoft Entra, Provision with Authentik.
IdP-specific SCIM pitfalls: Okta, Entra ID, and Google Workspace
Section titled “IdP-specific SCIM pitfalls: Okta, Entra ID, and Google Workspace”Okta: Push Groups vs API token
Section titled “Okta: Push Groups vs API token”The Okta Groups selector in Access is filled by SCIM Push Groups, not the optional API token used when OIDC tokens hit the 100-group limit.
The Okta Groups selector in the Access policy builder is populated by groups provisioned through SCIM, not by the optional Okta API token.
— Cloudflare, Okta — Okta Groups selector is empty or missing groups
Okta commonly needs two applications: the OIDC (or SAML) SSO app plus a SCIM 2.0 Test App (Header Auth) for provisioning (Okta supported features).
Microsoft Entra ID: nested groups and attribute mapping
Section titled “Microsoft Entra ID: nested groups and attribute mapping”Access/Gateway policies can respect nested Entra groups in authentication context, but SCIM provisioning does not send nested membership.
For SCIM provisioning, nested groups are not supported. Microsoft Entra ID’s SCIM implementation does not send information about nested group memberships to Cloudflare. Only users who are direct members of an explicitly assigned group will be provisioned.
— Cloudflare, Microsoft Entra ID — SCIM provisioning
For dashboard sync, User Principal Name and mail must match Cloudflare One email expectations (Provision with Microsoft Entra).
Google Workspace: delayed group visibility in Access
Section titled “Google Workspace: delayed group visibility in Access”Google Workspace group membership changes do not immediately propagate to Cloudflare Access. … Google Workspace can take up to 24 hours to reflect group changes via the Admin SDK API. In addition, Cloudflare caches identity information for the duration of a user’s active session.
— Cloudflare, Google Workspace — Group membership not reflected in Access policies
To force refresh for one user: Zero Trust → Team & Resources → Users → Action → Revoke.
SCIM audit logs: Zero Trust request logs vs dashboard Audit Logs v2
Section titled “SCIM audit logs: Zero Trust request logs vs dashboard Audit Logs v2”Zero Trust SCIM provisioning logs record inbound IdP requests (create/update/delete) with filters for IdP, event type, and result.
Cloudflare Zero Trust SCIM provisioning now has a full audit log of all create, update and delete event from any SCIM Enabled IdP. The SCIM logs support filtering by IdP, Event type, Result and many more fields.
— Cloudflare, Cloudflare Zero Trust SCIM User and Group Provisioning Logs
Per-request fields include action (POST, PUT, PATCH, DELETE), resource type, outcome, and request body (SCIM provisioning logs — Log fields). User identity audit logs also track identity changes from SCIM or authentication events (Access changelog).
Dashboard SCIM operations additionally appear in Audit Logs v2 with action types such as Create/Replace/Update/Delete SCIM User and SCIM Group (SCIM audit logging Support).
Troubleshooting SCIM and Access authentication errors
Section titled “Troubleshooting SCIM and Access authentication errors”| Symptom | Likely cause per docs | Where to fix |
|---|---|---|
Failed to fetch user/group information from the identity provider |
Missing IdP API permissions for Cloudflare | Troubleshoot Access — review SSO guide for Okta or Entra |
Required attributes are missing (SAML) |
Email attribute not sent or typo in attribute name (groups vs gropus) |
Same troubleshooting page |
| Groups missing in Access builder | SCIM Push Groups not configured (Okta) or groups outside Entra provisioning scope | Okta, SCIM provisioning — Common provider-specific issues |
| User provisioned but no Zero Trust identity updates | User never logged into Access or registered Cloudflare One Client | SCIM provisioning logs |
| Email domain change rejected | Dashboard SCIM does not support updating email domains via PATCH/PUT | SCIM troubleshooting |
Dashboard limits worth remembering: the sole Super Administrator on an Enterprise account is not deprovisioned; misconfigured groups can remove all Super Administrators; SCIM group names cannot use the reserved CF prefix (SCIM provisioning — Limitations). SCIM-managed User Groups cannot be renamed or deleted manually in Cloudflare (User Groups — Create a User Group with SCIM).
How to check this on your site
Section titled “How to check this on your site”- Confirm which integration you use—Zero Trust IdP SCIM (overview) or dashboard User Groups SCIM (setup)—and that the IdP SCIM app assignments match your policy intent.
- In the Cloudflare dashboard, open Zero Trust → Insights → Logs → SCIM provisioning and filter failed events; cross-check the same timestamp in your IdP provisioning logs (SCIM provisioning logs).
- For a specific user, inspect the User Registry identity and group memberships, then trigger reauthentication or Revoke if Access should reflect a group change (Google Workspace guidance applies to session caching generally).
- For dashboard groups, verify synchronized groups under Manage Account → Members → User Groups and review Manage Account → Audit Log after a test group change (Provision with Authentik — Verify).
- You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact passage you are asking about so it can be corrected quickly.