--- title: "Publish Your Bot on Teams" slug: "mindbehind-publish-your-bot-on-teams" description: "Connect and publish your bot on Microsoft Teams via MindBehind , follow the channel setup, app packaging, and deployment steps to make your assistant available to users." tags: ["microsoft teams", "publish bot", "microsoft azure", "microsoft teams integration", "mindbehind "] updated: 2026-03-15T08:16:39Z published: 2026-03-15T08:16:39Z canonical: "academy.insiderone.com/mindbehind-publish-your-bot-on-teams" --- > ## Documentation Index > Fetch the complete documentation index at: https://academy.insiderone.com/llms.txt > Use this file to discover all available pages before exploring further. # Publish Your Bot on Teams This guide aims to explain how to publish your bot on Teams. In this guide, you can find answers to these questions: - [What are the prerequisites for publishing my bot on Teams?](/v1/docs/how-to-publish-your-bot-on-teams#prerequisites) - [How can I register the Microsoft Teams Bot in Azure?](/v1/docs/publish-your-bot-on-teams#register-the-microsoft-teams-bot-in-azure) - [How can I set up my bot for my Teams Business account?](/v1/docs/publish-your-bot-on-teams#set-up-your-bot-for-your-teams-business-account) ## Prerequisites 1. Make sure to be the **Global admin** in the Microsoft Azure portal. Other roles are not authorized to create a bot. 2. Before publishing the MindBehind bot, make sure to have a healthy bot in Microsoft Azure. 3. After having a healthy Teams bot on Azure, make sure to have a **Microsoft App ID** and **a Microsoft App Password**. ## Register the Microsoft Teams Bot in Azure > Refer to [Registering the Microsoft Teams Bot in Azure](https://kb.verba.com/display/docs/Registering+the+Microsoft+Teams+Bot+in+Azure) to follow the registration steps. 1. Log in to the [Azure portal](https://portal.azure.com/). 2. Search for **Azure Bot** in the search box at the top, then click on the link under the **Marketplace** section. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/reg2.png) 3. In the left panel, give a unique name to the **Bot handle**, select the **Subscription**, the **Resource group**, and the **Location** of the bot channel registration. The **Location** should be the same region where the **Verba Bot virtual machine** resides in Azure. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/reg3.png) 4. Click on the **Review + Create** button, and if the configuration is correct, click the **Create** button again. Creating the Azure Bot may take a few seconds. Azure will create an app registration and assign a bot service to it. 5. Once the **Bot Channels Registration** is completed, search for **Bot Services** in the search box at the top, and click on the **Bot Services** link under the **Services** section. (Alternatively, you can find Bot Services on the hamburger menu in the upper right corner. Navigate to **All services**> **AI + machine learning** category.) ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/reg5.png) 6. Select the **Bot Service** from the list that was created previously using the name provided in Step 3 (Bot handle). 7. In the second left panel, under the **Bot services** section, click on the **Bot service** menu.![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/how-to-publish-your-bot-on-teams-image-smam4mzt.jpg) 8. Click the **Channels** option inside the bot service.![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/reg7.png) 9. Under the **Add featured channel** section, select the **Teams** icon (Configure Microsoft Teams channel). 10. Click the **Save** button and agree to the terms of service. 11. Search for **App registrations** in the search box at the top and click on the **App Registrations** link under the **Services** section. (Alternatively, to find the App registrations, you can open the **hamburger menu** in the upper right corner and navigate to **Azure Active Directory**> **App registrations** in the left panel.) ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/reg10.png) 12. Select the **App Registrations** from the list that was created previously using the name provided in Step 3 (Bot handle). 13. Copy the **Application (client) ID** and the **Directory (tenant) ID**. You will need them later. Application (client) ID is MICROSOFT-APP-ID that you will use when you add the Teams Channel to your Mindbehind Account Channel. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/reg12.png) 14. Select the **Certificates & Secrets** menu in the left panel. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/reg13.png) 15. Under the Client Secrets section, click the **New Client Secret** button. 16. Provide a description, set when the secret expires**,** and click on the **Add** button. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/reg15.png) 17. Copy the new "Client secret". You will need it later.**Client Secret** is MICROSOFT-APP-PASSWORD that you will use when you add the Teams Channel to your Mindbehind Account Channel. 18. Navigate to the **Manage** section in the left menu and click the **Authentication** menu. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/peg17.png) 19. Under the **Platform configuration** sections, click on the **Add a platform** button. 20. Select **Web** in the right panel. 21. Provide a **Redirect URL**. It can be any website. Copy the **URL** since you will need it later. 22. Click the **Configure** button at the bottom. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/reg19.png) 23. To configure permissions for the bot, go to the left panel and click on the **API permissions** menu under the **Manage** section. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/reg22.png) 24. Click the **Add a permission** button. 25. Select the **Microsoft Graph**, then select **Application permissions**. 26. You can select the following permissions: - Calendars.Read - Calls.AccessMedia.All - Calls.Initiate.All - Calls.InitiateGroupCall.All - Calls.JoinGroupCall.All - Calls.JoinGroupCallAsGuest.All - OnlineMeetings.Read.All - User.Read.All The same **App Registration** can be used for the chat recording. In that case, add the following permissions: - Calls.AccessMedia.All - Calendars.Read - Calls.Initiate.All - Calls.InitiateGroupCall.All - Calls.JoinGroupCall.All - Calls.JoinGroupCallAsGuest.All - OnlineMeetings.Read.All - User.Read.All - Group.Read.All - Chat.Read.All - ChannelMessage.Read.All - ChannelMember.Read.All - Directory.Read.All - Files.Read.All - Sites.Read.All If the **Chat recording** will be used, the protected API access has to be requested. You can go to the **Protected API Access for Chat Recording** section at the bottom. 27. Click on the **Add Permissions** button. 28. To grant admin consent to the permissions, you should separate **Azure tenants** for the recording provider (bot) and the Teams environment to record. In the case when the recorded Teams environment and the recording bot are in separate Azure tenants, the following steps should be followed using the **Tenant ID** of the **Azure tenant** where the Teams environment to record resides, and also using a user that has the **Teams Service Admin** or **Global Admin** role in that tenant. 29. To get the Tenant ID, log in to the [Azure portal](https://portal.azure.com/) of that tenant and go to the **Azure Active Directory**. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/reg28.png)If the same bot is being used in **multiple tenants**, you should follow the steps below for each tenant using the guidelines above. 30. Build the consent **URL**. You can use [this format](https://login.microsoftonline.com/%7Btenant_id%7D/adminconsent?client_id=%20{microsoft_app_id}&state=12345&redirect_uri={redirect_uri}). You can replace the "{tenant_id} "part with the "Directory (tenant) ID" and "****the {microsoft_app_id}" part with the "Application (client) ID" from Step 12**.** Replace the "{redirect_uri}" part with the URL from Step 20. 31. Copy the previously created **c****onsent URL** into the browser, then click the **Enter** button. Log in with a **Teams Service Admin** or **Global Admin** user of the Azure tenant where the Teams environment to record resides. Click the **Accept** button. The page will redirect to the webpage provided in the **Redirect URL** setting. 32. After successfully publishing the bot, visit the **Configuration** page on the left menu, and add a messaging endpoint such as: https://app.mindbehind.com/external/v1/incoming/teams/{microsoftAppID} 33. Provide the **Microsoft App ID** that you received in Step 14. You can also see your Microsoft App ID below. We have an endpoint for you to receive your messages through the bot. You should provide a messaging endpoint with your app ID. 34. Select the **Bot Typ****e** as “MultiTenant” in the screen below. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/reg32.png)35. You can see the **bot URL** that you can send through Teams from the **Channels** tab. You will see your **Microsoft Teams Healthy** channel and the **Open in Teams** button, which redirects you to the Teams App. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/reg33.png)![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/reg34.png) ## Set up your bot for your Teams Business account 1. Go to the MindBehind platform. 2. Choose the company that your assistant belongs to. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/cc(1).png) 3. Click on the **Channels** tab. 4. Select the **Add Teams** option from the dropdown.![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/cc4.png) 5. Add the credentials that you have in Microsoft Azure Bot, such as your **APP ID** and **password** (client secret value).  ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/teams5.png) The Client Secret value can only be copied when you create a client secret. 6. Go to your assistant. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/9assist(1).png) 7. Click the **Publish** button r ight at the top. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/publishmb*(1).png) 8. Under the Channels tab, you can see the pages that you have added. 9. Click the **Deployments** tab and click the **Add Deployment** button.![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/how-to-publish-your-bot-on-teams-image-fedfvima.jpg) 10. Select your channel. 11. Select the assistant version and click the **Publish** button. Congratulations! It is all done. Your bot is running on your Teams bot as well.