> ## 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.

# Single Sign-on with Microsoft Entra ID (Native)

> Configure native Microsoft Entra ID SSO for Iru Endpoint using OAuth2 and OpenID Connect. Enable one-click sign-in for admins with Entra credentials.

### About Microsoft Entra ID Native Integration

Microsoft Entra ID Native integration in Iru Endpoint lets you set up native Microsoft Entra ID integration for SSO. Users authenticate using their Microsoft Entra ID credentials through OAuth2/OpenID Connect.

#### How It Works

When users attempt to access Iru Endpoint, they're redirected to Microsoft Entra ID for authentication using OAuth2/OpenID Connect protocols. After successful authentication, Microsoft Entra ID sends an access token back to Iru Endpoint, which validates the user's identity and grants access. SSO can be used for [Iru Endpoint Web App](/en/endpoint/getting-started/foundation/admins-and-access) sign-in and for [Require Authentication with Automated Device Enrollment](/en/endpoint/enrollment/configure-require-authentication-for-enrollment).

<Note>
  Microsoft Entra ID [is the new name](https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/new-name) for Azure AD (Azure Active Directory)
</Note>

> Because client secrets have a maximum life of 24 months, we recommend that you configure [SAML based Single Sign-On](/en/endpoint/integrations/single-sign-on-integrations/single-sign-on-with-microsoft-entra-id-saml) instead of using the method described in this document.

### Prerequisites

Before you begin, ensure you have:

* [Access to the Iru Endpoint Web App](/en/endpoint/getting-started/foundation/admins-and-access) as an Admin or Account Owner
* An administrator account in Microsoft Entra ID with permissions to create app registrations (such as Global Administrator, Application Administrator, or Cloud Application Administrator)

<Tabs>
  <Tab title="Iru Web App Configuration">
    ### Configuring Iru Endpoint Connection

    Follow these steps to configure the connection in Iru:

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

      <Step title="Access Authentication Settings">
        Click the **Access** option in the menu.

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

      <Step title="Select Admin and Authentication">
        Select the **Admin and authentication** tab (selected by default) and scroll down to **Authentication methods**.
      </Step>

      <Step title="Add Authentication Method">
        Click **+ Authentication method**.
      </Step>

      <Step title="Enter Display Name">
        Enter a display name for the SSO Connection.
      </Step>

      <Step title="Select Authentication Method">
        Select **Microsoft Entra ID** for the Authentication method.
      </Step>

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

      <Step title="Copy Redirect URL">
        Copy the **Redirect URL** into a text document for later use. You'll need this for the Microsoft Entra ID configuration.

        <Frame>
          <img src="https://mintcdn.com/iru/Gez-fJ-p5uwNt6_O/assets/media/images/entra_native_10-54-56.png?fit=max&auto=format&n=Gez-fJ-p5uwNt6_O&q=85&s=944f34794f4d9a91d0b2c90e23c3889d" alt="Iru Endpoint Copy Redirect URL for Entra ID" width="1924" height="1638" data-path="assets/media/images/entra_native_10-54-56.png" />
        </Frame>
      </Step>

      <Step title="Keep Tab Open">
        Keep the Iru Web App configuration modal open, then switch to the **Microsoft Entra ID Configuration** tab to continue.
      </Step>
    </Steps>

    Follow these steps to complete the configuration:

    <Info>
      After completing the Microsoft Entra ID configuration, return here to finish setting up the SSO connection in Iru Endpoint. You'll need the Client ID and Client secret you copied from Microsoft Entra ID.
    </Info>

    <Steps>
      <Step title="Enter Directory Domain">
        Enter the **Tenant ID** that the application was registered within into the **Microsoft Entra ID Domain** field. Please refer to [Microsoft's documentation to locate your Tenant ID](https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/find-tenant-id-domain).
      </Step>

      <Step title="Enter Client ID">
        Enter the **Client ID** you previously copied from the Entra admin center.
      </Step>

      <Step title="Enter Client Secret">
        Enter the **Client Secret** you previously copied from the Entra admin center.
      </Step>

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

        <Frame>
          <img src="https://mintcdn.com/iru/Gez-fJ-p5uwNt6_O/assets/media/images/entra_native_12-00-35.png?fit=max&auto=format&n=Gez-fJ-p5uwNt6_O&q=85&s=652ba4ba977cabe185b104cfd2913bbc" alt="Iru Endpoint Tenant ID Client ID Client Secret Save" width="1646" height="1640" data-path="assets/media/images/entra_native_12-00-35.png" />
        </Frame>
      </Step>

      <Step title="Authorize Connection">
        After saving, a new dialogue box will appear with a link to **authorize your connection.** A Microsoft Entra ID administrator for your domain must click the link and complete this process to authorize the application. This box will not go away after authorization is completed.
      </Step>

      <Step title="Complete Authorization">
        In the new window that launches, sign in and click **Accept**.
      </Step>

      <Step title="Verify Authorization">
        After clicking **Accept,** you will be brought to an authorization success page.
      </Step>

      <Step title="Confirm Setup">
        Your connection has now been successfully configured and may be enabled and tested.
      </Step>
    </Steps>

    <Warning>
      If you encounter the error "Failed to obtain access token," it may be because the secret ID was used instead of the correct value.
    </Warning>

    ### Allow for Tenant Authentication

    Once you have configured the SAML connection in Iru Endpoint and your identity provider, you can allow its use for tenant authentication. For step-by-step instructions, please refer to the **Allowing Tenant Authentication and Managing Connections** section in our [Single Sign-on support article](/en/endpoint/integrations/single-sign-on-integrations/single-sign-on).

    ### Limit Authentication to Domain

    When configuring the SAML connection, you can optionally limit authentication to one or more domains. This can be useful when the SSO connection could authenticate to multiple domains. You can limit the authentication to your Iru tenant to a subset of the available domains.

    ### Enforcing Single Sign-On

    Once you have configured at least one Single Sign-on connection, you can disable Passkey, Google Social, and Microsoft Social connections. Disabling these connections will disable the ability for Iru Endpoint administrators in your tenant to authenticate via those methods. Please refer to our [Single Sign-on support article](/en/endpoint/integrations/single-sign-on-integrations/single-sign-on) for step-by-step instructions.

    ### Renewing the Client Secret

    <Steps>
      <Step title="Create New Client Secret">
        Follow the steps in the **Microsoft Entra ID Configuration** tab above to create a new client secret. Complete steps "Access Certificates and Secrets" through "Copy Secret Value" to create a new client secret and copy the value.
      </Step>

      <Step title="Navigate to Admin and authentication">
        After copying the value, return to the **Iru Web App Configuration** tab and follow steps 1-3 from the **Configuring Iru Endpoint Connection** section.
      </Step>

      <Step title="Select SSO Integration">
        Click on the ellipsis next to the SSO integration that was created earlier in this article.
      </Step>

      <Step title="Edit SSO Integration">
        Choose **Edit**.

        <Frame>
          <img src="https://mintcdn.com/iru/Gez-fJ-p5uwNt6_O/assets/media/images/entra_native_08-37-39.png?fit=max&auto=format&n=Gez-fJ-p5uwNt6_O&q=85&s=4ee6a9ed63ead1405c742d939bc4260d" alt="Iru Endpoint ellipsis next to SSO integration Edit" width="2198" height="1648" data-path="assets/media/images/entra_native_08-37-39.png" />
        </Frame>
      </Step>

      <Step title="Edit Client Secret">
        Click the **Edit client secret** button.

        <Frame>
          <img src="https://mintcdn.com/iru/Gez-fJ-p5uwNt6_O/assets/media/images/entra_native_08-43-21.png?fit=max&auto=format&n=Gez-fJ-p5uwNt6_O&q=85&s=a7c8aa2f5d98d61121a1878564b851cc" alt="Iru Endpoint Edit client secret button" width="1730" height="1642" data-path="assets/media/images/entra_native_08-43-21.png" />
        </Frame>
      </Step>

      <Step title="Update Client Secret">
        Paste the new **Client secret** value that was copied earlier.
      </Step>

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

        <Frame>
          <img src="https://mintcdn.com/iru/Gez-fJ-p5uwNt6_O/assets/media/images/entra_native_08-46-11.png?fit=max&auto=format&n=Gez-fJ-p5uwNt6_O&q=85&s=7059a9ab71febe26517d39f8b0eee2ce" alt="Iru Endpoint Save after updating client secret" width="1702" height="1640" data-path="assets/media/images/entra_native_08-46-11.png" />
        </Frame>
      </Step>

      <Step title="Test Configuration">
        Be sure to test the configuration by signing into the Iru Endpoint web app and choosing the Native SSO login option that was created. You'll want to test this with a private browser window/incognito window and verify that you are able to sign in to the Iru Endpoint web app.
      </Step>

      <Step title="Clean Up Old Secret">
        You can then optionally delete the previous client secret from the App registration in Entra ID.
      </Step>
    </Steps>
  </Tab>

  <Tab title="Microsoft Entra ID Configuration">
    ### Setting Up Microsoft Entra ID Application

    <Note>
      Before starting the Microsoft Entra ID configuration, complete the initial setup in the **Iru Web App Configuration** tab to get the Redirect URL. You'll need this value to configure the Microsoft Entra ID application.
    </Note>

    Follow these steps to configure your Microsoft Entra ID application:

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

      <Step title="Expand Entra ID Section">
        In the left navigation bar, ensure that the **Entra ID** section is expanded.
      </Step>

      <Step title="Navigate to Applications">
        In the left navigation bar, click **App registrations**.
      </Step>

      <Step title="Create New Registration">
        Click **+ New registration** to register a new application.

        <Frame>
          <img src="https://mintcdn.com/iru/Gez-fJ-p5uwNt6_O/assets/media/images/entra_native_11-10-59.png?fit=max&auto=format&n=Gez-fJ-p5uwNt6_O&q=85&s=fda999ea57500f53e90ef2df74b9fc7a" alt="Entra ID App registrations New registration" width="2750" height="1454" data-path="assets/media/images/entra_native_11-10-59.png" />
        </Frame>
      </Step>

      <Step title="Name the Application">
        In the **Name** field, specify a name for the application (such as "Iru Native SSO").
      </Step>

      <Step title="Select Account Types">
        For "**Supported account types**," select **Accounts in this organizational directory only**.
      </Step>

      <Step title="Configure Redirect URIs">
        In the **Redirect URI** field, select **Web** from the dropdown menu.
      </Step>

      <Step title="Enter Redirect URI">
        Enter the complete Redirect URL you copied from the Iru Web App Configuration (e.g., `https://vpriix.id.iru.com/federated-auth/oidc/callback`).
      </Step>

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

        <Frame>
          <img src="https://mintcdn.com/iru/Gez-fJ-p5uwNt6_O/assets/media/images/entra_native_11-30-17.png?fit=max&auto=format&n=Gez-fJ-p5uwNt6_O&q=85&s=05f8f539e3144b5d1c2b069f3ee31d87" alt="Entra ID Name Supported account types Redirect URI Register" width="2358" height="1634" data-path="assets/media/images/entra_native_11-30-17.png" />
        </Frame>
      </Step>

      <Step title="Copy Client ID">
        On the new page, copy the **Application (client) ID** and save this for later. This will be used as the **Client ID** in Iru.

        <Frame>
          <img src="https://mintcdn.com/iru/Gez-fJ-p5uwNt6_O/assets/media/images/entra_native_11-40-58.png?fit=max&auto=format&n=Gez-fJ-p5uwNt6_O&q=85&s=790029fe79b3f9dea7429be5d92d2c6b" alt="Entra ID Application client ID copy" width="2716" height="1622" data-path="assets/media/images/entra_native_11-40-58.png" />
        </Frame>
      </Step>

      <Step title="Access Certificates and Secrets">
        Click **Certificates and Secrets**.
      </Step>

      <Step title="Create New Client Secret">
        Click **New client secret**.

        <Frame>
          <img src="https://mintcdn.com/iru/Gez-fJ-p5uwNt6_O/assets/media/images/entra_native_11-44-51.png?fit=max&auto=format&n=Gez-fJ-p5uwNt6_O&q=85&s=884d74d10d01813ce5fece20d2dbd1b0" alt="Entra ID Certificates and Secrets New client secret" width="2716" height="1528" data-path="assets/media/images/entra_native_11-44-51.png" />
        </Frame>
      </Step>

      <Step title="Configure Secret Details">
        Give the client secret a **Description** such as "Iru Native SSO."
      </Step>

      <Step title="Set Expiration">
        Set the expiration to **24 months**.
      </Step>

      <Step title="Add Secret">
        Click **Add**.

        <Frame>
          <img src="https://mintcdn.com/iru/Gez-fJ-p5uwNt6_O/assets/media/images/entra_native_11-47-12.png?fit=max&auto=format&n=Gez-fJ-p5uwNt6_O&q=85&s=532c64c0100928deb9ed852b02cfa0bf" alt="Entra ID Client secret Description expiration Add" width="1152" height="446" data-path="assets/media/images/entra_native_11-47-12.png" />
        </Frame>
      </Step>

      <Step title="Copy Secret Value">
        Copy the **Value** of the client secret, and save this for later. **Note that the client secret Value is distinct from the client secret ID.**

        <Frame>
          <img src="https://mintcdn.com/iru/Gez-fJ-p5uwNt6_O/assets/media/images/entra_native_11-48-27.png?fit=max&auto=format&n=Gez-fJ-p5uwNt6_O&q=85&s=3d3cc4b5e7e7ddacaab50425208efc32" alt="Entra ID Copy client secret Value" width="3020" height="1628" data-path="assets/media/images/entra_native_11-48-27.png" />
        </Frame>
      </Step>
    </Steps>

    <Note>
      After completing the Microsoft Entra ID Configuration, return to the **Iru Web App Configuration** tab to finish setting up the SSO connection using the Client ID and Client secret you copied from Microsoft Entra ID.
    </Note>
  </Tab>
</Tabs>

## Considerations

**Security**: Ensure that your Microsoft Entra ID tenant has appropriate security policies configured for OAuth2/OpenID Connect authentication.

**Client Secret Management**: Client secrets expire after 24 months and must be renewed regularly. Consider using SAML-based SSO for longer-term solutions.

**Testing**: Always test the SSO integration with a small group of users before rolling out to your entire organization.

**User Management**: Users must exist in both Microsoft Entra ID and Iru Endpoint to successfully authenticate via SSO.
