Dex
App credentials
Microsoft 365

Microsoft Teams setup instructions

Entra app registration (Teams Graph)

To connect Dex to Microsoft Teams for team/channel and membership data, grant the Entra app the relevant Teams Graph application permissions.

Steps
  1. 1In the Microsoft Entra admin center, open your app registration (or reuse the M365 Base app).
  2. 2Under API permissions → Add a permission → Microsoft Graph → Application permissions, add Team.ReadBasic.All and Channel.ReadBasic.All (add TeamMember.Read.All / TeamMember.ReadWrite.All for membership management).
  3. 3Click "Grant admin consent for <tenant>" and confirm the green checkmarks.
  4. 4Provide Dex the Tenant ID, Client ID, and Client secret from the app registration.
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.