Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

3.3 KB
Raw Blame
---
title: "Azure SCIM"
description: "Learn how to configure SCIM provisioning with Azure for Infisical."
---

<Info>
    Azure SCIM provisioning is a paid feature.
    
    If you're using Infisical Cloud, then it's available under the **Enterprise Tier**. If you're self-hosting Infisical,
    then you should contact [email protected] to purchase an enterprise license to use it.
</Info>

Prerequisites:
- [Configure Azure SAML for Infisical](/documentation/platform/sso/azure)

<Steps>
    <Step title="Create a SCIM token in Infisical">
        In Infisical, head to **SSO & Provisioning** and select the **Provisioning** tab. Under **SCIM Provisioning**,
        turn on the **Enable SCIM** toggle to allow Azure to provision and deprovision users for your organization.

        ![SCIM enable provisioning](/images/platform/scim/scim-enable-provisioning.png)

        Next, select **Configure** on the SCIM Provisioning card, then select **Create Token** in the **Manage SCIM Credentials** modal to generate a SCIM token for Azure.
        
        ![SCIM create token](/images/platform/scim/scim-create-token.png)
        
        Next, copy the **SCIM URL** and **New SCIM Token** to use when configuring SCIM in Azure.
        
        ![SCIM copy token](/images/platform/scim/scim-copy-token.png)
    </Step>
    <Step title="Add Users and Groups in Azure">
        In Azure, navigate to Enterprise Application > Users and Groups. Add any users and/or groups to your application that you would like
        to be provisioned over to Infisical.

        ![SCIM Azure Users and Groups](/images/platform/scim/azure/scim-azure-add-users-and-groups.png)

    </Step>
    <Step title="Configure SCIM in Azure">
        In Azure, head to your Enterprise Application > Provisioning > Overview and press **Get started**.
        
        ![SCIM Azure](/images/platform/scim/azure/scim-azure-get-started.png)

        Next, set the following fields:
        
        - Provisioning Mode: Select **Automatic**.
        - Tenant URL: Input the SCIM URL from Step 1 with `?aadOptscim062020` appended as a query parameter.
        - Secret Token: Input the **New SCIM Token** from Step 1.

        Afterwards, select **Enable SCIM**, then select **Test Connection** to check that SCIM is configured properly.
        
        ![SCIM Azure](/images/platform/scim/azure/scim-azure-config.png)
        
        After you hit **Save**, select **Provision Microsoft Entra ID Users** under the **Mappings** subsection.
        
        ![SCIM Azure](/images/platform/scim/azure/scim-azure-select-user-mappings.png)
        
        Next, adjust the mappings so you have them configured as below:
        
        ![SCIM Azure](/images/platform/scim/azure/scim-azure-user-mappings.png)

        Finally, head to your Enterprise Application > Provisioning and set the **Provisioning Status** to **On**.
        
        ![SCIM Azure](/images/platform/scim/azure/scim-azure-provisioning-status.png)
        
        Alternatively, you can go to **Overview** and press **Start provisioning** to have Azure start provisioning/deprovisioning users to Infisical.
        
        ![SCIM Azure](/images/platform/scim/azure/scim-azure-start-provisioning.png)
        
        Now Azure can provision/deprovision users to/from your organization in Infisical.
    </Step>
</Steps>