-
-
Notifications
You must be signed in to change notification settings - Fork 69.5k
MS Teams plugin: migrate from deprecated HttpPlugin to httpServerAdapter #60732
Copy link
Copy link
Open
Description
Summary
The MS Teams channel plugin emits repeated deprecation warnings in the gateway error log:
[WARN] @teams/app [DEPRECATED] HttpPlugin in plugins array will be deprecated. Use httpServerAdapter option instead:
new App({ httpServerAdapter: new ExpressAdapter() })
These warnings appear on every Teams polling cycle (~every 60 seconds), filling the error log with noise.
Steps to reproduce
- Enable the MS Teams channel (
channels.msteams.enabled: true) - Start the gateway
- Observe
gateway.err.log
Expected behavior
No deprecation warnings. The Teams integration should use the current httpServerAdapter API.
Suggested fix
In the MS Teams plugin, replace the HttpPlugin usage in the App plugins array with the httpServerAdapter option:
- new App({ plugins: [new HttpPlugin()] })
+ new App({ httpServerAdapter: new ExpressAdapter() })Per the @microsoft/teams-ai / @teams/app migration guide.
Environment
- OpenClaw: 2026.4.2
- Platform: macOS 26.2 (arm64)
- Node: 22.22.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.