Set up Microsoft Teams
alphaa Teams meeting or its transcripts, on behalf of a tenant user
Where the service posts events to your app. An example from your app URL; change it to your real route.
Where the service sends the person back after they approve. An example from your app URL; change it to your real route.
Every value you copy below is filled in for this app. Your progress is saved in this browser.
Register an app and add the OAuth redirect URL
In the Microsoft Entra admin center, App registrations, register (or reuse) an app and add https://app.example.com/connectors/microsoft-teams/oauth/callback under Authentication as a Web redirect URI. Record the Application (client) ID and create a client secret.
What a connection holds
| Field | Secret | Where it comes from |
|---|---|---|
Application (client) IDclientId | Not secret | From the Microsoft Entra admin center -> App registrations. ONE value for the whole installation, not per connected account. |
Client secretclientSecret | Secret | A client secret of the same app registration. One value for the whole installation; Entra expires them, so record the expiry. |
Access tokenaccessToken | Secret | Per connected Microsoft account, and it expires after about ONE HOUR. The host refreshes it with the refresh token. |
Refresh token (optional)refreshToken | Secret | Per connected Microsoft account; issued only when the consent request includes offline_access. Every refresh answers with a NEW one -- persist it. |
Links
Consent is requested at https://login.microsoftonline.com/common/oauth2/v2.0/authorize
React (editor surface, every host)
@particle-academy/microsoft-teams-ui v0.2.2
