User provisioning with Microsoft Entra ID (Azure AD) and SCIM
Learn how to set up user provisioning with Microsoft Entra ID and SCIM to automate user management and sync with custom user fields in Mitti.
How does user provisioning with Microsoft Entra ID and SCIM work?
Integrating Microsoft Entra ID (previously Azure AD) with Mitti via System for Cross-domain Identity Management (SCIM) provisioning automates user management, ensuring accurate and efficient user synchronization. It uses the SCIM protocol to automatically provision and update Mitti users based on identity data from Microsoft Entra ID.
This integration helps administrators by:
- Reducing manual account updates.
- Maintaining consistency across platforms.
- Streamlining access control.
For example, when your organization hires a new employee, SCIM automatically creates their Mitti account with predefined fields like job role, department, or location. By leveraging this integration, administrators can improve onboarding, minimize errors, and enforce standardized user access.
Mitti only supports one-way syncing from Microsoft Entra ID by importing users. Data in Mitti cannot be sent back to Microsoft Entra ID.
Seat availability and billing
When your seat limit is reached during provisioning, Mitti either purchases additional seats automatically or fails to provision the user, depending on whether automatic seat purchasing is turned on for your organization.
If it's on, users are provisioned with the correct seat type, your billing admin receives a summary email, and your next invoice includes a prorated charge. However, when it is off, provisioning fails for any user beyond your seat limit until you purchase more seats or turn the setting back on. Confirm this setting with your billing admin before relying on provisioning to add users at scale.
Monitor your seat allocation in the Mitti web app, and contact your customer success manager with any questions.
Requirements
- Microsoft Entra ID (Azure AD) account
- Mitti Enterprise Plan
- Web app
- "Platform management: Organization" permission
- Service user API token
- User fields
During setup, administrators will need to switch between Mitti and Microsoft Entra ID to configure provisioning settings, map attributes, and enable synchronization.
1. Create an application
- Log in to Microsoft Azure Portal.
- Click Enterprise applications.
- Click New application.
- Click Create your own application.
- On the side panel, enter the application name.
- Select Integrate any other application you donβt find in the gallery (Non-gallery).
- Click Create. Once created, the application will serve as the bridge between Microsoft Entra ID and Mitti.
2. Configure user provisioning to Mitti
- In Microsoft Entra ID, click Manage, and then select Provisioning from the menu on the left-hand side.
- Under Provisioning Mode, click the dropdown menu, and select Automatic.
- Under Admin Credentials, enter the following details:
- Tenant URL: Enter the SCIM endpoint, which allows Microsoft Entra ID to communicate with Mitti for user provisioning. For example,
https://api.mitti.com/accounts/scim/v2. - Secret Token: Generate a service user API token via the Mitti web app, and enter the token in this field. The service user must have ""Platform management: Organization" permission, "Platform management: Permissions" permission, "Platform management: Users" permission, and "Platform management: Groups" permission.
- Click Test Connection and verify that the connection is successful.
- Click Save at the top of the page. After saving, Mappings appears below Admin Credentials.
3. Configure attribute mappings
- Under Mappings, click Provision Azure Active Directory Users.
- Delete attributes that are not needed.
- Click Save at the top of the page.
- Select Show advanced options at the bottom of the page.
- Click Edit attribute list for customappsso.
- Delete attributes that are not needed. If you've already mapped attributes to Mitti, any changes made on this page will automatically update those mappings.
- Click Save at the top of the page.
4. Map custom user fields
Before mapping custom fields, create your user fields in Mitti. Otherwise, these will not be synced. SCIM can only populate fields that already exists. You can map any of the supported data types (
text,date,user, andmultiple choice).
- In the Mitti web app, copy the user field ID.
- In the Microsoft Azure Portal, add a new attribute in Edit attribute list for customappsso.
- Use the Mitti user field ID as the attribute name. The format must be
urn:ietf:params:scim:schemas:extension:mitti_attributes:2.0:User:{custom field id}. - The type must be
String. - For date fields, use the RFC3339 format. For example,
1996-12-19T16:39:57-08:00or1985-04-12T23:20:50.52Z. - For multiple choice fields, the value must be the string value of any of the predefined options.
- Click Save on the upper-left of the page.
- In the pop-up window, click Yes.
- At the bottom of the page, click Add New Mapping.
- Edit the following attribute details:
- Mapping type: This field determines how values are assigned to the target attribute. Select Direct to map the attribute directly from Entra ID to Mitti, or Constant to assign a fixed value.
- Constant value: The specific fixed value assigned for attributes with a constant mapping type.
- Target attribute: Select the attribute name of the field in the dropdown menu, ensuring it corresponds to the correct field in Mitti.
- Click Ok.
- Click Save on the upper-left of the page.
- In the pop-up window, click Yes.
5. Turn provisioning on
- Click your Enterprise application for Mitti.
- Click Overview from the menu on the left-hand side.
- Click Provision on demand.
- Select a user you want to provision.
- Click Provision at the bottom of the page. After verification, the attributes for the selected user appears on the side panel.
- In the Mitti web app, click your organization name on the lower-left corner of the page and select Users.
- The newly provisioned user will appear in the user list.
- Click the user to verify that the fields you mapped are added.
Turn the Provisioning Status on in Microsoft Entra ID to enable automatic provisioning, which periodically syncs all users. To learn more about user provisioning with Microsoft Entra ID and SCIM, refer to their guide for details.
Best practices
Custom attributes and field mapping
- Before mapping custom fields, ensure they are created in Mitti. Otherwise, these will not be synced.
- Use the correct SCIM attribute format to avoid sync failures.
Testing and monitoring
- Always test the provisioning connection before enabling auto-sync.
- Use the Provision on-demand feature for a single user test.
- Check Microsoft Entra ID logs and Mitti user profiles to confirm that the data syncs correctly.
Troubleshooting
| Problem | Solution |
|---|---|
| Test connection failure | Ensure the tenant URL and secret token are entered correctly. |
| User cannot be provisioned | Check attribute mappings and verify that the user already exists. |
| Custom fields are not syncing | Confirm that the fields exist in Mitti before mapping. |
| A user was not provisioned. | Contact our customer support team or your customer success manager for assistance. |
Relevant articles
Updated 26 days ago