docs-mintlify/admin/sso/microsoft-entra-id/scim.mdx
With SCIM (System for Cross-domain Identity Management) enabled, you can automate user provisioning in Cube and keep user groups synchronized with Microsoft Entra ID (formerly Azure Active Directory).
<Note>Available on Enterprise plan.
</Note>Before proceeding, ensure you have the following:
Before configuring SCIM in Microsoft Entra, you need to enable SCIM provisioning in Cube:
To allow Entra ID to communicate with Cube via SCIM, you'll need to create a dedicated API key:
This section assumes you already have a Cube Enterprise Application in Microsoft Entra. If you haven't created one yet, follow the SAML setup guide first.
/api/scim/v2
appended. For example: https://your-deployment.cubecloud.dev/api/scim/v2Next, configure which user and group attributes are synchronized with Cube:
userName, displayName and active.displayName and members.Users provisioned via SCIM receive the Viewer role by default. To choose a different default role (including custom roles), see Default role for new users on the SAML setup page — the setting is shared between SAML and SCIM.
Admin permissions cannot be assigned through this setting. To grant admin permissions, update the user's role manually in Cube under Admin → Users.
</Info>If you have configured Map roles by group
on the SAML setup page, the same groupsRolesMap is applied whenever
SCIM provisions group memberships from Entra:
displayName attribute in the Group mapping), not the group
object ID. Make sure the IdP group name entries in Cube match
exactly (case-insensitive) what Entra sends.No separate configuration is required on the SCIM side — once the mapping is defined on the SAML page, it drives both SAML SSO login and SCIM group sync.
You can sync user attributes from Microsoft Entra to Cube via SCIM, allowing you to centralize user management in Entra.
In Cube, navigate to Admin → Settings → User Attributes and create a new attribute. Take note of the attribute reference name — you will need it when configuring Entra.
urn:cube:params:1.0:UserAttribute:.
For example, for an attribute with the reference country, enter
urn:cube:params:1.0:UserAttribute:country.string or integer).The next time the Entra application syncs, the attribute values will be provisioned as user attributes in Cube.