Microsoft Teams
Connect your organization's Microsoft Teams bot so people can talk to the avatar inside Teams.
With the Teams connection, people in your organization chat with the avatar through a Teams bot. The avatar answers in Teams, conversations appear in Conversations, and operators can reply from the platform once sending is active.
Each organization has one integration, tied to a single bot.
Before you start
- A bot for Microsoft Teams registered in your organization's Azure (Microsoft Entra ID), with its Tenant ID, Client ID and Client Secret. See Advanced for the setup.
- A Microsoft 365 administrator to grant admin consent and publish the Teams app.
- Access to Settings › Teams connection in the Tolky platform.
Connect
Open the screen
Fill in the credentials
Test
Save
Check the requirements
Activate sending
When the bot credentials and the Microsoft Graph permission pass the check, the badge shows Operational.
Test
In Teams, open a chat with the bot and send a message. The avatar answers, and the conversation appears in Conversations.
Manage
| Badge | Meaning |
|---|---|
| Not configured | No credentials saved. |
| Configured | Credentials saved; the requirements were not checked yet. |
| Operational | Bot credentials and Microsoft Graph permission are OK. |
| Needs attention | One of these two checks failed. See Integration requirements. |
- To change the credentials, edit the fields and click Save. Leave Client Secret as it is to keep the current secret.
- To remove the integration, click Unlink and confirm in Unlink Microsoft Teams. You can set it up again later.
Common problems
| Symptom | What to do |
|---|---|
| "Enter the Client Secret to test." | Type the secret again: the saved one is not shown, and the test needs it. |
| "Invalid credentials: …" | Check the three values in Azure. A client secret that expired must be replaced by a new one. |
| "Missing: User.Read.All" | Add the Microsoft Graph application permission User.Read.All and grant admin consent. |
| "Sending inactive — the operator can't reply yet." | Click Activate sending. |
| "No read event received yet" | Check the two manual items: the Teams app manifest permission and the read receipts policy. |
| "Error loading the Teams configuration." | Reload the page. If it continues, contact Tolky support. |
Azure app registrationTechnical details
Register the app
- In the Azure portal, open Microsoft Entra ID › App registrations › New registration.
- Copy the Directory (tenant) ID into Tenant ID and the Application (client) ID into Client ID.
- Under Certificates & secrets, create a client secret and copy its value into Client Secret. Note the expiry date.
- Under API permissions, add the Microsoft Graph application permission
User.Read.Alland click Grant admin consent. - Optional: add
AppCatalog.Read.Allwith admin consent. Tolky then checks the Teams app manifest permission automatically.
Bot and Teams app
- Create an Azure Bot that uses this app registration and turn on the Microsoft Teams channel. The bot's messaging endpoint must point to Tolky: ask Tolky support for the address.
- In the Teams Developer Portal, open your app › Permissions › Chat/meeting and check the resource-specific consent (RSC) permission
ChatMessageReadReceipt.Read.Chat. Publish the new version to your organization. - In the Teams admin center, under Messaging policies, turn on Read receipts.
Tolky identifies your organization by the bot's Client ID: messages to that bot reach the avatar of the account where you saved the credentials.
Requirements checked
| Item | What is checked |
|---|---|
| Bot credentials (Bot Framework token) | Tolky gets a token with your Tenant ID, Client ID and Client Secret. |
| Microsoft Graph permission | User.Read.All with admin consent. |
| Operator sending | Global mode works from the start; it switches to regional mode after the user's first message to the bot. Inactive means operators cannot reply yet. |
| Read receipts working | Date of the last read event received from Teams. |
| Teams app manifest | RSC permission ChatMessageReadReceipt.Read.Chat in the published app. Checked automatically with AppCatalog.Read.All; otherwise manual. |
| "Read receipts" policy | Manual item, controlled by your Teams administrator. |