Skip to main content
Back to list of integrations Use the Microsoft Teams integration to let agents post and read messages, create channels and chats, find members, and request approvals through Microsoft Graph. To let users talk to an agent inside Teams, deploy the agent to the Teams channel instead.

Supported actions

Actions are Teams operations that an agent runs as Action Tools during a conversation. You can also run them from an Integration node in a workflow.

Workflow triggers

Triggers are Teams events that start a workflow automatically. Select them as app triggers when you configure a workflow.
Microsoft Graph doesn’t allow app-only message sending. Use OAuth 2.0 App (User Delegated) for message and approval actions; use Azure AD (Service Principal) only for reading and managing teams and channels.

Set up the integration

1

Register an Entra ID app

Register an app in Microsoft Entra ID, create a client secret, and copy the Application (client) ID, Directory (tenant) ID, and secret value. Add the scopes listed in the next step as Microsoft Graph permissions (Delegated or Application), grant admin consent, and for delegated access add the Artemis Callback URL as a Web redirect URI.
2

Create the auth profile

In Integrations, select Microsoft Teams > Connect. On Project Auth Profiles, select New Profile > Integration Profile > Microsoft Teams > Continue. Select an Auth Type, configure the fields, and select Create Profile. For delegated access, select Authorize.
Artemis pre-fills the common Microsoft identity platform endpoints and these scopes: openid, email, profile, offline_access, User.Read, User.ReadBasic.All, Team.ReadBasic.All, TeamMember.Read.All, Channel.Create, Channel.ReadBasic.All, ChannelMessage.Send, ChannelMessage.Read.All, Chat.ReadWrite, Presence.Read.All. Enter Client ID and Client Secret.Usage Mode: Preconfigured shares one authorization across users; JIT and Preflight ask each user to authorize, during or before the session. See Auth profiles.
3

Create the action tool

In Tools, select New Tool > Action > Microsoft Teams > Continue. Select the Action and Auth Profile, set parameter defaults (leave a value empty for the agent to supply at runtime), and select Create Tool. Then assign the tool to an agent.

Action reference

Soft-deletes the message. You can delete only messages the connected account sent.
Posts the request and pauses the tool until a user approves or rejects it.
Sends the request in a chat and pauses the tool until the user approves or rejects it.
Sends a request to any Microsoft Graph endpoint. Artemis injects the authorization header from the auth profile.

Troubleshoot common issues

Related articles: