ZenClaw AI
Guides Intermediate

OpenClaw on Microsoft Teams: The Complete Enterprise Assistant Setup Guide

Get OpenClaw into Microsoft Teams so your whole company can chat with the AI employee inside Teams channels. This post walks the full Azure Bot setup, Messaging Endpoint, and how to grab App ID, Client Secret, and Tenant ID — then paste them into self-hosted OpenClaw or ZenClaw's Microsoft Teams connection page.

MixerBox AI ZenClaw Team 10 min read

Putting OpenClaw into Microsoft Teams so it becomes the company’s in-house AI employee? The fastest way is the ZenClaw dashboard’s Microsoft Teams connection page. MixerBox AI’s managed service deploys in 9 seconds. The Messaging endpoint URL is auto-generated, and the *.zenclaw.bot subdomain plus certificates are set up for you. All you do is create an Azure Bot and paste three credentials back. This post covers both paths: ZenClaw’s Microsoft Teams connection page (click) and the full self-host Azure walkthrough.

Teams integration architecture: why it’s trickier than LINE or Telegram

Microsoft Teams doesn’t use a webhook-token model. It routes through the Azure Bot service plus Microsoft Entra ID (formerly Azure AD) for identity. That’s by design for enterprise compliance and SSO. Pieces involved:

Official docs: docs.microsoft.com/en-us/azure/bot-service. Compared to LINE’s two values (Channel Secret + Access Token), Teams needs three IDs plus a secret, so the flow is longer.

ZenClaw handles the Messaging endpoint, domain, and HTTPS certs for you. All you do is create an Azure Bot and paste the three IDs back. Flow:

  1. Sign in at zenclaw.ai
  2. Click “Hire AI Employees Now” → dashboard → “Add New OpenClaw Installation” → wait 9 seconds
  3. In Channels, click Microsoft Teams
  4. Copy the Messaging endpoint URL at the top (ZenClaw auto-generates https://*.zenclaw.bot/api/messages)
  5. Go to portal.azure.com and create an Azure Bot (Type of App: Single Tenant, Pricing tier: Free F0)
  6. Bot → Configuration → paste the Messaging endpoint → Apply
  7. Copy the App ID (Microsoft App ID field)
  8. Create a Client Secret: click Manage Password, or Microsoft Entra ID → App registrations → that app → Certificates & secrets → New client secret → copy Value
  9. Grab the Tenant ID: Microsoft Entra ID → Overview
  10. Back in ZenClaw’s Microsoft Teams connection page, paste App ID / Client Secret / Tenant ID and click connect

Done. Publish the Teams app next — ZenClaw can generate the manifest for you, or you can sideload via Teams admin center.

Self-hosted OpenClaw on Teams: the full 7 steps

This assumes you already have OpenClaw running (see the complete beginner’s guide), a public HTTPS domain, and an Azure subscription. Full walkthrough:

Step 1: Create an Azure Bot

portal.azure.com → search “Azure Bot” → Create:

Review + Create → wait for the resource.

Step 2: Set the Messaging endpoint

Azure Bot → Configuration:

Step 3: Grab the App ID

Same Configuration page: Microsoft App ID is on that row. Copy and store it — it maps to an Entra ID app registration.

Step 4: Create a Client Secret

Two paths:

Path A: Configuration page → Manage Password (jumps into Entra ID)

Path B: left panel Microsoft Entra ID → App registrations → find your app → Certificates & secretsNew client secret

Step 5: Grab the Tenant ID

Microsoft Entra ID → OverviewTenant ID (GUID). Copy and store.

Step 6: Configure OpenClaw

Edit ~/.openclaw/openclaw.json or use the dashboard. Under channels.msteams:

{
  "channels": {
    "msteams": {
      "appId": "your App ID",
      "appPassword": "your Client Secret",
      "tenantId": "your Tenant ID"
    }
  }
}

Restart the gateway (default port 18789). Official CLI config: docs.openclaw.ai/cli/config.

Step 7: Sideload/publish the Teams app

Build the Teams app manifest (JSON with App ID, bot info, icons). Zip it. Then:

Open a 1:1 chat with the bot, send a message, and check OpenClaw’s gateway log.

Common gotchas

The usual blockers: Messaging endpoint isn’t HTTPS or cert expired, Client Secret Value wasn’t copied, wrong Single vs Multi Tenant choice, or Teams app didn’t sideload correctly. Walkthrough:

Also keep in mind: corporate network policy might block Azure or Teams APIs — see OpenClaw security hardening 10-item checklist.

ZenClaw vs self-host: time cost

ZenClaw doesn’t save you the Azure steps (you still do those), but it does save you the Messaging endpoint server, domain, HTTPS cert, and ongoing OpenClaw ops. Side-by-side:

AreaSelf-hostZenClaw Microsoft Teams connection page
Azure Bot creationRequiredRequired (same Azure steps)
Server + OpenClawYour infra9-second deploy
Messaging endpoint URLRegister domain + TLSAutomatic *.zenclaw.bot
HTTPS certsMaintain yourselfAuto-renewed
Upgrades / CVEsTrack yourselfAutomatic
First deploy timeDays to weeks15-20 minutes

The choice is yours — but if the goal is “let the company use an AI employee in Teams”, ZenClaw is clearly the simpler path.

Further reading

FAQ

How is Microsoft Teams different from Telegram/LINE?

Teams is an enterprise communication platform tightly integrated with Microsoft 365. Connecting a bot requires the Azure Bot service (created in Azure Portal), not a quick @BotFather token the way Telegram does it. You'll need an Azure subscription and Microsoft Entra ID (formerly Azure AD).

Do I need to pay Azure?

Azure Bot's free tier covers standard usage. The Messaging endpoint itself (your server) is on you. ZenClaw's managed plans bundle the entire server and Messaging endpoint into the monthly subscription.

Where do App ID, Client Secret, and Tenant ID live?

App ID: Azure Bot → Configuration → Microsoft App ID. Client Secret: Azure Bot → Configuration → Manage Password, or Microsoft Entra ID → App registrations → find the app → Certificates & secrets → New client secret. Tenant ID: Microsoft Entra ID overview (a GUID). Official docs: docs.microsoft.com/en-us/azure/bot-service.

What does the Messaging endpoint URL look like?

It's https://your-domain/api/messages (Teams requires HTTPS with a valid cert). Self-hosted OpenClaw means you manage TLS. ZenClaw gives you a *.zenclaw.bot subdomain with automatic certificates — you copy it straight from the dashboard's Microsoft Teams connection page.

Do I need to install the app in Teams after wiring it up?

Yes. After the Azure Bot is live, you still need to publish the Teams app (through Teams admin center, App Studio, or sideloading the manifest) to your users or the whole org. ZenClaw docs walk you through this.

Single Tenant or Multi Tenant?

Single Tenant (only your company uses it) — simplest, safest, and easiest to certify. ZenClaw docs and defaults also assume Single Tenant.

Ready to try ZenClaw?

9 seconds from sign-in to a working AI teammate.

Go to Dashboard