Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Microsoft Teams connector and tool setup

The Microsoft Teams connector gives workflows access to Teams operations through Microsoft authorization. The authentication method must match the selected action.

Before you start

Have permission to configure the Microsoft Entra application. Identify the permissions and connection type required by the Teams action.

Choose delegated authentication

Choose delegated OAuth when the action operates on behalf of a signed-in Microsoft user.

Microsoft delegated authentication option

Check the action's connection requirements before choosing a method.

Configure the Entra application

In Microsoft Entra, configure the application's supported account types and web redirect.

Microsoft Entra application configuration

Copy the callback directly from StackAI to avoid a redirect mismatch.

Add the delegated API permissions required by the intended action.

Microsoft Entra application configuration

Your tenant's policy may require an administrator to grant consent.

Enter the required tenant details, client ID, and secret in the connector.

Microsoft Entra application configuration

Use the values from the corresponding registered application.

Authorize the Microsoft account

Create the delegated connection and authorize the intended Microsoft account.

Microsoft account authorization flow

Check its health after the authorization flow returns to StackAI.

Run an action with delegated access

Add List Teams and select the delegated connection.

Delegated Teams action results

Review the connection-type hint because some Teams actions require a particular authentication method.

Run List Teams and inspect the returned teams array.

Delegated Teams action results

Confirm that the account can access the teams needed by the workflow.

Configure application access when required

Use an app-only connection only for actions that support application credentials.

Microsoft application access configuration

Its tenant and application permissions differ from a delegated user grant.

For Get Meeting Transcripts, supply the required organizer and meeting identifiers with a supported connection.

Microsoft application access configuration

Inspect an actual response before relying on the configuration.

Important behavior

Delegated access acts on behalf of a signed-in user. App-only access uses the application’s permissions. Choose the connection type supported by the action.

Tenant policy can require administrator consent for requested permissions.

Continue

Last updated

Was this helpful?