---
title: "Connect Sofi to Microsoft Teams"
site: admin
version: 2027.1
versions: "all"
url: https://docs-new.servicely.ai/admin/2027.1/integrations/teams/connect-sofi/
type: task
application: integration_microsoft_teams
last_updated: 2026-12-03
commit: 6777698daac5
---


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/assistants/configure-an-ai-assistant).

## Steps

<Steps>
  <Step>
    Go to **AI assistants & agents → Assistants & Agents → AI Assistants** and open the assistant.

    <Image src="asset:screenshots/admin/integrations-teams-connect-sofi/nav-ai-assistants.png">The AI Assistants item in the AI assistants & agents menu.</Image>
  </Step>
  <Step>
    On the **Selection context** tab, add **Teams** to **Channels**, or set it to **All**, and save. An empty **Channels** list means the assistant answers only in Servicely.

    <Image src="asset:screenshots/admin/integrations-teams-connect-sofi/assistant-channels.png">The Channels field on the Selection context tab of an AI assistant.</Image>
  </Step>
  <Step>
    Go to **Messaging & notifications → Accounts & channels → Messaging accounts** and open **Microsoft Teams**.

    <Image src="asset:screenshots/admin/integrations-teams-connect-sofi/nav-messaging-accounts.png">The Messaging accounts item in the Accounts & channels menu.</Image>
  </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>

Keep assistants that change configuration out of Teams. The **Channels** help text warns that external channels have weaker identity guarantees.

<Callout type="info">
  **Changed in 2027.1.** **Channels** is on the **Selection context** tab. The Conversation application and the older Teams endpoints are removed.
</Callout>

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/assistants/ai-assistants)
- [Configure an AI assistant](page:sofi/assistants/configure-an-ai-assistant)
- [Connect Sofi to WhatsApp](page:integrations/whatsapp/connect-sofi)
