SCIM provisioning
With SCIM, your identity provider manages who has an AuditGraph account. People you assign are created, changes are applied, and people you remove or deactivate lose access straight away.
- Who
- An Admin, under Administration › Authentication › SCIM
- Plans
- Professional, Enterprise
- Access granted
- One bearer token per organization
- Standard
- SCIM 2.0 (RFC 7643 and RFC 7644): Users and Groups
- Works with
- Microsoft Entra ID provisioning, Okta, and any SCIM 2.0 client
How it works
Section titled “How it works”- Users. A user’s
userNameis their email. A user created by SCIM is invited until their first single sign-on, which binds their identity. - Deactivation. Setting
activetofalsedeactivates the user and ends all of their sessions at once. Deleting the user removes the member. - Groups. SCIM groups can be mapped to AuditGraph roles under Group to role mappings. See Single sign-on.
- Audit trail. Every SCIM change appears in the audit trail with the actor SCIM provisioning.
-
Generate a token.
In AuditGraph, go to Administration › Authentication › SCIM › Generate token. Choose a lifetime: the default is 365 days, and the maximum is 730. The token is shown once. Copy it.
-
Copy the base URL.
Copy the SCIM base URL (Tenant URL) shown on the same page.
-
Create a SCIM provisioning app in your identity provider.
- Microsoft Entra ID: Enterprise applications › your AuditGraph app › Provisioning › Automatic. Paste the base URL as the Tenant URL and the token as the Secret Token.
- Okta: add SCIM provisioning to the AuditGraph app. Use the base URL as the connector base URL, and choose HTTP header authentication with the token.
-
Map attributes and assign people.
Map
userNameto the user’s email, and assign the users and groups who should have access. -
Make sure those people can sign in.
They sign in through Microsoft Entra ID or your single sign-on provider.
Test the connection
Section titled “Test the connection”| Check | Where | Expected result |
|---|---|---|
| Connection | Your IdP’s Test connection (Entra) or the app’s API check (Okta) | Success. |
| Provision one user | Assign a test user in your IdP, and run provisioning on demand | The user appears in Administration › Users & Access as invited. Provisioned users goes up. |
| Group | Assign a group with a role mapping | Provisioned groups goes up, and the mapped role applies at the user’s next sign-in. |
| Deprovision | Unassign the test user | The user is deactivated, and their open sessions end. |
Rotate or revoke the token
Section titled “Rotate or revoke the token”- Rotate. Select Rotate token before the token expires, and paste the new token into your identity provider.
- Revoke. Revoke the token to stop provisioning at once.
Requests with an old or revoked token are refused.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Cause | Fix |
|---|---|---|
| 401 from AuditGraph | The token expired, was rotated, or was pasted incompletely. | Generate a new token, and update the IdP. |
| SCIM is not available on this deployment yet | SCIM tokens cannot be issued in your environment at the moment. | Contact support@auditgraph.ai. |
| User provisioned but cannot sign in | Their sign-in method is not set up. | Make sure their email domain signs in with Microsoft Entra ID or a routed SSO provider. |
| 429 responses | The client sent more than 600 requests per minute. | Your IdP retries automatically. Reduce the sync frequency if it persists. |