---
title: "Register an Azure bot"
site: admin
version: 2027.1
versions: "all"
url: https://docs-new.servicely.ai/admin/2027.1/integrations/teams/register-an-azure-bot/
type: task
application: integration_microsoft_teams
last_updated: 2026-12-03
commit: 5179586f69bd
---


Register an Azure bot once per Servicely instance before you send notifications or connect Sofi to Microsoft Teams. You end with a Teams app your users can install, linked to the Microsoft Teams messaging account in Servicely.

## Before you begin

- You need the `administrator` role in Servicely.
- You need rights in Microsoft Azure to create app registrations and Azure Bot resources, and Teams administrator rights to publish apps.
- Install the **Microsoft Teams Integration** application. It ships an inactive messaging account named **Microsoft Teams**.

<Image src="asset:screenshots/admin/integrations-teams-register-an-azure-bot/teams-integration-application.png">The Microsoft Teams Integration application on the Applications page.</Image>

## Steps

<Steps>
  <Step>
    In the Azure portal, go to **Microsoft Entra ID → App registrations → New registration**. Enter a name such as "Servicely Teams Bot". Choose single tenant, leave **Redirect URI** blank and select **Register**. Note the **Application (client) ID** and **Directory (tenant) ID**.

    <Image src="asset:screenshots/admin/integrations-teams-register-an-azure-bot/image-18.png">The Azure portal search with App registrations in the results.</Image>
  </Step>
  <Step>
    In the registration, go to **Certificates & secrets → Client secrets → New client secret**. Copy the **Value** at once. Azure hides it when you leave the page, and the Secret ID is not the value you need.

    <Image src="asset:screenshots/admin/integrations-teams-register-an-azure-bot/image-7.png">A new client secret with its Value column visible.</Image>
  </Step>
  <Step>
    Search the Azure portal for **Azure Bot** and select it under **Marketplace**. Create the bot with the settings in the table below, then select **Go to resource**.

    <Image src="asset:screenshots/admin/integrations-teams-register-an-azure-bot/image-2.png">The Azure portal search with Azure Bot under Marketplace.</Image>
  </Step>
  <Step>
    In the bot, go to **Settings → Channels** and select **Microsoft Teams**. Accept the terms, choose **Microsoft Teams Commercial** and select **Apply**.

    <Image src="asset:screenshots/admin/integrations-teams-register-an-azure-bot/image-8.png">The bot's Channels page with Microsoft Teams in the list of available channels.</Image>
  </Step>
  <Step>
    In Servicely, go to **Messaging & notifications → Accounts & channels → Messaging accounts** and open **Microsoft Teams**. Fill in **App Id**, **App secret** and **Tenant Id** from steps 1 and 2. Select **Uses Multitenant Bot** only for a multi-tenant registration. Save.

    <Image src="asset:screenshots/admin/integrations-teams-register-an-azure-bot/nav-messaging-accounts.png">The Messaging accounts item in the Accounts & channels menu.</Image>
  </Step>
  <Step>
    Select **Copy endpoint URL**. The URL ends with `/_messaging/v3/teams/` and the account's record ID.

    <Image src="asset:screenshots/admin/integrations-teams-register-an-azure-bot/teams-messaging-account.png">The Microsoft Teams messaging account with Test Connection and Copy endpoint URL at the foot.</Image>
  </Step>
  <Step>
    In the Azure bot, go to **Settings → Configuration**. Paste the URL into **Messaging endpoint** and select **Apply**. Leaving the field does not save it.

    <Image src="asset:screenshots/admin/integrations-teams-register-an-azure-bot/image-6.png">The bot's Configuration page with the Messaging endpoint field.</Image>
  </Step>
  <Step>
    In the [Teams Developer Portal](https://dev.teams.microsoft.com/), go to **Apps → New app**. On **Basic information**, enter the names and descriptions users will see, and paste the **Application (client) ID**. Save.
  </Step>
  <Step>
    Go to **App features → Bot**. Enter the application ID as the bot ID. Select **Upload and download files** and the scopes users need, at least **Personal**. Save.

    <Image src="asset:screenshots/admin/integrations-teams-register-an-azure-bot/image-19.png">The bot settings with Upload and download files and the Personal, Team and Group Chat scopes selected.</Image>
  </Step>
  <Step>
    Run **App validation**, then select **Publish → Publish to your org**.

    <Image src="asset:screenshots/admin/integrations-teams-register-an-azure-bot/image-14.png">The Publish menu with Publish to your org.</Image>
  </Step>
  <Step>
    In the [Teams Admin Center](https://admin.teams.microsoft.com/policies/manage-apps), go to **Teams apps → Manage apps**. Find the app, which is pending approval, and publish it. Restrict who can install it if you are testing.

    <Image src="asset:screenshots/admin/integrations-teams-register-an-azure-bot/image-15.png">Manage apps in the Teams Admin Center with the new app pending approval.</Image>
  </Step>
  <Step>
    In the Developer Portal, copy the **App ID** from **Basic information**. Paste it into **Manifest Id** on the Microsoft Teams messaging account, set **Active** and save. Select **Test Connection**.

    <Image src="asset:screenshots/admin/integrations-teams-register-an-azure-bot/cleanshot-2025-08-26-at-120754-2x.png">The app's Basic information page with the App ID.</Image>
  </Step>
</Steps>

| Azure Bot setting | Value |
| --- | --- |
| Bot handle | A unique name, used only in Azure. Name it after the instance. |
| Subscription and Resource group | The subscription and resource group to hold the bot |
| Pricing tier | The tier you need. Change it with **Change plan**. |
| Type of App | Single Tenant, unless the registration is multi-tenant |
| Creation type | **Use existing app registration**, pointing at the registration from step 1 |

## Result

**Test Connection** reports success when the app ID, secret and tenant ID can obtain a token from Microsoft. Publishing in Teams can take from minutes to hours. Then users can find and install the app like any other Teams app. Test Connection does not check the messaging endpoint or the Teams channel. A message sent to the bot checks those.

<Callout type="info">
  **Changed in 2027.1.** The older Teams messaging endpoints and the `messaging.teams.pipeline` property are removed. Every Teams messaging account must use the `/_messaging/v3/teams/` endpoint. Move any account on an older endpoint before you upgrade. No migration runs.
</Callout>

## Related

- [Send notifications to Microsoft Teams](page:integrations/teams/connect-notifications)
- [Connect Sofi to Microsoft Teams](page:integrations/teams/connect-sofi)
- [Create Teams group chats from records](page:integrations/teams/group-chats)
