Microsoft Teams Setup

Connect your agent to Microsoft Teams through the Azure Bot Framework so it can respond in your Teams tenant.

Registering a Bot

  1. In the Azure portal, create an Azure Bot resource (Bot Framework registration).
  2. Under Configuration, set the messaging endpoint to your Lenno Teams webhook endpoint.
  3. Create a client secret for the bot’s app registration.
  4. Add the Microsoft Teams channel to the bot.
  5. Collect:
    • App ID – the bot’s Microsoft App (client) ID.
    • App password – the client secret value.
    • Tenant ID – your Microsoft Entra (Azure AD) tenant ID (optional; set it for a single-tenant bot).

Connecting to Lenno

  1. Go to your agent’s Channels tab.
  2. Click Add Channel and select Microsoft Teams.
  3. Enter the App ID and App password (and Tenant ID if single-tenant).
  4. Click Save.

Installing In Teams

  • Package the bot into a Teams app (App Studio / Developer Portal) and install it to your team, or side-load it, so users can message it.
  • The transport can receive direct chats and @mentions in channels where the bot is installed.

Owner Pairing Is Not Yet Available

Microsoft Teams owner pairing is intentionally disabled until the adapter validates the complete required Bot Framework claims and constrains the reply serviceUrl. A valid bot token or configured participant ID does not prove who the agent owner is.

The Teams channel therefore remains unlinked and grants no owner authority. Ordinary inbound senders are ignored; only traffic independently correlated to an agent-originated conversation may be admitted with restricted, non-owner trust. Do not use Teams for owner commands or gated-action approvals until this guide says pairing is supported.

Tips

  • Keep the app password in Lenno’s secret store only – rotating it in Azure requires updating the channel config here.