--- title: "M365 Base setup instructions" slug: "dex-m365-base" updated: 2026-11-30T12:32:11Z published: 2026-11-30T12:32:11Z canonical: "documentation.sysaid.com/dex-m365-base" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.sysaid.com/llms.txt > Use this file to discover all available pages before exploring further. # M365 Base setup instructions 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 " 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](https://entra.microsoft.com/), [Official docs](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app).