Set up a SCIM Provisioning App in Microsoft Entra ID
Last modified on January 16, 2024
User provisioning provides you with the ability to continue to manage your organization’s users in one place, and have those users populate into StrongDM. Provisioning prevents the need to create a duplicate set of users in StrongDM that already exist in your identity management service. When provisioning users, the users are set up in the external service and are then synced to StrongDM. The provisioned users are not able to be individually edited within StrongDM. Changes to provisioned users are made at the source and are synced to StrongDM afterward. These users in StrongDM are given access to resources in the same manner as native users: by assigning them to roles that contain the desired access permissions.
This guide will show you how to set up a Microsoft Entra ID (formerly Azure AD) enterprise app with System for Cross-domain Identity Management (SCIM) provisioning. When done, you will have enabled an enterprise app with provisioning to securely automate and manage user identity information, such as user account creation, updates, and deactivation, between Microsoft Entra ID (formerly Azure AD) and StrongDM.
Before you begin, ensure that you have the appropriate roles:
- In Microsoft Entra ID (formerly Azure AD), you must be assigned one of the following roles: Application Administrator, Cloud Application Administrator, or Global Administrator.
- In StrongDM, you must be an Account Administrator.
Microsoft Entra ID SCIM Application Setup Guide
Create an enterprise application
- Log in to the Azure portal.
- Go to Manage > Enterprise Applications in the left pane, and click + New application to create a new enterprise application.
- Click + Create your own application.
- Enter a descriptive name for your app, and then select Integrate any other application you don’t find in the gallery (Non-gallery) because you’ll be creating your own application instead of using a published gallery app.
Set up provisioning
Go to the app’s Provisioning section.
Click Get Started.
In the provisioning properties, set the following:
Provisioning Mode: Set to Automatic.
Tenant URL: Set
Secret Token: Get the StrongDM SCIM token by following these steps:
- Go to the StrongDM Admin UI’s Settings > User Management > Provisioning section.
- Set the SCIM Provider option to Azure.
- Click Activate SCIM and then copy and save the token generated. The token displays one time only.
- Go back to your Azure console and fill the Secret Token field with the token you copied.
In this step, you are using the HTTP Header authentication method and providing a bearer token to access your SCIM implementation.
Click Test Connection to test whether the new app can connect to your SCIM API. If there are errors, make sure your tenant URL and secret token are correct and try again.
You also need to decide how you want your user information to sync with StrongDM. Under Provisioning > Settings > Scope are the choices Sync all users and groups and Sync only assigned users and groups.
Sync all users and groups syncs your entire Active Directory with StrongDM, and no users or groups need to be configured within this app.
Sync only assigned users and groups is the default behavior, and requires you to create the relevant groups under Users and Groups within this app. With this option selected, only the entities that are listed in Users and Groups are synced.If you are using both SSO and SCIM, and separate Entra apps for each, you only have to create groups in the SCIM app.
Customize user provisioning attribute mappings
- Go back to the app’s Provisioning blade, and expand Mappings to view and edit the User attributes that flow between Microsoft Entra ID (formerly Azure AD) and the target application.
- Edit the User Mappings one by one by deleting all attributes except for the following:
- Edit the Group Mappings in the same way by deleting all attributes except for the following:
- Set Provisioning Status to On.
Manual SCIM provisioning setup is now complete.
Information About User Management in StrongDM
In addition to managing Users and Roles through Microsoft Entra ID (formerly Azure AD), you have the flexibility to continue managing your Users and Roles directly through StrongDM.
Here’s what you can do:
- Manually create Users, Service Accounts, and Roles within StrongDM—these will be identified with the sdm badge in the Admin UI indicating that they are “StrongDM Managed.”
- Attach StrongDM-managed Users and Service Accounts to Roles managed by both StrongDM and Microsoft Entra ID (formerly Azure AD) from within StrongDM.
- Attach Users managed by Microsoft Entra ID (formerly Azure AD) to StrongDM-managed Roles from within StrongDM.
- Set Permission Levels for Users within the Admin UI for users managed by both StrongDM and Microsoft Entra ID (formerly Azure AD).
- Grant access through Roles and Temporary Access for Users from within StrongDM.
Caveats and limitations
Due to the nature of how Microsoft Entra ID (formerly Azure AD) integrates through SCIM 2.0, there are a few limitations to be aware of.
If a User is deleted in Microsoft Entra ID (formerly Azure AD), the following will happen:
- The User will be suspended in StrongDM.
- The User will be unassigned from all Roles.
If that same User is restored in Microsoft Entra ID (formerly Azure AD), the following will happen:
- The User’s status will change from “suspended” to “active” within StrongDM.
- The User will be assigned to any Roles that are assigned to them in Microsoft Entra ID (formerly Azure AD).
- The User’s Permission Level will be restored to “User.”
Options to avoid
Azure AD does not support syncing Users contained within a nested group. The result of doing so will be that the group will sync into a Role within StrongDM but any Users in the Microsoft Entra ID (formerly Azure AD) nested group will not be created in StrongDM.