1. Overview
  2. Sendent for MS Teams
  3. Getting Started (Administrator)
  4. How to Set Up and Configure an Azure Bot Resource

How to Set Up and Configure an Azure Bot Resource

This guide will walk you through the process of setting up and configuring an Azure Bot for integration with Microsoft Teams. Follow these steps carefully to ensure a successful setup. Creating the Azure Bot Resource

Log in to the Azure Portal

Open your web browser and navigate to [Azure Portal] 'https://portal.azure.com' as an administrator and log in using your organization's credentials.

Create the Azure Bot Resource

1. Click the Create a Resource button.

2. In the search box at the top, enter Azure Bot and press enter.

3. Click on the Azure Bot option from the search results.

4. Click the Create button.

5. Enter the Bot handle. The Bot Handle is a unique identifier for your bot. You can choose a different Display Name for your bot in the Settings blade after bot creation.

6. Choose the resource group with which to associate the Bot. A resource group is a collection of resources that share the same lifecycle, permissions, and policies.

7. To further define boundaries for your data, specify an option for data residency. This limits the regions where data is stored and processed and the channels available for your bot.

8. Select a pricing tier for your Azure Bot resource. You can change your selection later in the Azure portal's resource management.

Please note that the free plan should suffice. 

9. Click the change plan option, select the free tier, and click the Select button.

10. Choose the type of App as multi-tenant. This determines whether your bot will access resources only in its home tenant. Choose either the single-tenant or multi-tenant option, respectively.

11. A Microsoft App ID is required to create an Azure Bot resource. Choose the option to create a new Microsoft App ID. 

12. Click the "Review + Create" button.

13. Click the Create button to finish the process.

14. Once you've finished setting up the resource, you can proceed from the deployment overview to the actual Azure Bot resource itself.

Follow the instructions provided in the [Azure Bot Service Quickstart Registration](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-registration) to create a new Azure Bot resource.

 

Configuring the Azure Bot

In the Azure Bot resource, navigate to Settings > Configuration.
This section contains several settings you need to modify. Refer to the visual guidance provided in the Azure Portal for assistance.

1. Locate the "Messaging Endpoint" field.

2. Update the "Messaging Endpoint" to redirect to `https://<yourdomain>/api/messages`. For example, if your domain is `teams-installation.example.com,` the URL should be `https://teams-installation.example.com/api/messages.`

 

3. Ensure you save the Microsoft App ID displayed in the configuration settings. This ID will be necessary when setting up your docker container.

4. Within the Settings section, switch to the Channels tab.

5. Locate and click the Microsoft Teams and read and agree to the terms of service to proceed.

6. Ensure that the option 'Microsoft Teams Commercial' is chosen and click the Apply button.

Now that your Sendent bot resource is all set up you can now proceed to setup your docker container as highlighted in this article. 


Was this article helpful?