Azure Active Directory SCIM Configuration

Azure Active Directory SCIM Configuration

Roles: Primary Admins

Here are the steps that you need to follow: 

1. Login to the Azure Portal - Microsoft Entra admin center as at least an Application Administrator.


2. Select Enterprise Applications


3. Select + New application > + Create your own application. Enter a name for your application, choose the option "integrate any other application you don't find in the gallery" and select Create to create an app object.




4. Set up Single Sign On: Refer to the Azure Active directory SSO configuration  help article and complete the SSO configuration for your enterprise application.



Note: We can also set up SCIM provisioning steps as below for existing SSO-configured apps or create new ones, as outlined in steps 3 and 4.

5. SCIM provisioning steps in Auzmor Learn

Auzmor Learn: Login as Primary Admin -> Settings -> Single Sign-on -> Configure Microsoft Active Directory -> Set/Update the SSO metadata XML -> Select the SCIM tab -> Enable SCIM and click the CTA Generate Key -> Click Update and save the changes




6. SCIM Provisioning Steps in Azure

  1. In the app management screen, select Provisioning in the left panel -> Get Started

  2. In the Provisioning Mode menu, select Automatic.

  3. Under Admin Credentials, Enter the Tenant URL and Secret Token with the values in the Auzmor Learn -> Settings -> Single Sign On -> Microsoft Active Directory -> SCIM

 

  1. Click Test Connection and ensure connection is accomplished successfully.


  1. Click Save


7 . Assign users and groups


  1. Select Users and groups in the left panel

  2. Select Add User/Group

  3. Under Users -> Select None selected -> Select the users from the list -> Click Select -> Assign.


  1. You can remove the assigned users by selecting the particular users and clicking the Remove CTA at the top bar.

8. Click Provisioning in the left panel.

9. Select Provision Microsoft Entra ID Users -> Set Enabled -> Yes

10. Under Target Object Actions, Enable the Create, Update, Delete

11. Under Attribute Mappings, Edit the userName and externalId rows of your app (Eg: customappsso Attribute)

 

  1. In the userName row, click Edit

  2. Under Source Attribute, select mail from the dropdown and select OK

  


  1. In the externalID row, click Edit

  2. Under Source Attribute, select objectId from the dropdown and select OK




12. Ensure the mappings as in the screenshot.

Note: Do not make any other mapping changes, other than the userName and externalID


13. Click Save

14. Select Provision Microsoft Entra ID Groups -> Set Enabled -> No and Click Save


Note: Do not select the Restore default mappings which restores the mapping changes to default.


15. Under the Settings -> Scope -> You can find two options.

  1. Sync all users and groups -> Syncs all the users and groups in the azure directory to your application.

  2. Sync only assigned users and groups -> Syncs only those users and groups that are assigned in the enterprise application to your application. You can assign the users and groups by using the Users and groups options in the left panel.

                             

      Select the Sync only assigned users and groups in order to perform SSO.


16. Under Provisioning Status, Select ON


17. Click Save at the top bar.

 


Now the SCIM provisioning is enabled.

18. Click the Overview Button in the left panel and you can find the overall provisioning details here.


19. Now Perform the CRUD operations on the users in Azure Directory. Each provision cycle takes place at an interval of 40 minutes and you can view the user provisioning statuses by selecting the View Provisioning logs link.

Note: You can select Stop Provisioning and Start Provisioning CTA`s on the top bar to get the immediate results.





20. Deprovision User: Follow any of these steps

  1. Unassign the user by removing the users from the Users and groups tab of the enterprise app.

  2. Globally Make a user to disabled in Azure Directory.


  1. Globally Delete a user in Azure Directory.

Note: As per Azure doc, on doing these, they go into a soft-deleted state. They stay in that state for 30 days, after which they are hard-deleted, unless any reassignment users actions take place.




21. Disable SCIM provisioning in Azure: Select the Provisioning tab in the left panel and set the Provisioning status to Off and Save it.