SCIM provisioning
SCIM provisioning synchronizes users and groups from your identity provider to StackAI. Configure the connection and role mappings, then verify the records created by the provider.
Before you start
Ask your identity administrator to own directory assignments and synchronization. The team manager should agree the default role, activation behavior, and user/group scope. Start with a small approved pilot and inspect actual records before assigning the wider organization. Complete SSO setup first.
Before enabling provisioning:
Configure SSO for the StackAI organization. SCIM cannot be enabled without an SSO configuration.
Obtain permission to manage provisioning in StackAI and in your identity provider.
Select the identity provider and a default organization role in SCIM settings. Both are required to enable SCIM.
Decide whether new users should activate automatically and whether groups should synchronize.
For provider-specific steps, use Okta or Microsoft Entra ID.
Review provisioning settings
Open SCIM Provisioning and review its prerequisites and defaults.

Check the identity provider, default role, automatic activation, and group synchronization options.
Create a token and enable SCIM
Create a dedicated provisioning token with a descriptive name and suitable expiration.

Store the issued credential securely for the identity-provider configuration.
Read the Enable SCIM confirmation before enabling provisioning.

SCIM can create members and manage their roles and active status from the identity provider. Existing members can become directory-managed when the provider provisions them. Review the provider assignments before starting synchronization.
Confirm SCIM Enabled and inspect the provisioning endpoint and token entry.

Use the endpoint generated for this deployment in the identity provider.
Map roles
Select Add Mapping and pair the incoming IdP Role Value with the required Organization Role.

Check the saved mapping before provisioning users. When an incoming role has no matching mapping, StackAI uses the default SCIM role. Role-value matching ignores case and surrounding whitespace.
Verify provisioned users and groups
Open Members and inspect directory-managed accounts and roles.

Compare their assignments with the role mappings and default role.
Open Groups and check the synchronized groups and membership.

Successful provider connectivity alone does not confirm that the intended records were provisioned.
Important behavior
A successful connection does not confirm that all intended users and groups have been provisioned. Inspect the resulting records and roles.
Keep the provisioning token private and store it securely. Its full value is shown when it is created.
Activation: automatic activation controls new users. An inactive status sent by the provider creates an inactive membership; later provisioning updates can change active status.
Deactivation: deleting a provisioned user through SCIM deactivates the membership rather than deleting the person's account.
Groups: group provisioning requires group synchronization to be enabled as well as SCIM.
Disabling SCIM: provisioning tokens are revoked and SCIM-managed memberships return to local management. The disable option can also lock those memberships by making them inactive. Review the selected option before confirming.
Last updated
Was this helpful?

