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

# Microsoft Entra ID

> Configure Microsoft Entra ID Integration

The following steps will integrate Microsoft Entra ID by using an Enterprise Application / Application Registration with the below API permissions. Currently setup is limited to using a Service Principal Name (SPN) with a client id, client secret, tenant id, and domain.

## Required Permissions

| API             | Permissions Name   | Type        | Description         | Admin Consent Required |
| :-------------- | :----------------- | :---------- | :------------------ | :--------------------- |
| Microsoft Graph | Directory.Read.All | Application | Read directory data | Yes                    |

## Setting Up Microsoft Entra ID Device Integration

In PreNotify, go to “Integrations” and click on the Microsoft Entra ID integration, then "Edit" to configure the integration.

\[Screenshot TBA]

In the Microsoft Entra ID Configuration, you'll need the following fields:

<ResponseField name="Client ID" type="string" required>
  The application (client) ID from the “Overview” section of your app registration
</ResponseField>

<ResponseField name="Client Secret" type="string" required>
  The client secret value from the “Certificates and secrets” section of your app registration
</ResponseField>

<ResponseField name="Tenant ID" type="string" required>
  The directory (tenant) ID from the “Overview” section of your app registration
</ResponseField>

<ResponseField name="Tenant Domain" type="string" required>
  The primary domain from the "Home" of your Microsoft Entra admin center.
</ResponseField>
