Microsoft Teams action pack
Microsoft Teams extension actions enable the Glean Assistant and supported Glean Agent experiences to interact directly with Teams. This allows users to manage conversations, update channels, and coordinate with colleagues without switching between applications.
Teams actions are a key component of the broader Microsoft 365 action suite.
When building a workflow agent, the Teams action pack is available within the Plan and Execute step and for building agents with auto mode,the Teams action pack is available for all the steps. This allows the agent to dynamically determine when to send messages, create channels, or look up chat history to fulfill a complex user request.
Supported tools
The Teams action pack is enabled as a unified bundle. The following tools are included:
Chat management
- List chats: Retrieves your recent and active one-on-one or group conversations.
- List user chat messages: Pulls the message history and content from a specific conversation for context.
- Create chat: Starts a new one-on-one or group chat session with specified colleagues.
- Send message to Teams chat: Send a non-empty message to a specified existing Team chat.
Teams and channels
- List teams: Displays all Microsoft Teams of which you are a member.
- List team channels: Shows individual channels available within a specific team.
- Create team: Sets up a new top-level Microsoft Team for organization-wide or group collaboration.
- Create a channel: Generates a new dedicated channel within an existing team for specific projects.
- Add member to team: Programmatically adds a user to a specific team.
Messaging and communication
- Post chat message: Sends a new message directly into an existing one-on-one or group chat.
- Post message to Teams channel: Publishes a new post or announcement to a specific channel within a team.
- Reply to Teams channel message: Responds to a specific message thread to keep conversations organized.
- List message replies: Retrieves all responses within a specific message thread.
People and users
- List users: Searches and retrieves details for people within your organization’s Microsoft tenant.
Example use cases
Integrating Teams actions into Glean workflows provides several high-value automation opportunities:
- Automated meeting follow-ups: An agent can summarize a meeting transcript and post the summary to a specific Teams channel along with a list of action items.
- Incident response management: When a high-priority incident is detected, a Glean Agent can create a dedicated Teams channel and add the on-call engineering team to it automatically.
- Sales deal coordination: A sales assistant can list recent chat messages from an account-specific group chat to help an executive catch up on deal progress before a call.
- Onboarding automation: When a new employee is hired, an agent can automatically add them to relevant teams and send a welcome chat message with their first-day schedule.
Setup and configuration
Prerequisites
Before configuring Microsoft Teams actions, ensure you have the following:
-
You must have administrative access to the Glean Admin Console.
-
Microsoft 365 must already be crawled as a datasource in Glean.
-
Access to the Microsoft Entra ID portal to grant admin consent or configure a Custom OAuth app.
-
If using a Custom OAuth app, it must be set to multitenant. Single-tenant apps are not supported for Teams actions.
Administrator steps
- Enable the pack: Navigate to Admin Console → Platform → Actions and add Microsoft Teams extensions actions from the template library.
- Link datasource: Link the pack to your existing Microsoft 365 datasource instance.
- Configure Authentication: Microsoft 365 actions use User OAuth.
- Managed App: Use the Glean-managed application for simplified setup.
- Custom OAuth App: If using a custom app, it must be registered as a multi-tenant application. Single-tenant apps are not supported for Teams.
- One-Time Admin Connection: After creating the pack, a Glean admin must complete a one-time connection. Create an autonomous agent, add a Microsoft Teams step, and click Connect while signed in with admin credentials.
If you use Microsoft Teams extension actions, a Glean admin must complete a one-time connection after the pack is created before other users can reliably use the action pack in your environment.
For detailed steps, see Microsoft 365 actions and extension actions setup.