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

# User Directory Integration Overview and Providers

> Overview of user directory integration in Iru Endpoint. Sync users and groups from Okta, Microsoft Entra ID, Google Workspace, or OneLogin to your account.

### User Directory Integration

User Directory Integration in Iru Endpoint allows you to connect your existing identity provider (like Microsoft Entra ID, Google Workspace, or Okta) to automatically sync user accounts and enable seamless authentication across your organization.

### Why Configure a Directory Integration?

Iru Endpoint lets you [assign users](/en/endpoint/devices/device-record-management/assigning-and-unassigning-users-to-devices) to specific devices. Using a directory integration to import users allows you to manage your Iru Endpoint user assignment centrally. You can configure automatic device assignment based on your directory settings. Device users in Iru Endpoint can only be created and assigned via a directory integration.

To import users, you can connect multiple Google Workspace, Microsoft Entra ID, or System for Cross-Domain Identity Management (SCIM) integrations. This article covers adding Active Directory and Google Workspace user directories to Iru Endpoint. These native methods are simple to configure and require only a directory administrator account with access to the directory you are trying to integrate. After the initial user sync, Iru Endpoint will import users and groups every four hours.

<Note>
  If you prefer user accounts be added and removed as they are created within your directory, use a SCIM integration. SCIM requires more upfront configuration but allows for Just-in-Time (JiT) account provisioning and de-provisioning. You can use SCIM with [Microsoft Entra ID](/en/endpoint/integrations/scim/scim-directory-integration-with-microsoft-entra-id), [Okta](/en/endpoint/integrations/scim/scim-directory-integration-with-okta), and other directory systems that support it. Refer to [SCIM Directory Integration](/en/endpoint/integrations/scim/scim-directory-integration) for more information.
</Note>

### Adding Directory Integrations

<Tabs>
  <Tab title="Microsoft Entra ID">
    #### Add a Microsoft Entra ID Integration

    <Steps>
      <Step title="Open Integrations">
        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 Microsoft Entra ID Integration">
        Under Directory integrations, click **Add and configure** under Microsoft Entra ID.
      </Step>

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

      <Step title="Enter Integration Name">
        Enter a unique name, which will be used in Iru Endpoint to show the directory from which a user originates.
      </Step>

      <Step title="Sign in with Microsoft Entra ID">
        Click **Sign in with Microsoft Entra ID**.

        <Note>
          If you are signing in with an account that is not a Global Administrator, you may need to request approval during that sign-in process. Once a Global Administrator approves the request, you can complete the sign-in process.
        </Note>
      </Step>

      <Step title="Complete Authentication">
        Sign in using a Microsoft Entra ID account with admin access to the directory you want to integrate.
      </Step>

      <Step title="Consent and Accept">
        Consent on behalf of your organization and click **Accept**. You will see the new user directory on the **Integrations** page.
      </Step>
    </Steps>
  </Tab>

  <Tab title="Google Workspace">
    The Google Workspace Integration in Iru Endpoint allows customers to sync all Google Workspace user and group objects into the user directory within Iru Endpoint. These delegated permissions are leveraged through the Google API to synchronize user directory information.

    #### Add a Google Workspace Integration

    <Steps>
      <Step title="Open Integrations">
        In the sidebar, click the **Account Menu Button**, 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 Google Workspace Integration">
        Under Directory integrations, click **Add and configure** under Google Workspace.
      </Step>

      <Step title="Start Setup">
        Click **Get Started**.
      </Step>

      <Step title="Enter Integration Name">
        Enter a unique name, which will be used in Iru Endpoint to show the directory from which a user originates.
      </Step>

      <Step title="Sign in with Google">
        Click **Sign in with Google**.
      </Step>

      <Step title="Complete Authentication">
        Sign in using a Google account with admin access to the directory you want to integrate.
      </Step>

      <Step title="Allow Access">
        Click **Allow**. You will see the new user directory on the **Integrations** page.
      </Step>
    </Steps>

    #### Google Workspace Permissions

    The following permissions are automatically requested and required to successfully sync Google Workspace users into Iru Endpoint. A Google Administrator must have sufficient permissions to delegate the following permissions to Iru Endpoint.

    | Permission                     | Display Text                        | Justification                                                                                                 |
    | ------------------------------ | ----------------------------------- | ------------------------------------------------------------------------------------------------------------- |
    | openid                         | See info about users on your domain | Associate you with your personal info on Google                                                               |
    | userinfo.profile               | See info about users on your domain | See your personal info, including any personal info you've made publicly available                            |
    | userinfo.email                 | See info about users on your domain | See your primary Google Account email address                                                                 |
    | admin.directory.group.readonly | View groups on your domain          | View details (e.g., name, members) and metadata (e.g., login details) of groups on your domain                |
    | admin.directory.user.readonly  | See info about users on your domain | Permission to see profile info about your domain users, such as their: Name, Email, Job Title, and Department |

    #### Disconnect Integration from Google

    <Steps>
      <Step title="Access Google Permissions">
        Go to [https://myaccount.google.com/permissions.](https://myaccount.google.com/permissions) Ensure you are signed in with the same account that configured the integration originally.
      </Step>

      <Step title="Remove Iru Endpoint Application">
        Click Remove for the Iru Endpoint application in the list of applications.
      </Step>
    </Steps>
  </Tab>
</Tabs>

### View Additional Information about a Directory Integration

<Steps>
  <Step title="Access Directory Integration">
    Click the ellipsis on the Directory Integration you would like to view.
  </Step>

  <Step title="View Details">
    Select **View details**.
  </Step>
</Steps>

**Microsoft Entra ID and Google Workspace integrations** will show the administrator email account used to connect to the directory and the time of the last import.

**SCIM integrations** will show the Iru Endpoint email used to connect to the directory, the SCIM API URL, and the time of the last sync.

### Force a User Directory Sync

Microsoft Entra ID and Google Workspace directories sync automatically every four hours, but you can force an immediate sync. SCIM uses a push mechanism from the cloud directory so it is not necessary to force-sync a SCIM directory integration.

<Steps>
  <Step title="Access Directory Integration">
    Click the ellipsis on the Directory Integration you would like to sync.
  </Step>

  <Step title="Sync Users">
    Select **Sync users**.
  </Step>
</Steps>

### Re-authenticate a Directory Integration

You might need to re-authenticate an existing Microsoft Entra ID or Google directory integration to update credentials, change the account that was used to create the integration, or to update permissions.

<Steps>
  <Step title="Access Directory Integration">
    Click the ellipsis on the Directory Integration you would like to re-authenticate.
  </Step>

  <Step title="Re-authenticate">
    Select **Re-authenticate**.
  </Step>

  <Step title="Complete Authentication">
    Sign in using a Google or Microsoft Entra ID account with admin access. You will be redirected back to the Integrations page.
  </Step>
</Steps>

### Remove a Directory Integration

Removing the integration will remove users not assigned to devices from Iru Endpoint. Users assigned to devices will remain, but Iru Endpoint will no longer synchronize them with the directory.

<Steps>
  <Step title="Access Directory Integration">
    Click the ellipsis on the Directory Integration you would like to delete.
  </Step>

  <Step title="Delete Integration">
    Select **Delete integration**.
  </Step>

  <Step title="Confirm Deletion">
    **Confirm** by typing the name of the integration.
  </Step>

  <Step title="Complete Deletion">
    Click **Delete**.
  </Step>
</Steps>
