> ## Documentation Index
> Fetch the complete documentation index at: https://docs.iru.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SCIM Directory Integration with Microsoft Entra ID

> Configure SCIM directory integration between Microsoft Entra ID and Iru Endpoint. Automatically provision and deprovision users and groups via SCIM.

### About SCIM Directory Integration with Microsoft Entra ID

SCIM Directory Integration with Microsoft Entra ID in Iru Endpoint allows you to set up SCIM-based user directory synchronization between Microsoft Entra ID and Iru Endpoint, enabling automatic user and group provisioning and deprovisioning.

### How It Works

The SCIM integration creates a secure connection between Microsoft Entra ID and Iru Endpoint, enabling automatic synchronization of user and group data. When users or groups are added, modified, or removed in Microsoft Entra ID, these changes are automatically reflected in Iru Endpoint through the SCIM protocol.

### Prerequisites

* Be sure to review the supported user and group attributes listed in the [SCIM Directory Integration](/en/endpoint/integrations/scim/scim-directory-integration#scim-schema-and-supported-attributes) article.
* Ensure that nested groups are not included with SCIM as Microsoft does not support this functionality.

<Tabs>
  <Tab title="Iru Endpoint">
    ### Get the SCIM Token and API URL

    Complete these steps in Iru Endpoint first. You will need the SCIM access token and API URL when configuring Microsoft Entra ID. For full details, see the [SCIM Directory Integration](/en/endpoint/integrations/scim/scim-directory-integration) article.

    <Steps>
      <Step title="Open Integrations">
        In Iru Endpoint, in the sidebar, click the [**Account Menu Button**](/en/iru/platform-overview/account-menu), then select **Integrations**.

        <Frame>
          <img src="https://mintcdn.com/iru/8BYPjuKZa-zyEEf_/assets/media/images/iru-nav-integrations.png?fit=max&auto=format&n=8BYPjuKZa-zyEEf_&q=85&s=e89fa7e9b81ac504a6f519608e10b8a3" alt="Screenshot of the account menu with Integrations option highlighted" width="562" height="1040" data-path="assets/media/images/iru-nav-integrations.png" />
        </Frame>
      </Step>

      <Step title="Discover Integrations">
        Click **Discover integrations** in the upper-right of the Integrations page.
      </Step>

      <Step title="Add SCIM Protocol">
        On the **SCIM protocol** tile, click **Add and configure**.

        <Frame>
          <img src="https://mintcdn.com/iru/ceHzuGddI7w_43xJ/assets/media/images/iru-add-configure-scim.png?fit=max&auto=format&n=ceHzuGddI7w_43xJ&q=85&s=c55030a21c30ef6f65dc90285d3c45d7" alt="Add new integration page with SCIM protocol tile and Add and configure button" width="2134" height="1284" data-path="assets/media/images/iru-add-configure-scim.png" />
        </Frame>
      </Step>

      <Step title="Start Configuration">
        Click **Get started**.
      </Step>

      <Step title="Name the Integration">
        Enter a unique name for the SCIM integration.
      </Step>

      <Step title="Generate Authentication Token">
        Click **Generate token**. The SCIM integration uses an HTTP authorization header with a Bearer Token.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-name.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=cf4df5d3d63147de7739024f71f94bf8" alt="Configure a SCIM user integration screen with name field and Generate token button" width="1898" height="1258" data-path="assets/media/images/iru-scim-name.png" />
        </Frame>
      </Step>

      <Step title="Copy the Token">
        Click **Copy token**. The token will not be visible again after you click Done. Store it securely, as you will need it in the **Microsoft Entra ID** tab.
      </Step>

      <Step title="Confirm and Complete Setup">
        Confirm that you have copied the token by checking the box, then click **Done**. You will return to the **Integrations** page.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-copy-token.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=c31e71ca70b13bd8db22047685ff47ae" alt="Copy token and configure with your identity provider dialog with Copy token button" width="1912" height="1262" data-path="assets/media/images/iru-scim-copy-token.png" />
        </Frame>
      </Step>

      <Step title="Access Integration Details">
        Click the **ellipsis** on the SCIM directory integration you created.
      </Step>

      <Step title="View Details">
        Select **View Details**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-view-details.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=f70aee81eba7ce75589cb220c68cce65" alt="Directory integrations list with SCIM integration and ellipsis menu showing View details, Rename, Rotate token, Delete" width="1162" height="542" data-path="assets/media/images/iru-scim-view-details.png" />
        </Frame>
      </Step>

      <Step title="Copy API URL">
        Copy the SCIM API URL (e.g. `https://subdomain.api.iru.com/api/v1/scim`). Your identity provider will require this. The URL displayed in your tenant may still show the `api.kandji.io` domain. The `api.kandji.io` version of the SCIM API URL will also work for this purpose.
      </Step>

      <Step title="Close Details">
        Click **Close**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-copy-api-url.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=f826bc146ef440fff34093ffeb0202d6" alt="View user integration details modal with SCIM API URL and copy button" width="1258" height="804" data-path="assets/media/images/iru-scim-copy-api-url.png" />
        </Frame>
      </Step>

      <Step title="Switch to Microsoft Entra ID Tab">
        Keep the token and API URL available, then switch to the **Microsoft Entra ID** tab to create and configure the SCIM app integration.
      </Step>
    </Steps>
  </Tab>

  <Tab title="Microsoft Entra ID">
    <Note>
      Complete the **Iru Endpoint** tab first to obtain the SCIM token and API URL. You will enter these in the steps below.
    </Note>

    ### Creating the SCIM Integration in Microsoft Entra ID

    <Steps>
      <Step title="Access Microsoft Entra Admin Center">
        Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com).
      </Step>

      <Step title="Navigate to Entra ID">
        Open the portal menu and then select **Entra ID**.
      </Step>

      <Step title="Access Enterprise Apps">
        On the **Entra ID** menu, select **Enterprise apps**.
      </Step>

      <Step title="Create New Application">
        Select **New application**.

        <Note>
          If you have already created a SAML single sign-on application, you can select that application and add SCIM.
        </Note>

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-entra-id-new-app.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=c2cf9fdd7e1bb1642bde470e6b2cb9e1" alt="Microsoft Entra ID Enterprise applications All applications with New application button" width="3584" height="2006" data-path="assets/media/images/iru-scim-entra-id-new-app.png" />
        </Frame>
      </Step>

      <Step title="Choose Application Type">
        Select **Create your own application**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-entra-create-own-app.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=e8ee8a2bc2755af20b6e3899cb060fbc" alt="Microsoft Entra ID Browse gallery with Create your own application" width="3584" height="1538" data-path="assets/media/images/iru-scim-entra-create-own-app.png" />
        </Frame>
      </Step>

      <Step title="Name the Application">
        Give the application a name.
      </Step>

      <Step title="Select Integration Type">
        Select **Integrate any other application you don't find in the gallery (Non-gallery)**.
      </Step>

      <Step title="Create Application">
        Click **Create**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-entra-create-own-app-name-settings.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=cba41a5ec1b20278e90e2a50596f575e" alt="Microsoft Entra ID Create your own application dialog with app name and Non-gallery option" width="1150" height="1202" data-path="assets/media/images/iru-scim-entra-create-own-app-name-settings.png" />
        </Frame>
      </Step>

      <Step title="Access Provisioning">
        You will be taken to the Overview page for the newly created app.
        Under **Manage**, select **Provisioning**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-entra-provisioning.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=254b497e5495f90c98dd2aa3f8043f96" alt="Microsoft Entra ID Iru SCIM Overview with Provisioning in Manage" width="3274" height="1976" data-path="assets/media/images/iru-scim-entra-provisioning.png" />
        </Frame>
      </Step>

      <Step title="Create New Configuration">
        Click **New Configuration**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-entra-new-config.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=f467f0725c3ed827be07becb33457fba" alt="Microsoft Entra ID Provisioning Get started with New configuration button" width="1884" height="1318" data-path="assets/media/images/iru-scim-entra-new-config.png" />
        </Frame>
      </Step>

      <Step title="Select Authentication Method">
        In the **Select authentication method** dropdown, choose **Bearer authentication**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-entra-provisioning-configuration.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=8e4dd75bab8d15c0867bda9f6737d821" alt="Microsoft Entra ID New provisioning configuration with Bearer authentication, Tenant URL, and Secret token" width="1886" height="1470" data-path="assets/media/images/iru-scim-entra-provisioning-configuration.png" />
        </Frame>
      </Step>

      <Step title="Configure SCIM Connection">
        Paste the SCIM API URL you copied from the **Iru Endpoint** tab into the **Tenant URL** field.
      </Step>

      <Step title="Add Secret Token">
        Paste the token you obtained in the **Iru Endpoint** tab into the **Secret token** field.
      </Step>

      <Step title="Test Connection">
        Click **Test connection**. You should see a successful test notification.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-entra-provisioning-test-success.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=20452fe2fa50403d81da1e52d8188c51" alt="Microsoft Entra ID Provisioning test connection success message" width="684" height="128" data-path="assets/media/images/iru-scim-entra-provisioning-test-success.png" />
        </Frame>
      </Step>

      <Step title="Create Configuration">
        Click **Create**.
      </Step>

      <Step title="Access Provisioning Settings">
        In the Manage section, click **Provisioning**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-entra-provisioning-mapping.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=7c8a14a6cc74dbcfc10cf82ce6af826e" alt="Microsoft Entra ID Provisioning configuration Overview" width="1864" height="1532" data-path="assets/media/images/iru-scim-entra-provisioning-mapping.png" />
        </Frame>
      </Step>

      <Step title="Configure Mappings">
        Expand the **Mappings** reveal triangle and ensure that both Groups and Users are enabled.
      </Step>

      <Step title="Configure Settings">
        Expand the **Settings** reveal triangle.
      </Step>

      <Step title="Set Scope">
        For **Scope**, choose **Sync only assigned users and groups**.
      </Step>

      <Step title="Enable Provisioning">
        Set the **Provisioning Status** to On.
      </Step>

      <Step title="Save Configuration">
        Click **Save**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-mapping-settings.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=0970d7108a416da6b5087fbf537785a2" alt="Microsoft Entra ID Provisioning Mappings and Settings with Scope and Provisioning Status" width="2034" height="1962" data-path="assets/media/images/iru-scim-mapping-settings.png" />
        </Frame>
      </Step>

      <Step title="Close Settings">
        Click the **X** in the upper-right corner to close the settings.
      </Step>
    </Steps>

    ### Assigning Users and Groups

    <Steps>
      <Step title="Access Users and Groups">
        Under **Manage**, select **Users and groups**.
      </Step>

      <Step title="Add Users and Groups">
        On the menu, select **Add user/group**.
      </Step>

      <Step title="Select Users and Groups">
        On the **Add Assignment** dialog, select the link under **Users and groups**.
      </Step>

      <Step title="Choose from List">
        A list of users and security groups is displayed. You can search for a specific user or group or select multiple users and groups that appear in the list.
      </Step>

      <Step title="Select Assignments">
        Select the user(s) and group(s) you would like to be assigned.
      </Step>

      <Step title="Confirm Selection">
        Click **Select**.
      </Step>

      <Step title="Complete Assignment">
        Select **Assign** to finish assigning users and groups to the app.
      </Step>

      <Step title="Verify Assignment">
        Confirm that the users and groups you added appear in the **Users and groups** list.
      </Step>
    </Steps>

    <Note>
      If you see a message indicating that a free tier is being used, it means you can only add users (not groups) to the SCIM Enterprise App.
    </Note>

    ### Considerations

    #### Syncing

    User syncing is one-way, meaning the Microsoft Entra ID SCIM app will send user information to Iru Endpoint only when new information is needed. If a user or group is added to the SCIM app in Microsoft Entra ID after the app was created, a sync will happen every 40 minutes (set by Microsoft Entra ID). If you want the sync to happen sooner, you can stop/start the provisioning in the SCIM app on the Microsoft Entra ID. This will not impact existing users/groups in Iru Endpoint.

    #### Removing Users

    * If Entra ID sets a user to inactive, the user will be set as inactive in your Iru Endpoint tenant.
    * If Entra ID deletes a user, the user will be deleted from your Iru Endpoint tenant.

    #### Blueprint Conditional Logic

    If you use [Assignment Map](/en/endpoint/blueprints/assignment-maps/using-conditional-logic-in-blueprints) conditional logic with groups, you must explicitly add each group you want to have provisioned in Iru Endpoint to the SCIM app. Groups will not sync automatically by adding users that happen to be members of the group.

    #### AD CS Strong Certificate Mapping

    If you use Microsoft Active Directory Certificate Services for certificate-based authentication, ensure your SCIM attribute mappings support strong certificate mapping requirements. For required mapping and certificate updates, see [Active Directory Strong Certificate Mapping Configuration](/en/endpoint/integrations/certificate-services/active-directory-certificate-services/active-directory-certificate-services-ad-cs-strong-mapping-configuration).

    #### Microsoft Device Compliance

    If you are using an Entra ID SCIM user directory integration and the Microsoft Device Compliance integration, ensure that the user and group attribute mappings for the **externalId** attribute in your SCIM application map to objectId as listed below. The **objectId** is used by Iru Endpoint to map user and group resources in Intune.

    <table>
      <thead>
        <tr>
          <th><strong>User Attribute</strong></th>
          <th><strong>User Value</strong></th>
        </tr>
      </thead>

      <tbody>
        <tr>
          <td>externalId</td>
          <td>objectId</td>
        </tr>
      </tbody>
    </table>

    <table>
      <thead>
        <tr>
          <th><strong>Group Attribute</strong></th>
          <th><strong>Group Value</strong></th>
        </tr>
      </thead>

      <tbody>
        <tr>
          <td>externalId</td>
          <td>objectId</td>
        </tr>
      </tbody>
    </table>

    **Updating User Mappings and Group Mappings**

    <Steps>
      <Step title="Access SCIM Application">
        Navigate to the SCIM enterprise application in the [Microsoft Entra admin center](https://entra.microsoft.com).
      </Step>

      <Step title="Open Provisioning">
        Select **Provisioning**.
      </Step>

      <Step title="Access Attribute Mapping">
        Select the **Attribute mapping (Preview)** section.
      </Step>

      <Step title="Choose User or Group Mapping">
        If you are updating user attributes, click on **Provision Microsoft Entra ID Users.**
        If you are updating group attributes, click on **Provision Microsoft Entra ID Groups**.
      </Step>

      <Step title="Verify External ID Mapping">
        Verify that externalId is mapped to objectId.
      </Step>

      <Step title="Update Mapping if Needed">
        If it is not, click the **Edit** button to the right of the attribute and select objectId from the list.
      </Step>

      <Step title="Save Changes">
        Click **Save**.
      </Step>

      <Step title="Return to Overview">
        Click the **X** to go back.
      </Step>

      <Step title="Restart Provisioning">
        Once back on the Provisioning overview page, if any values were changed, you need to push the updated values to Iru Endpoint immediately by stopping and then starting the provisioning service.
      </Step>

      <Step title="Pause Provisioning">
        Click the **Pause provisioning** button.
      </Step>

      <Step title="Start Provisioning">
        Click the **Start provisioning** button.
      </Step>
    </Steps>
  </Tab>
</Tabs>
