Skip to main content

Before you start

You need at least the Application Developer role in the Microsoft Entra directory you connect, to register an application. Granting admin consent to Microsoft Graph application permissions needs at least the Privileged Role Administrator role, so ask someone who holds it if you do not. Arch refuses credentials whose app registration belongs to a different directory than the one you enter.

Setup steps

  1. Sign in to the Microsoft Entra admin center, browse to Entra ID, then App registrations, and select New registration. See Register an application.
  2. Enter a name for the app, choose Single tenant only under Supported account types, and select Register.
  3. On the app’s Overview page, copy the Application (client) ID and the Directory (tenant) ID.
  4. Select Certificates & secrets, then Client secrets, then New client secret. Enter a description, choose an expiration, and select Add. See Add and manage app credentials.
  5. Copy the secret’s Value, not its Secret ID. Microsoft never shows the value again after you leave the page.
  6. Select API permissions, then Add a permission, then Microsoft Graph, then Application permissions. See Configure an app to access a web API.
  7. Select each permission listed under Permissions below, and no others, then select Add permissions.
  8. Select Grant admin consent for your directory’s name, then select Yes. Select Refresh, and check that Status shows Granted for your directory’s name. See Grant tenant-wide admin consent.
  9. You now hold the Directory (tenant) ID, the Application (client) ID and the client secret’s value to enter in Arch.

Fields

You do not enter an address. Arch always signs in to Microsoft’s own sign-in and Microsoft Graph addresses.

Permissions

Each permission is a Microsoft Graph application permission on the app registration, with admin consent granted. To add a missing permission later, open the app registration, select API permissions, add the permission as in Setup steps, and grant admin consent again. Then test the connection again in Arch. See Grant tenant-wide admin consent.

Sign-in

Arch signs in as the app registration, exchanging the application ID and the client secret for a Microsoft Graph token from your directory. When the sign-in works, the connection test goes on to read the directory back from Microsoft Graph, checks that it is the directory you entered, and then reads the first page of every collection a sync reads, one for each permission. If the sign-in fails, check that the application ID and the client secret come from the same app registration and that you copied the secret’s value, not its ID. A client secret expires on the date you chose, at most two years after you added it. If it expired or was deleted, add a new one under Certificates & secrets on the app registration, in the Microsoft Entra admin center, and enter its value in Arch.

Test answers

A passing test shows “Microsoft Entra directory” with one line for each data source, from Directory to App role assignments, each read with its permission.

Limits

  • Arch brings in the directory, its users, groups and direct group memberships, app registrations, enterprise applications with their app roles and app role assignments, and directory roles with their assignments.
  • Devices, organizational contacts, sign-in activity, Conditional Access policies and role assignments that are only eligible through Privileged Identity Management are not brought in.
  • Arch reads the data once a day by default. You can choose every hour, every 3, 6 or 12 hours, or once a day.
  • Each run reads the whole directory again, so what was removed in Microsoft Entra ID leaves Arch after the next run.
  • One connection reads one Microsoft Entra directory. A second connection to the same directory is refused.