






















@@ -39,7 +39,9 @@ teams login
3939teams status # verify you're logged in and see your tenant info
4040```
414142-> **Note:** The Teams CLI is currently in preview. Commands and flags may change between releases.
42+<Note>
43+The Teams CLI is currently in preview. Commands and flags may change between releases.
44+</Note>
43454446**2. Start a tunnel** (Teams can't reach localhost)
4547@@ -55,7 +57,9 @@ devtunnel host my-openclaw-bot
5557# Your endpoint: https://<tunnel-id>.devtunnels.ms/api/messages
5658```
575958-> **Note:** `--allow-anonymous` is required because Teams can't authenticate with devtunnels. Each incoming bot request is still validated by the Teams SDK automatically.
60+<Note>
61+`--allow-anonymous` is required because Teams cannot authenticate with devtunnels. Each incoming bot request is still validated by the Teams SDK automatically.
62+</Note>
59636064Alternatives: `ngrok http 3978` or `tailscale funnel 3978` (but these may change URLs each session).
6165@@ -112,7 +116,9 @@ This runs diagnostics across bot registration, AAD app config, manifest validity
112116113117For production deployments, consider using [federated authentication](#federated-authentication-certificate--managed-identity) (certificate or managed identity) instead of client secrets.
114118115-Note: group chats are blocked by default (`channels.msteams.groupPolicy: "allowlist"`). To allow group replies, set `channels.msteams.groupAllowFrom` (or use `groupPolicy: "open"` to allow any member, mention-gated).
119+<Note>
120+Group chats are blocked by default (`channels.msteams.groupPolicy: "allowlist"`). To allow group replies, set `channels.msteams.groupAllowFrom`, or use `groupPolicy: "open"` to allow any member (mention-gated).
121+</Note>
116122117123## Goals
118124@@ -217,7 +223,9 @@ If you can't use the Teams CLI, you can set up the bot manually through the Azur
217223| **Type of App** | **Single Tenant** (recommended - see note below) |
218224| **Creation type** | **Create new Microsoft App ID** |
219225220-> **Deprecation notice:** Creation of new multi-tenant bots was deprecated after 2025-07-31. Use **Single Tenant** for new bots.
226+<Warning>
227+Creation of new multi-tenant bots was deprecated after 2025-07-31. Use **Single Tenant** for new bots.
228+</Warning>
2212292222303. Click **Review + create** → **Create** (wait ~1-2 minutes)
223231@@ -914,7 +922,9 @@ openclaw message send --channel msteams --target "conversation:19:abc...@thread.
914922}
915923```
916924917-Note: Without the `user:` prefix, names default to group/team resolution. Always use `user:` when targeting people by display name.
925+<Note>
926+Without the `user:` prefix, names default to group or team resolution. Always use `user:` when targeting people by display name.
927+</Note>
918928919929## Proactive messaging
920930此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。