SCIM Provisioning with Azure AD
This article describes how to provision users with an Azure Active Directory (AAD) custom System for Cross-domain Identity Management (SCIM), an open standard that allows for automated user provisioning.
Before you begin, you must configure an Azure as an Identity Provider.
Step 1: Generating an Endpoint and SCIM Token
To synchronize users and groups provisioned for the Axis Security application, Azure requires two pieces of information:
- An Endpoint to which AAD makes requests.
- A Bearer token for AAD to authenticate its endpoint requests.
To Generate an Endpoint and a SCIM Bearer Token:
- In the Management Console, go to the Settings-> Identity Providers screen.
- Hover over theAzure Identity Provider and select edit.
- Navigate to Advanced Settings.
- Go to User Auto-Provisioning (SCIM).
- Click Generate new token.
- Copy the SCIM Service Provider Endpoint and SCIM Provisioning Token and paste them into a text editor. You will need them for Step 3: Configuring the Integration.
Step 2: Creating an Azure Application
To create an Azure Application:
- Log in to the Azure Active Directory Admin Center Dashboard.
- Select Enterprise applications from the list of Azure services.
- Select New Application
- Select Create your own application.
5. In the What’s the name of your app? field, enter the name of your application.
- Select Integrate any other application you don't find in the gallery (Non-gallery)
- Click Create.
Step 3: Configuring the Integration
- In Azure, go to the navigation menu.
- In the Manage section, select Provisioning.
- Click the Get Started button.
- Under Provisioning Mode, select Automatic.
- Under Admin Credentials enter the Tenant URL and Secret Token obtained from the Axis SCIM configuration (step 1):
- Paste the SCIM Service Provider Endpoint in the Tenant URL field.
- Paste the SCIM Provisioning Token in the Secret Token field.
- Click Test Connection to confirm that the connection is set up correctly.
- Click Save.
Step 4: Setting and Enabling Attribute Mappings
To set and enable attribute mappings in Azure:
- Expand the Mappings section.
- In the Attribute Mappings section, enable group and user attribute mappings.
Note: Make sure the user mapping only maps the attributes below, otherwise you will not be able to complete the provisioning.
Disable Nested Groups Provisioning
- Go to Your application-> Provisioning-> Edit Provisioning.
- Go to Groups Mapping-> Provision Azure Active Directory Groups.
- Select Show advanced options and Edit attribute list for customappsso.
- In Members-> Reference deselect the Group scheme as seen below to prevent the provision of nested groups.
- Click Save.
Step 5: Assigning users and groups to the application
To sync users and groups, you must assign them to the AAD SCIM application.
To assign users and groups to the AAD SCIM application:
- Go to Manage in the navigation menu.
- Select Users and groups.
- Select Add user/group
- Under Users and Groups, select None selected.
- In the Users and Groups window, select the users and groups you want to add to the SCIM application.
- Click Select.
- Select Assign at the bottom of the screen.
- In the Users and groups area, add the selected users and groups to the SCIM Application.
Step 6: Enabling provisioning for the SCIM application
- Set Scope to Sync only assigned users and groups
- Set Provisioning Status to On.
Revoking the Auto-Provisioning Token
To revoke an Auto-Provisioning token:
- Go to Settings -> Identity Providers
- Hover over the relevant Azure AD IdP and click Edit .
The Edit Azure Active Directory IdP window appears.
- Navigate to the Advanced settings section.
- In the User Auto-Provisioning (SCIM) section, click Revoke Auto-Provisioning Token.
Updated 4 months ago