Azure AD on-premises application provisioning to SCIM-enabled apps
The Azure Active Directory (Azure AD) provisioning service supports a SCIM 2.0 client that can be used to automatically provision users into cloud or on-premises applications. This article outlines how you can use the Azure AD provisioning service to provision users into an on-premises application that's SCIM enabled. If you want to provision users into non-SCIM on-premises applications that use SQL as a data store, see the Azure AD ECMA Connector Host Generic SQL Connector tutorial. If you want to provision users into cloud apps such as DropBox and Atlassian, review the app-specific tutorials.
- An Azure AD tenant with Azure AD Premium P1 or Premium P2 (or EMS E3 or E5). Using this feature requires Azure AD Premium P1 licenses. To find the right license for your requirements, see Compare generally available features of Azure AD.
- Administrator role for installing the agent. This task is a one-time effort and should be an Azure account that's either a hybrid administrator or a global administrator.
- Administrator role for configuring the application in the cloud (application administrator, cloud application administrator, global administrator, or a custom role with permissions).
- A computer with at least 3 GB of RAM, to host a provisioning agent. The computer should have Windows Server 2016 or a later version of Windows Server, with connectivity to the target application, and with outbound connectivity to login.microsoftonline.com, other Microsoft Online Services and Azure domains. An example is a Windows Server 2016 virtual machine hosted in Azure IaaS or behind a proxy.
Deploying Azure AD provisioning agent
The Azure AD Provisioning agent can be deployed on the same server hosting a SCIM enabled application, or a seperate server, providing it has line of sight to the application's SCIM endpoint. A single agent also supports provision to multiple applications hosted locally on the same server or seperate hosts, again as long as each SCIM endpoint is reachable by the agent.
- Download the provisioning agent and copy it onto the virtual machine or server that your SCIM application endpoint is hosted on.
- Run the provisioning agent installer, agree to the terms of service, and select Install.
- Once installed, locate and launch the AAD Connect Provisioning Agent wizard, and when prompted for an extensions select On-premises provisioning
- For the agent to register itself with your tenant, provide credentials for an Azure AD admin with Hybrid administrator or global administrator permissions.
- Select Confirm to confirm the installation was successful.
Provisioning to SCIM-enabled application
Once the agent is installed, no further configuration is necesary on-prem, and all provisioning configurations are then managed from the portal. Repeat the below steps for every on-premises application being provisioned via SCIM.
- In the Azure portal navigate to the Enterprise applications and add the On-premises SCIM app from the gallery.
- From the left hand menu navigate to the Provisioning option and select Get started.
- Select Automatic from the dropdown list and expand the On-Premises Connectivity option.
- Select the agent that you installed from the dropdown list and select Assign Agent(s).
- Now either wait 10 minutes or restart the Microsoft Azure AD Connect Provisioning Agent before proceeding to the next step & testing the connection.
- In the Tenant URL field, provide the SCIM endpoint URL for your application. The URL is typically unique to each target application and must be resolveable by DNS. An example for a scenario where the agent is installed on the same host as the application is https://localhost:8585/scim
- Select Test Connection, and save the credentials. The application SCIM endpoint must be actively listening for inbound provisioning requests, otherwise the test will fail. Use the steps here if you run into connectivity issues.
- Configure any attribute mappings or scoping rules required for your application.
- Add users to scope by assigning users and groups to the application.
- Test provisioning a few users on demand.
- Add more users into scope by assigning them to your application.
- Go to the Provisioning pane, and select Start provisioning.
- Monitor using the provisioning logs.
The following video provides an overview of on-premises provisoning.
Azure AD offers open-source reference code that developers can use to bootstrap their SCIM implementation. The code is as is.
Support the /schemas endpoint to reduce configuration required in the Azure portal.