Microsoft Teams Connector
Connect your agent to Microsoft Teams so users can interact with it from chats and channels
The Microsoft Teams connector lets users interact with your deployed agent directly from Teams chats and channels. This connector requires manual webhook setup after deployment.
Prerequisites
You need a Microsoft Azure Bot resource:
- Go to the Azure Portal and create an Azure Bot resource
- Under Configuration, copy the Microsoft App ID
- Under Certificates & secrets, create a new client secret and copy the value
- Under Channels, enable the Microsoft Teams channel
- Install the bot in your Teams workspace and invite it to channels or chats
Setup
Step 1: Create the Connector
- Open your agent in Agent Studio
- In the Connectors panel, click Add Connector
- Select Microsoft Teams as the provider
- Enter a Connector Name (lowercase with underscores, e.g.,
production_teams_bot) - Fill in the connector parameters:
- App ID — The application ID from your Azure Bot registration
- App Password — The client secret from your Azure Bot registration
- Configure access:
- Toggle Onboarding on to require approval for new users, or leave it off for open access
- If onboarding is enabled, set an Onboarding Message
- Use the Test button to validate your credentials
Step 2: Configure the Inbound Route
The inbound route filters which Teams messages reach your agent. All parameters are optional — leave them empty to accept all messages.
| Parameter | Description |
|---|---|
| Channel ID | Limit to a specific Teams channel |
| User AAD Object ID | Limit to messages from a specific Azure AD user |
Step 3: Configure the Outbound Route
The outbound route controls where your agent sends responses.
- Enable use sender as receiver to reply in the same chat/channel that triggered the message (recommended)
- If disabled, specify:
- Conversation ID — The target conversation
- Service URL — The Bot Framework service URL for the target conversation
Step 4: Save
Save the agent revision to persist the connector configuration.
Deploy and Webhook Setup
Microsoft Teams requires manual webhook setup after deployment.
- Click Deploy to publish the agent revision
- The connector status will show Manual Setup — this is expected
- Copy the Webhook URL (messaging endpoint) provided by Fruxon
- In the Azure Portal, go to your bot registration
- Under Configuration, set the Messaging endpoint to the Fruxon webhook URL
- Save the bot configuration
- Once the webhook is verified, the connector status changes to Connected
How Users Interact
Once the connector is connected, Teams users can interact with your agent:
- Direct message — Start a 1:1 chat with the bot
- Mention in a channel — Type
@YourBotNamefollowed by a message in a Teams channel - Group chats — Add the bot to a group chat and mention it
The agent processes each message and responds in the same chat or channel.
Viewing Conversations
All Teams conversations are tracked in your agent's Conversations tab:
- Filter by Teams provider to see only Teams conversations
- View full message history including user messages and agent responses
- Each message links back to its execution record for debugging
Next Steps
- Access Control — Manage who can interact with your agent
- Slack Connector — Connect to another platform
- Conversations — Browse all conversations