Skip to main content

SCIM

The SCIM 2.0 integration lets your identity provider (IdP) create, update, and deactivate Massdriver users and groups in your organization.

Prerequisites​

  • An IdP that supports SCIM 2.0, such as Okta, Microsoft Entra ID, OneLogin, or JumpCloud
  • The organization:manageIntegrations action

Setup​

Step 1: Create the SCIM integration​

  1. Open Organization settings → Integrations.
  2. Click Integrate on SCIM.
  3. Leave Authentication Type set to token, then click Add Integration.

Massdriver shows the SCIM base URL (/scim/v2/orgs/<organization-uuid> on your Massdriver API host) and a bearer token. The token is shown once. To issue a new token, disable and re-enable the integration.

Step 2: Configure your identity provider​

Enter the values in your IdP's SCIM provisioning settings:

IdP fieldValue
SCIM base URL / tenant URLThe SCIM base URL from step 1
Bearer token / secret tokenThe bearer token from step 1

Vendor instructions:

Step 3: Test the connection​

Use your IdP's Test Connection button to confirm it can reach the endpoint and authenticate.

Controlling which users are provisioned​

Each IdP has its own way to limit which users it provisions.

Microsoft Entra ID: scoping filters​

Scoping filters provision only users whose attributes match, for example department equals Engineering, or userPrincipalName matches a domain. Configure them under Provisioning > Mappings in the enterprise application. Clauses within a filter are ANDed. Filters are ORed: a user who matches any filter is provisioned.

For instructions, see Scoping users or groups with scoping filters.

Okta: user and group assignments​

Okta provisions only users and groups assigned to the Massdriver application on its Assignments tab. Members of an assigned group are provisioned when they join it and deprovisioned when they leave it.

For details, see SCIM app integrations.

OneLogin: roles and provisioning rules​

OneLogin provisions users assigned to the Massdriver application directly or through a role. Rules on the application's Rules tab filter users by attribute, such as department or role name, and map them to groups.

For details, see Introduction to User Provisioning.

JumpCloud: user group assignments​

JumpCloud provisions members of the user groups selected on the Massdriver application's User Groups tab. Users added to or removed from those groups are provisioned or deprovisioned.

For details, see Get Started: SCIM Identity Management.

Supported operations​

Users

  • Create: adds the user to the organization. An existing Massdriver account with the same identity is reused. The user is not added to any group.
  • Update: changes the user's attributes and active state.
  • Deactivate (active: false): releases the user's seat. See Seats.
  • Delete: removes the user's seat, provisioning record, and group memberships in the organization. The account itself is kept.

Groups

  • SCIM groups become Massdriver groups. Your IdP can create, update, rename, and delete them and change their members.
  • The built-in organization admin group is not exposed over SCIM.

Group membership is what gives a provisioned user access. Grant each group the access it needs in Massdriver.

Massdriver never refuses a SCIM request because the organization has no free seats.

Seats​

Each user who has access to your organization holds a seat. billing.seatsUsed on the API is the number of seats in use, and holdsSeat on each member shows who holds one.

Users your identity provider provisions​

For a user your IdP provisions, the SCIM active value decides the seat. Group membership does not.

  • A user your IdP marks active wants a seat. If you set a seat rule, the user must also match it.
  • A user who wants a seat gets one if the organization has a free seat. If every seat is in use, the user waits. When a seat becomes free, or when you add seats to your plan, the user who has waited longest gets it. Organization owners get one email each day while users wait.
  • active: false releases the user's seat. Their group memberships stay, so when your IdP sets active: true again, they get their groups back with their seat.
  • A DELETE removes the user's seat, provisioning record, and group memberships in that organization. The account itself is retained.
  • If your IdP does not send active when it creates a user, the user starts active.

Groups decide what a user can do. A user who holds a seat but is in no group has no access, and still uses a seat.

Members you add in Massdriver​

  • An invitation does not hold a seat. The invited person gets a seat when they accept, if the organization has a free seat. If it does not, the accept fails with a message to contact the organization owner, and the invitation stays so they can accept it later.
  • Single sign-on autojoin also needs a free seat.
  • A member who leaves their last group releases their seat. Deleting a group releases the seats of members it leaves in no group.

The organization owner always holds a seat.

Seat rule​

