Docs
On this page
task2 min readApplication: Microsoft Teams Integration

Connect Sofi to Microsoft Teams

Let users chat with a Sofi AI assistant in Microsoft Teams: choose the assistant, link Teams users to Servicely users and test.

Connect Sofi to Microsoft Teams so users can ask a Servicely AI assistant for help in Teams instead of the Service Portal. You end with an assistant that answers one-to-one chats, group chats and the channels you enable.

Before you begin

  • You need the administrator role.
  • Complete Register an Azure bot, so the Microsoft Teams messaging account is active and the app is published.
  • Have at least one AI assistant that should answer in Teams. See Configure an AI assistant.

Steps

  1. Go to Intelligent automation → Agentic AI → AI Assistants and open the assistant.

  2. Add Teams to Channels, or set it to All, and save. An assistant with an empty Channels list does not answer in Teams.

    The Channels field of an AI assistant.
  3. Go to Administration → Messaging → Messaging accounts and open Microsoft Teams.

  4. Decide how Servicely finds the user behind each Teams message, using the fields in the table below. Save the account.

  5. From a Teams account that matches a Servicely user, open the Servicely app and send a message. Check that the assistant replies.

  6. Ask a follow-up question, then send /newchat. Check that the next answer has no memory of the earlier exchange.

Servicely first matches the sender’s Microsoft Entra ID object ID to Active Directory ID on a user record.

Field Default Effect
Email Fallback Enabled Yes If no user matches the object ID, Servicely matches the sender’s Microsoft 365 email address to the user’s Email. Set it to No to require Active Directory ID.
Persist Matched Identity Yes After an email match, Servicely writes the object ID to the user’s Active Directory ID. Set it to No if your directory sync should be the only source of that field.

Result

Users find the Servicely app in Teams and chat with the assistant. Each one-to-one chat, group chat and channel thread has its own conversation. Users type /newchat, /clear or /endchat to start again.

A chat does not create a ticket by itself. The assistant creates or updates records only when its tools allow it. A sender who matches no Servicely user gets a short notice instead of an answer. The application property agentic.messaging.unregistered_user.message holds its text, and an empty value turns the notice off.

In a Teams channel, the bot answers only where an administrator has enabled the channel. When a user mentions the bot in a channel that is not enabled, the request waits for administrator review.

Last updated 24 November 2026commit 88e011e506a8Chris Jones
Back to top