---
title: "Register an Azure bot"
site: admin
version: 1.11
versions: "all"
url: https://docs-new.servicely.ai/admin/1.11/integrations/teams/register-an-azure-bot/
type: task
application: integration_microsoft_teams
last_updated: 2026-11-24
commit: 88e011e506a8
---


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/install-teams-app.png">The Microsoft Teams Integration application in the list of available applications.</Image>

<Callout type="warning">
  In 1.11, set the application property `messaging.teams.pipeline` to `V3` before you start. **Copy endpoint URL** then returns the current endpoint. If other Teams messaging accounts still use the older endpoint, move them first, or their messages stop.
</Callout>

## 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 **Administration → Messaging → 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.
  </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/image-17.png">The messaging account form with the Copy endpoint URL button next to Save.</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.


## 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)
- [Set an application property](page:platform/set-an-application-property)
