M365 Base setup instructions

Prev Next

MICROSOFT 365

Entra app registration (OAuth)

To connect Dex to Microsoft 365, you first register a single Entra ID application that all Microsoft connectors share, then hand Dex its Tenant ID, Client ID, and a Client Secret.

Steps

  1. Sign in to the Microsoft Entra admin center (entra.microsoft.com) as a Global Administrator or Privileged Role Administrator.
  2. Go to Entra ID → App registrations → New registration; give it a name (e.g. "Dex Integration"), choose "Single tenant", and click Register.
  3. On the app's Overview page, copy the Application (client) ID and the Directory (tenant) ID.
  4. Go to Certificates & secrets → Client secrets → New client secret, set an expiry, click Add, and copy the secret Value immediately.
  5. Go to API permissions → Add a permission → Microsoft Graph → Application permissions, and add the scopes each connector needs (see the individual connector pages).
  6. Click "Grant admin consent for <tenant>" and confirm: every permission must show a green check.

Paste into Dex

The connection form in the Dex app store asks for these values:

  • Directory (tenant) ID
  • Application (client) ID
  • Client secret (Value)  Shown only once at creation. Copy it immediately.

Links on page: Open M365 Base console, Official docs.