Skip to content
Go to Dashboard

Setting up Microsoft Entra SCIM

Overview

SCIM (System for Cross-domain Identity Management) is a standard for managing user and group provisioning in an Identity Provider (IdP), ensuring that updates to users and groups are reflected in any relying parties, such as Persona. Persona supports some SCIM functionality for customers using Entra as their IdP.

Groups in SCIM refer to roles in Persona. To implement SCIM, SSO will need to be established.

High-Level Steps to Enable SCIM Provisioning for a Persona Organization:

  1. Enable SCIM Provisioning
  2. Configure the SCIM integration
  3. Import users and groups into Persona
  4. Provision Users & Groups

Prerequisite

SCIM is a highly sensitive feature, and API keys do not have SCIM permissions enabled by default. Persona recommends creating a dedicated API key (distinct from the one used for general calls to persona-web) for SCIM purposes. SCIM is available on production environments only, so a sandbox API key cannot authenticate SCIM requests.

Creating an API Key

  1. Navigate to your Persona Dashboard > API.
  2. Create a new API key via + Create API key.
  3. Once you’ve provided a name and description of the new API Key, you’ll be dropped in the configuration of the newly created API key.
  4. Select the Permissions tab, expand the API drop-down, and check the checkbox for Use API Key for SCIM. Click on Save, and keep this in mind as we’ll need the API key for SCIM integration.
Warning

API keys do not have the SCIM permission set up by default. If you’re seeing ApplicationController::Unauthorized when setting up SCIM, double check that the Use API Key for SCIM permission is enabled on a production API key.

Enabling SCIM Provisioning

  1. Log in to your Microsoft Entra admin center and navigate to the application you have previously set up for the Persona SAML integration. For the purpose of this guide, we’ll refer to it as the Persona Application.
  2. Once you’ve selected the Persona Application, go to the Provisioning tab.

Configuring the SCIM Integration

  1. Click on Connect your application
  2. For Tenant URL, enter https://withpersona.com/scim/v2.
  3. For Secret Token, fetch the Persona SCIM API Key created in the prerequisite step and paste in the value.
  4. Click Test Connection to ensure the connection is successful.
  5. Confirm that you see a successful ✅ Provisioning test connection. You can close this step now.

Provisioning Users & Groups

Once the SCIM configuration is connected, we need to map the Users and groups. High-level steps are:

  • Create Persona Roles in Entra Groups
  • Remap Application with Groups

Create Persona Roles in Entra Groups

  1. Navigate to Groups > Overview.
  2. Click on New group.
  3. Navigate to Users and groups section.
  4. Click on Add user/group, and create one Group in Entra per Persona Role, named exactly as the role is named in Persona.
  5. Once the Groups are created, add the desired Users into the respective Entra Groups.
Caution

Make sure that each Entra Group name matches the Persona Role name exactly.

Remap Application with Groups instead of Users

  1. Navigate back to the application in the Enabling SCIM Provisioning section.
  2. Click on Assign Users and Groups tile, or navigate to the Users and Groups Section
  3. Click on Add user/group, and add the Groups that match the Persona roles
  4. Go back to Overview (Preview), click on ▷ Start Provisioning
  5. Wait until provision is finished and you are done!
Tip

You can always check the Provisioning logs for results.

Plans Explained

SCIM with Microsoft Entra by plan

Startup ProgramEssential PlanGrowth PlanEnterprise Plan
SCIM with Microsoft EntraNot AvailableNot AvailableNot AvailableAvailable

Learn more about pricing and plans.

Was this article helpful?
Thanks for the feedback. It helps us improve these docs.