Sign up

Set up Microsoft Teams

On Connections, Microsoft Teams, register your company's own bot in Microsoft, save the three ids and the client secret, set the messaging address, and add the app to Teams.

Open Connections, then Microsoft Teams. The header shows Not set up, Ready to receive, or Paused. Each company uses its own single-tenant app and Azure Bot, named for the company, so people in Teams see your name.

Register the Teams app

A company administrator registers a single-tenant app and an Azure Bot in Microsoft, named for the company. Studio does not create them.

  • In the Microsoft Entra admin center, open App registrations, then New registration. Choose Accounts in this organizational directory only (single tenant). No redirect address is needed. Copy the Application (client) ID and the Directory (tenant) ID.
  • On that app, open Certificates & secrets and create a New client secret. Copy its value once. No API permissions or admin consent are needed.
  • In the Azure portal, create an Azure Bot: type Single Tenant, pricing tier Free (F0), using that app registration.

Save the three ids

Paste the app id, the directory id, and the bot id. Then press Save.

  • App id.
  • Directory id.
  • Bot id. Starts with 28: and then the app id. Use lowercase.
  • Agent that answers. Optional. It answers messages that no workflow available in Teams takes.

Save the client secret

Paste the secret's value and press Test. Studio asks Microsoft for a bot token with it. The secret is saved only if Microsoft accepts it, and it is never shown again: the page shows when it was saved and the last check. If Microsoft refuses it, the page says why. One Teams app can belong to one company only.

Set the messaging address

Copy Messaging address and set it as the bot's messaging endpoint in the Azure portal (the bot, Settings, Configuration). Then open the bot's Channels, choose Microsoft Teams, accept Microsoft's terms and apply. The page shows when the last message arrived.

Add the app to Teams

Press Download app package. The zip holds the app's manifest and two icons, in your company's name. In the Teams admin center, allow custom apps (org-wide app settings, and Upload custom apps in the setup policy). Then in Teams open Apps, Manage your apps, Upload an app, Upload a custom app, and add it for yourself or to a team. To offer it to everyone, upload it in the Teams admin center instead.

Receiving

Save the ids to start. Receiving turns on when you save. After that, the Receiving switch is on for Ready to receive and off for Paused. Which workflow a message starts is set on each workflow, in Available in Teams. What a message does is on What a Teams message does.