Teams
Connect an Understand Tech Assistant to Microsoft Teams
Expected outcome for the customer
In Microsoft Teams, your assistant will appear as a chat bot in a 1:1 chat (private conversation).
The customer only needs to:
Create an Azure Bot
Register your Azure bot in app.understand.tech (app ID, 1 secret value)
Create and install the Teams app package
Client prerequisites
The customer must have:
An Understand Tech assistant already created beforehand to be used in Teams
An API key authorized to act on behalf of end users (
is_external_usage = true)
What Understand Tech provides
Teams Messaging Endpoint URL (hosted by Understand Tech):
https://api.understand.tech/integrations/teams/messagesAssistant ID β unique identifier of your assistant Example:
https://api.understand.tech/integrations/teams/messages
Steps to connect the assistant to Teams
Step 1: Create the bot in Azure
Log in to Azure Portal
Create a resource β Azure Bot (Azure AI Bot Service)
Choose the tenant type: Single Tenant (this cannot be changed once created)

Once created, go to Settings β Channels, add Microsoft Teams β you should see Teams with a "Healthy" status

Note the following information to register your app in app.understand.tech:
Microsoft App ID: unique identifier of your bot in Azure β Azure Portal: Home β Bot services β your bot β Settings / Configuration
App Tenant ID: found at the same location
App Registration ID: unique identifier of your app registration in Azure Active Directory β Azure Portal: Home β App Registrations β your app β Overview β Application (client) ID
π‘ This value may be the same as your Microsoft App ID, depending on how your bot was created.
Client Secret (value): acts as a password for your bot, allowing Teams to authenticate securely with Azure
To create a Client Secret:
Go to Home β App Registrations β your app β Manage / Certificates & Secrets
Give it a name, choose an expiration period, and click Add
Copy the value immediately β it is only visible once
β οΈ Important security note: Never share this client secret publicly. Treat it like a password. If it is compromised, regenerate it in Azure immediately.
In this setup, the endpoint is hosted by Understand Tech. The customer does not need to host any server.
Step 2: Configure the Messaging Endpoint
Go to your Azure Bot service β select your bot β Settings β Configuration
In the Messaging Endpoint field, paste the URL provided by Understand Tech:
https://api.understand.tech/integrations/teams/messagesClick Apply

Teams messages will now reach your Understand Tech assistant directly.
Step 3: Register the bot in app.understand.tech
Complete the registration in the Understand Tech portal using the information collected in the previous steps:
Integration type
Select Microsoft Teams
App ID
Azure Portal: Home β Bot services β your bot β Settings / Configuration β Microsoft App ID
App Secret
Azure Portal: Home β App Registrations β your app β Certificates & Secrets β Client Secret value
Tenant ID
Azure Portal: Home β Bot services β your bot β Settings / Configuration β App Tenant ID
Token App ID
Azure Portal: Home β App Registrations β your app β Overview β Application (client) ID
Assistant ID
app.understand.tech β Workspace β your assistant

Step 4: Create and Install the Teams App (Developer Portal)
Use the Developer Portal for Teams to generate and upload the app.
A) Open Developer Portal in Teams
In Microsoft Teams: Apps β Manage your apps β Developer Portal
Or use the direct link: Developer Portal for Teams
B) Create a New App
Click Create new app
Fill in the basic info:
App name (e.g.,
UT Bot)Short name & short description
Developer info (name, website, Privacy & Terms URLs)
Add app icons (Configure / Branding):
Outline:
32Γ32 px PNGColor:
192Γ192 px PNG
Click Save
C) Add Your Bot
Go to Configure / App Features β Bots β Add
Choose Existing bot
Paste your Microsoft App ID (Azure Bot β Settings / Configuration β Microsoft App ID)
Set Scopes:
Personal β 1:1 private chat
Team β bot available in channels
Click Save
D) Set Permissions
Go to Configure / App Features β Bots β Authorization
Teams Permissions β Application:
ChannelMessage.Read.GroupChannelMessage.Send.GroupTeamsActivity.Send.Group
Chat / Meeting Permissions:
ChatMember.Read.ChatChatMessage.Read.ChatChatMessage.Send.ChatTeamsActivity.Send.Chat
Click Save.
E) Publish to your organization Click Publish / Publish to org -> Submit app update
Or Open Microsoft Teams
Click Apps, then Manage your apps

Upload an app.

Select your app to submit

The bot is now installed in Teams for your organization and can be added to a personal chat or a channel.
Step 5: Test the bot
A) Open Microsoft Teams
Launch the Teams application (desktop, web, or mobile).
B) Add the bot
Go to Apps in the left-hand menu
Search for the app you just created (e.g.,
UT Teams Bot)Click Add to install it.
π‘ If it doesn't appear, try refreshing Teams, signing out and back in, or reinstalling the app.
C) Start a conversation
Open a private chat with the bot and type a message, for example: Hello
D) Wait for the assistant's reply
The bot will forward your message to the Understand Tech backend and you will receive the assistant's response in the chat.
Troubleshooting checklist
Bot added but does not respond
Verify the Messaging Endpoint URL is correct: https://api.understand.tech/integrations/teams/<assistant_id>/messages
Teams channel not enabled
Go to your Azure Bot resource and enable Microsoft Teams under Channels
HTTPS required
The endpoint must be public and secure (HTTPS)
401 / Unauthorized
Your API key may be missing, invalid, expired. Check at the Understand Tech Developer Portal
Users cannot see the bot
A tenant policy may block sideloading. Use the Teams Admin Center to manage app permissions
Last updated