Chat Integration
OpenClaw + Microsoft Teams
Connect OpenClaw to Teams via Azure Bot Framework. Supports channels and rich cards.
Category
Chat
Setup Time
~10 minutes
What you can do
- Direct messages & group chats
- Team channel integration
- Rich cards & adaptive cards
- File attachments & sharing
Setup Guide
Prerequisites
- OpenClaw running (see our deployment guide)
- A Microsoft 365 account with Teams
- Admin access to Azure portal (for bot registration)
Step 1: Register a Bot in Azure
- Go to the Azure Portal
- Navigate to Azure Bot service
- Click Create and choose a bot handle (e.g., "OpenClawBot")
- Select your pricing tier (Free tier available)
- Choose Multi Tenant for most use cases
- Click Review + Create, then Create
Step 2: Get Your Bot Credentials
After creation, go to your bot resource:
- Note the Microsoft App ID from the overview page
- Go to Certificates and secrets → Manage password
- Click New client secret and copy the Value (not the ID)
Step 3: Enable Teams Channel
- In your bot resource, go to Channels
- Click Microsoft Teams → Agree to terms
- Click Apply
Configuration
Add the Teams channel to your OpenClaw config:
# In your openclaw config
channels:
teams:
enabled: true
app_id: "YOUR_MICROSOFT_APP_ID"
app_password: "YOUR_CLIENT_SECRET_VALUE"
Or via environment variables in your docker-compose.yml:
environment:
- TEAMS_ENABLED=true
- TEAMS_APP_ID=YOUR_MICROSOFT_APP_ID
- TEAMS_APP_PASSWORD=YOUR_CLIENT_SECRET_VALUE
Step 4: Restart OpenClaw
docker compose restart openclaw
Verification
- Open Microsoft Teams
- Search for your bot by its handle
- Send a message — OpenClaw should respond
Check logs for connection status:
docker compose logs -f openclaw | grep -i teams
Common Issues
Bot not found in Teams: It can take a few minutes for the bot to appear. Ensure the Teams channel is enabled in Azure.
Authentication errors: Double-check your App ID and Client Secret. Make sure you copied the secret Value, not the Secret ID.
Permission denied in channels: For team channels, the bot needs to be added as a team member. Use the "Add member" feature in Teams settings.
Frequently Asked Questions
Does OpenClaw work with Microsoft Teams?
Yes — OpenClaw integrates with Microsoft Teams via the Azure Bot Framework. It's rated as Medium difficulty to set up and takes about 10 minutes with an Azure account.
Is the Microsoft Teams integration free?
Yes. The Teams integration is free and included with OpenClaw. Azure Bot service has a free tier, and you only pay for hosting (~$7/mo) and AI API usage (~$3-10/mo).
How do I set up Microsoft Teams with OpenClaw?
Register a bot in Azure Portal, enable the Teams channel, copy your App ID and Client Secret, add them to your OpenClaw config, and restart. The bot will appear in Teams within minutes.
Do I need an Azure account?
Yes. Microsoft Teams bots are registered through the Azure Bot Framework. You need an Azure account (free tier available) to create and manage your bot registration.
Can OpenClaw work in Teams channels?
Yes. OpenClaw works in direct messages, group chats, and team channels. For team channels, you need to add the bot as a team member with appropriate permissions.
Ready to set up Microsoft Teams?
Follow our free guide to deploy OpenClaw and connect Teams in minutes.
Official docs: https://docs.openclaw.ai/channels