Some identity providers mark licensed users with an attribute instead of active. For example, an Entra app role named Licensed with the value licensed. A seat rule tells Massdriver to give a seat only to active users whose attribute has that value.

Set the rule with two optional fields in the SCIM integration's config:

FieldDescription
seat_attributeA top-level SCIM user attribute, for example roles. Sub-attributes such as name.givenName and extension attributes are not supported.
seat_valueThe value the attribute must have, for example licensed.

Set both fields, or neither. Matching ignores case and reads values only, never display names:

  • For a multi-valued attribute such as roles, a user matches when any entry's value matches. Entra sends each app role as a JSON string inside value; Massdriver reads the value inside it.
  • For a boolean attribute, true and false match their string forms, such as "True".
  • For any other string attribute, the strings must be equal.

To set or change the rule on an existing integration, use the updateIntegration mutation:

graphql
mutation {
updateIntegration(
organizationId: "your-org"
id: "scim"
input: { config: "{\"seat_attribute\": \"roles\", \"seat_value\": \"licensed\"}" }
) {
successful
messages { field message }
}
}

The rule applies to every provisioned user immediately. Users who no longer match release their seats, and users who now match get a seat or wait for one. Set config to "{}" to remove the rule.

Massdriver stores the attributes your IdP sends for each user, so the rule works for users provisioned before you set it. Users whose attributes Massdriver has not stored yet do not match. Before you set a rule, restart provisioning in your IdP so it sends every user's attributes again, and wait for the cycle to complete.

Example: Entra app roles​

  1. In your Entra enterprise app, open Provisioning > Mappings > Provision Microsoft Entra ID Users. Add a mapping from AppRoleAssignmentsComplex([appRoleAssignments]) to roles.
  2. Create an app role with the value licensed, and assign it to the users or groups that must hold a seat.
  3. Open Provisioning and click Restart provisioning. Wait for the cycle to complete.
  4. Set seat_attribute to roles and seat_value to licensed with updateIntegration.

Removing the app role from a user, or unassigning them from the app, releases their seat.

What sets active in your identity provider​

Okta​

Okta uses a soft-delete model: rather than sending DELETE, it sends a PATCH that sets active to false.

json
{
"schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
"Operations": [{ "op": "replace", "value": { "active": false } }]
}

Deactivation is triggered when you:

  • Unassign the user from the Massdriver application on the Assignments tab
  • Remove the user from a group that is assigned to the application
  • Deactivate or deprovision the user in Okta

Reassigning or reactivating the user sends the same PATCH with active set to true.

See Okta and SCIM Version 2.0.

Microsoft Entra ID​

Entra sends a disable as an update setting active to false. Four events trigger it:

  • The user is unassigned from the application
  • The user goes out of scope, meaning they no longer pass a scoping filter
  • The user is soft-deleted in Entra, which includes being blocked from sign-in
  • The user is permanently deleted from Entra

Disabling on out-of-scope is the default and can be turned off with skip out-of-scope deletions. If IsSoftDeleted appears in your attribute mappings, it is the attribute Entra uses to decide whether to send active = false.

Thirty days after a user is soft-deleted, Entra permanently deletes them and sends a DELETE request.

Note that Entra cannot provision a user who is disabled in the directory. The user must be active in Entra before they can be provisioned to Massdriver.

See Deprovisioning in Microsoft Entra ID.

OneLogin and JumpCloud​

Both follow the same model: removing the user from the Massdriver application, or from an assigned role or user group, deprovisions them and releases the seat. Consult the vendor links in Setup for the exact behavior of your configuration.

Troubleshooting​

Test connection fails​

  • Verify the SCIM base URL in your IdP.
  • Confirm the bearer token was not truncated. If it was lost, disable and re-enable the integration to issue a new one.
  • Check that your IdP can reach the endpoint through any firewall.

Users are not provisioned​

  • Confirm the users or groups are assigned to the Massdriver application in your IdP.
  • Check your IdP's provisioning logs.
  • Confirm SCIM provisioning is turned on in the IdP, not only SSO.

Users are provisioned but have no access​

  • Users get access only through groups. Confirm your IdP pushes groups, and that those groups have grants in Massdriver.
  • Check that the user holds a seat (holdsSeat). See Seats.

Too many users are provisioned​

Review your IdP's scoping. In Entra ID, add a scoping filter. In Okta, OneLogin, and JumpCloud, assign only the intended users or groups to the application.