Skip to content
API Blog

Microsoft Teams

Lobu’s Microsoft Teams adapter supports direct chats, channel mentions, and interactive workflows. Under the hood, Lobu uses the Chat SDK Teams adapter with Azure Bot Framework.

  1. Register a bot in the Azure Portal under Azure Bot (or Bot Framework Registration).
  2. Note the App ID, App Password (client secret), and Tenant ID.
  3. In the Azure Bot’s Channels section, enable the Microsoft Teams channel.
  4. Use Agents → Connections in the web app to add Microsoft Teams, or declare a teams connection in lobu.config.ts.
FieldRequiredTypeDescription
appIdNostringMicrosoft App ID.
appPasswordNostringMicrosoft App Password.
appTenantIdNostringMicrosoft App Tenant ID.
appTypeNoMultiTenant | SingleTenantMicrosoft App Type.
userNameNostringOverride bot username.

The adapter supports two authentication modes:

  • Password auth (default) — provide appPassword directly. Simplest setup.
  • Managed Identity (MSI) — when appPassword is omitted, the adapter uses Azure Managed Identity. Useful for Azure-hosted deployments.
  • Direct messages and channel @mentions trigger the agent.
  • Streaming responses with throttled message edits.
  • Adaptive Cards for interactive elements (permission grants, user prompts, configuration).
  • Access control — restrict which users or groups can interact.
  • Multi-tenant and single-tenant deployment modes.
  • Internal assistant for engineering, HR, or IT teams.
  • Workflow automation triggered by team conversations.
  • Knowledge base bot accessible from Teams channels.