---
title: "Connect Sofi to Microsoft Teams"
site: admin
version: 1.11
versions: "1.11+"
url: https://docs-new.servicely.ai/admin/1.11/integrations/teams/connect-sofi/
type: task
application: integration_microsoft_teams
last_updated: 2026-11-24
commit: 88e011e506a8
---


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](page:integrations/teams/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](page:sofi/configure-an-ai-assistant).

## Steps

<Steps>
  <Step>
    Go to **Intelligent automation → Agentic AI → AI Assistants** and open the assistant.
  </Step>
  <Step>
    Add **Teams** to **Channels**, or set it to **All**, and save. An assistant with an empty **Channels** list does not answer in Teams.

    <Image src="asset:screenshots/admin/integrations-teams-connect-sofi/image-2.png">The Channels field of an AI assistant.</Image>
  </Step>
  <Step>
    Go to **Administration → Messaging → Messaging accounts** and open **Microsoft Teams**.
  </Step>
  <Step>
    Decide how Servicely finds the user behind each Teams message, using the fields in the table below. Save the account.
  </Step>
  <Step>
    From a Teams account that matches a Servicely user, open the Servicely app and send a message. Check that the assistant replies.
  </Step>
  <Step>
    Ask a follow-up question, then send `/newchat`. Check that the next answer has no memory of the earlier exchange.
  </Step>
</Steps>


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.

## Related

- [Register an Azure bot](page:integrations/teams/register-an-azure-bot)
- [AI assistants](page:sofi/ai-assistants)
- [Configure an AI assistant](page:sofi/configure-an-ai-assistant)
- [Connect Sofi to WhatsApp](page:integrations/whatsapp/connect-sofi)
