The official Python SDK for building and deploying Microsoft Teams agents, bots, and message extensions. Current version 2.0.12. Provides high-level abstractions for Teams-specific features like adaptive cards, task modules, and Teams SSO. Released bi-weekly mainly via minor patches to the underlying Teams AI SDK.
pip install microsoft-teams-appsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal bot that responds to 'hello' messages. Requires BOT_ID and BOT_PASSWORD environment variables set to valid Microsoft Entra ID app credentials.
Ensure Python 3.12, 3.13, or 3.14 is used. Use `python --version` to verify.
Update imports: `from teams.app import TeamsBot` instead of `from microsoft_teams_apps import TeamsBot`.
Pass `bot_id=...` and `bot_password=...` directly instead of a config object.
Specify a different port via `app.run(port=...` or set `PORT` env var.
Use `from teams.auth import Auth` and follow the OAuth flow in official samples.
No resource links recorded.