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.
⚠️ An important piece of background: 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:
- Enable SCIM Provisioning
- Configure the SCIM integration
- Import users and groups from Persona.
- Provision Users & Groups
Availability
SCIM is available on Growth and Enterprise plans.
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.
Creating an API Key
- Navigate to your Persona Dashboard > API.
- Create a new API key via + Create API key.
- 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.
- 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.
⚠️ This is important! 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 this permission is enabled.
Enabling SCIM Provisioning
- Log in to your Entra Admin Dashboard and navigate to the application you have pervious set up for the Persona SAML integration. For the purpose of this guide, we’ll refer to it as, Persona Application.
- Once you’ve selected the Persona Application, go to the Provisioning tab, or step Provision User Accounts
Configuring the SCIM Integration
- Click on Connect your application
- For Tenant URL, enter
https://withpersona.com/scim/v2. - For Secret Token, fetch the
Persona SCIM API Keycreated in the prerequisite step and paste in the value. - Click Test Connection to ensure the connection is successful.
- Confirmed that you see a successful ✅ Provisioning test connection. You can close this steps 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
- Navigate to Groups > Overview.
- Click on New group.
- Navigate to Users and groups section.
- Click on Add user/group, and add all the Persona Roles as Groups in Entra.
- Once the Groups are created, add the desired Users into the respective Entra Groups.
⚠️ Make sure that Entra Groups name matches exactly to the name in Persona Roles.
Remap Application with Groups instead of Users
- Navigate to back to the application in Enabling SCIM Provisioning section
- Click on Assign Users and Groups tile, or navigate to the Users and Groups Section
- Click on Add user/group, and add the Groups that match the Persona roles
- Go back to Overview (Preview), click on ▷ Start Provisioning
- Wait until provision is finished and you are done!
⚠️ You can always check the Provisioning logs for result and logs.