LogoLogo
  • 🖐️Welcome Aboard!
  • 📖Information
    • What is Autom Mate?
    • What is Autom?
    • Features of Autom Mate
    • Architecture of Autom Mate
  • 🤓Learn Autom Basics
  • 📚Libraries
    • Integration
      • Active Directory
      • AFAS
      • Autom Mate
      • Azure Active Directory
      • Azure DevOps
      • BambooHR
      • ChatGPT
      • ConnectWise
      • Database
      • Desktop Actions
      • EasyVista
      • Email
      • Exchange Web Server
      • Exact Online
      • Excel
      • Freshdesk
      • Freshservice
      • Ftp-Sftp
      • GitLab
      • Google Drive
      • Google Workspace
      • HaloITSM
      • Hubspot
      • Intune
      • Ivanti Service Manager
      • Jenkins
      • Jira Confluence
      • Jira Service Management
      • Jira Software
      • Lakeside
      • Lansweeper
      • ME ServiceDesk Plus
      • Microsoft Outlook Calendar
      • Microsoft SharePoint
      • Microsoft Teams
      • My ChatGPT
      • OCR
      • PDF
      • PowerShell
      • Python
      • RESTful Web Service
      • Salesforce
      • ServiceDesk Plus Cloud
      • ServiceNow
      • Slack
      • SolarWinds
      • Stripe
      • TOPdesk
      • Twilio
      • Twitch
      • VMware
      • WhatsApp
      • Word
      • X
      • Xurrent
    • Transform
      • Advanced Actions
      • Array
      • Base64
      • Condition
      • Cryptography
      • CSV
      • Data Table
      • Date
      • File
      • Folder
      • Number
      • Object
      • Repeatable
      • SSH
      • String
      • Text
    • Utility
      • Display Message
      • Grouping
      • Mate DB
      • Mate Drive
      • Time Management
    • Agentic AI (Beta Version)
      • Open AI (Beta Version)
  • 🎇Autom Features
    • Variables
    • Triggers
    • Data Manager
    • Debug
    • Stop Action
    • Function
    • Error Handling and Exception Management
    • Development Mode ( Dev Mode )
    • Business Impact Estimator
  • 🛰️Product Features
    • Dashboard
      • Dashboard
      • Monitoring
      • Alerts
    • Store
      • Autom Store
      • Library Store
    • My Environment
      • Mate Agent
      • Automs
      • Libraries
    • Management
      • User Management
        • Users
        • Roles
        • Forgot Password
      • Vault
      • Webhook & API
      • Alert Management
      • Queue
    • Create Autom
    • Settings
    • Time Zone Management in Autom Mate
  • 💾Installation Setup
    • System Requirements and Ports Configuration
    • Autom Center Installation
      • Autom Center Installation
      • Autom Center Update
    • Mate Agent Installation
      • Mate Agent Installation
      • Mate Agent Update
    • App Installations
      • MS Teams ChatBot Installation
    • Full Chain PFX File Creation Guide
  • 📔Release Notes
    • Amsterdam Edition
      • Amsterdam 3.2.9
      • Amsterdam 3.3.0
    • Boston Edition
      • Boston 4.0.0
      • Boston 4.1.0
      • Boston 4.2.0
      • Boston 4.3.0
        • Boston 4.3.1
        • Boston 4.3.2
        • Boston 4.3.3
        • Boston 4.3.4
        • Boston 4.3.5
        • Boston 4.3.6
        • Boston 4.3.7
      • Boston 4.4.0
        • Boston 4.4.1
  • 🎓Academy
    • 🎓Autom Mate Academy: Basics of Autom Mate
    • 🎓Mastering Automation with Autom Mate: From Workflow Creation
    • 🎓The Ultimate Autom Mate: Teams & Smart Integrations
  • 👔Autom Store & Use Cases
    • 🛒Autom Store Use Cases
    • 🖥️Use Cases
      • How to Create Bidirectional Connection Between JIRA and Xurrent to Open Requests or Tickets
      • Employee Onboarding Process Automation Using Autom Mate
  • ❓FAQ
    • ⚙️General Functionality
    • 🧩Integration Capabilities
    • Data Management and Validation
    • ⁉️Error Handling and Workflow Management
    • Automation Use Cases
    • Connectors and Triggers
    • Custom GPT Models
Powered by GitBook
On this page
  • Overview
  • Creating the Bot
  • 1. Access the Azure Portal
  • 2. Create a New Resource
  • 3. Search for Azure Bot
  • 4. Create the Azure Bot
  • 5. Review and Create
  • 6. Go to Resource
  • 7. Configure Channels
  • 8. Add Microsoft Teams Channel
  • 9. Configure Messaging Endpoint and Application ID
  • 10. Manage Password
  • 11. Create Client Secret
  • 12. Customize Your Bot
  • 13. Publish the Bot as an App on Developer Portal
  • 14. Create a New App
  • 15. Fill Basic Information
  • 16. Set Permissions
  • 17. Configure Bot Features
  • 18. Publish the App
  • 19. Test the App
  • 20. Upload the App to Teams Admin Center
  • 21. Chat with Your Bot

Was this helpful?

  1. Installation Setup
  2. App Installations

MS Teams ChatBot Installation

Creating and Configuring an Azure Bot for Microsoft Teams

PreviousApp InstallationsNextFull Chain PFX File Creation Guide

Last updated 1 month ago

Was this helpful?

Overview

Azure Bot Service is a versatile platform hosted and developed on Microsoft Azure, designed to create and deploy chatbots. It allows bots to be utilized across various platforms and channels such as websites, mobile applications, Microsoft Teams, Skype, Facebook Messenger, and more.

Azure Bot Service equips developers with a range of tools and services, including natural language processing (NLP) capabilities, enabling bots to interact naturally with users through text or speech. Additionally, it integrates with the Azure Bot Framework, offering a variety of APIs and resources for developers to customize and enhance their bots.

This service allows businesses to automate and improve a multitude of tasks, from customer support to information dissemination, by creating efficient and responsive chatbots. Bots can be programmed to answer user questions, provide services, or perform specific tasks, thereby streamlining operations and enhancing user engagement.

In summary, the Azure Bot resource provides the essential infrastructure for a bot to access secured resources and enables communication with users through various channels like Web Chat. This guide will help you set up and configure an Azure Bot for seamless integration with Microsoft Teams, ensuring robust and dynamic interactions with your users.

Creating the Bot

You can follow the video of MS Teams bot creation. The steps on the video are listed below.

1. Access the Azure Portal

Instruction: Go to the Azure portal.

Detailed Guide: Visit the Azure Portal to manage your Azure resources.

Implementation Steps:

  1. Open your web browser.

2. Create a New Resource

Instruction: Under the Azure Services, select Create a resource.

Detailed Guide: Once in the Azure Portal, look for the "Azure Services" section on the main dashboard. Click on Create a resource.

Implementation Steps:

  1. In the Azure Portal, locate the "Azure Services" section.

  2. Click on Create a resource.

3. Search for Azure Bot

Instruction: In the search box, enter bot, then press Enter. Select the Azure Bot card.

Detailed Guide: In the "Create a resource" page, you will find a search box. Enter bot and press Enter. From the search results, select the Azure Bot card.

Implementation Steps:

  1. In the "Create a resource" page, find the search box.

  2. Enter bot and press Enter.

  3. From the search results, select the Azure Bot card.

4. Create the Azure Bot

Instruction: Select Create. Enter the required values.

Detailed Guide: Click the Create button. You will need to enter several required values:

  • Bot handle: A unique identifier for your bot.

  • Subscription: Choose your Azure subscription.

  • Resource Group: Either create a new resource group or use an existing one.

  • Region: Select the appropriate region.

  • Implementation Steps:

  1. Click the Create button.

  2. Enter the required values:

    • Bot handle: A unique identifier for your bot.

    • Subscription: Choose your Azure subscription.

    • Resource Group: Either create a new resource group or use an existing one.

    • Region: Select the appropriate region.

5. Review and Create

Instruction: Select “Review + create.” If the validation passes, select Create. You should see the Azure Bot and the related key vault resources listed in the resource group you selected.

Detailed Guide: After filling in the required fields, click Review + create. If the validation passes, click Create.

Implementation Steps:

  1. Click Review + create.

  2. If validation passes, click Create.

6. Go to Resource

Instruction: After the Create process is completed, select Go to Resource.

Detailed Guide: Once the creation process is complete, click on Go to resource to access your Azure Bot.

Implementation Steps:

  1. After the creation process completes, click Go to resource.

7. Configure Channels

Instruction: On the resource page, click Channels on the left side panel.

Detailed Guide: On the Azure Bot resource page, look for the Channels option in the left-side panel and click it.

Implementation Steps:

  1. On the Azure Bot resource page, find the Channels option in the left-side panel.

  2. Click Channels.

8. Add Microsoft Teams Channel

Instruction: On the Channel page, click on Microsoft Teams and accept the Terms of Service. On the next page, select Microsoft Teams Commercial option and then click Apply at the bottom of the page.

Detailed Guide: In the Channels page, find and click on Microsoft Teams. Review and accept the Terms of Service. On the next page, select Microsoft Teams Commercial and click Apply.

Implementation Steps:

  1. In the Channels page, click on Microsoft Teams.

  2. Review and accept the Terms of Service.

  3. On the next page, select Microsoft Teams Commercial and click Apply.

9. Configure Messaging Endpoint and Application ID

Instruction: Select Configuration from the left side pane to fill the configuration fields like Messaging Endpoint and having Application ID and defining Application Password.

Detailed Guide: Navigate to the Configuration section in the left-side pane. Fill in the Messaging Endpoint with your Autom Mate Flow Webhook URL. Note down your Microsoft App ID, which will be used for creating App Credentials under Autom Mate’s Vault module. Next to the Microsoft App ID label, click Manage Password to define the Application Password.

Implementation Steps:

  1. Navigate to the Configuration section in the left-side pane.

  2. Fill in the Messaging Endpoint with your Autom Mate Flow Webhook URL.

  3. Note down your Microsoft App ID.

  4. Next to the Microsoft App ID label, click Manage Password to define the Application Password.

10. Manage Password

Instruction: To define Microsoft Password, click on Manage Password right next to Microsoft App ID Label. After you click Manage Password, select New client secret.

Detailed Guide: After clicking Manage Password, select New client secret.

Implementation Steps:

  1. Click Manage Password next to the Microsoft App ID label.

  2. Select New client secret.

11. Create Client Secret

Instruction: On the right side pane, fill the Description field to specify your Client secret’s friendly name and select one option to define Expire date of your client secret. Also, you can define a custom date as well. Click Add to save your Client secret. Copy your client secret by clicking right next to the created Value column.

Detailed Guide: On the right-side pane, fill in the Description field with a friendly name for your client secret. Choose an expiration date or set a custom date. Click Add to save the client secret. Copy your client secret from the value column.

Implementation Steps:

  1. On the right-side pane, fill in the Description field with a friendly name for your client secret.

  2. Choose an expiration date or set a custom date.

  3. Click Add to save the client secret.

  4. Copy your client secret from the value column.

12. Customize Your Bot

Instruction: If you want to customize your bot, click Branding & properties. To customize your bot with your company’s assets like Logo, website URL, terms of service URL, privacy statement URL, etc., fill in the necessary fields.

Detailed Guide: Go to Branding & properties to customize your bot with your company's assets. Fill in details like logo, website URL, terms of service URL, privacy statement URL, etc.

Implementation Steps:

  1. Click Branding & properties.

  2. Fill in the necessary fields such as logo, website URL, terms of service URL, and privacy statement URL.

13. Publish the Bot as an App on Developer Portal

Instruction: After creating the Azure bot on Azure Portal, publish the bot as an app on the developer portal. Go to Developer Portal. Click “Apps” from the left-side pane.

Implementation Steps:

  1. From the left-side pane, select Apps.

14. Create a New App

Instruction: Click “New App” from the top nav bar. Enter the name of the app and click “Add”.

Detailed Guide: Click New App from the top navigation bar. Enter the name of your app and click Add.

Implementation Steps:

  1. Click New App from the top navigation bar.

  2. Enter the name of your app.

  3. Click Add.

15. Fill Basic Information

Instruction: Fill the required fields under the “Basic Information” section. Fill the “Application (Client) ID” field with the ID value of your Azure Bot. After you fill all required fields, click “Save”.

Detailed Guide: Complete the required fields under the Basic Information section. In the Application (Client) ID field, enter the ID value of your Azure Bot. Click Save.

Implementation Steps:

  1. Complete the required fields under the Basic Information section.

  2. In the Application (Client) ID field, enter the ID value of your Azure Bot.

  3. Click Save.

16. Set Permissions

Instruction: From the left sidebar, click on “Permissions”. Under the Teams Permission, expand the application section and then select ChannelMessage.Read.Group and ChannelMessage.Send.Group. Under Chat/Messaging Permissions, expand the application section and then select ChatMessage.Read.Chat and ChatMessage.Send.Chat. Lastly, save all changes.

Implementation Steps:

  1. From the left sidebar, click on Permissions.

  2. Under Teams Permission, expand the application section and then select ChannelMessage.Read.Group and ChannelMessage.Send.Group.

  3. Under Chat/Messaging Permissions, expand the application section and then select ChatMessage.Read.Chat and ChatMessage.Send.Chat.

  4. Save all changes.

Important Warning When Setting Permissions

When configuring permissions in the Application Section, follow these steps carefully to ensure correct setup:

  1. Teams Permissions: Expand the Application Section and select both ChannelMessage.Read.Group and ChannelMessage.Send.Group.

  2. Chat/Messaging Permissions: Expand the Application Section again and select both ChatMessage.Read.Chat and ChatMessage.Send.Chat.

Note: After selecting the necessary permissions, save all changes to apply them correctly. Failure to save the changes will result in the permissions not being activated, which may affect functionality and access. Double-check your selections before saving to ensure everything is configured properly.

17. Configure Bot Features

Instruction: After saving permissions' information, click on "App Features" from the left sidebar. On the App Features page, click on Bot. Fill the Bot ID field with your Bot’s app ID and check the checkboxes under the scopes. Then click Save.

Detailed Guide: Click on App Features from the left sidebar. On the App Features page, click on Bot. Enter the Bot ID with your Bot’s app ID. Check the appropriate checkboxes under the scopes. Click Save.

Implementation Steps:

  1. Click on App Features from the left sidebar.

  2. On the App Features page, click on Bot.

  3. Enter the Bot ID with your Bot’s app ID.

  4. Check the appropriate checkboxes under the scopes.

  5. Click Save.

18. Publish the App

Instruction: Click “Publish” from the top-right corner to download the app package. Click “Download the app package” to use the package on publishing process. A zip file will be downloaded automatically and it should include manifest JSON, color, and outline image files.

Detailed Guide: Click Publish from the top-right corner to download the app package. Click Download the app package to download a zip file that includes the manifest JSON, color, and outline image files.

Implementation Steps:

  1. Click Publish from the top-right corner to download the app package.

  2. Click Download the app package to download a zip file that includes the manifest JSON, color, and outline image files.

19. Test the App

Instruction: Before publishing the app package, test it by going to the Teams app validator page. Click “Upload manifest package” and select the downloaded zip file to validate your package. The test must be successful, otherwise possible errors must be corrected and the testing process must be started again.

Implementation Steps:

  1. Click Upload manifest package and select the downloaded zip file to validate your package.

  2. Ensure the test is successful; if there are errors, correct them and re-test.

20. Upload the App to Teams Admin Center

Instruction: To publish your app package, go to Teams Admin Center. Click “Upload new app” from the apps page. Click “Upload” and select the downloaded package that you created on the developer portal. The custom app should be uploaded successfully and the success modal should appear on the screen. You should see your app on the list by searching for the name of your app.

Implementation Steps:

  1. From the Apps page, click Upload new app.

  2. Click Upload and select the downloaded package.

  3. The custom app should be uploaded successfully, and a success modal should appear on the screen.

  4. Verify your app is listed by searching for its name.

21. Chat with Your Bot

Instruction: To chat with your bot, go to Microsoft Teams on your computer. Click “Apps” from the left side pane and search for your app name that you just published. You should see that your bot has appeared. Click “Add”.

Detailed Guide: Open Microsoft Teams on your computer. From the left-side pane, click Apps and search for your app name. Click Add to start chatting with your bot.

Implementation Steps:

  1. Open Microsoft Teams on your computer.

  2. From the left-side pane, click Apps.

  3. Search for your app name.

  4. Click Add to start chatting with your bot.

Navigate to .

Microsoft Documentation Link:

Microsoft Documentation Link:

Microsoft Documentation Link:

Microsoft Documentation Link:

Microsoft Documentation Link:

Microsoft Documentation Link:

Microsoft Documentation Link:

Microsoft Documentation Link:

Microsoft Documentation Link:

Microsoft Documentation Link:

Detailed Guide: Go to the . From the left-side pane, select Apps.

Go to the .

Microsoft Documentation Link:

Microsoft Documentation Link:

Microsoft Documentation Link:

Microsoft Documentation Link:

Microsoft Documentation Link:

Detailed Guide: Go to the Click Upload manifest package and select the downloaded zip file to validate your package. Ensure the test is successful; if there are errors, correct them and re-test.

Go to the

Microsoft Documentation Link:

Detailed Guide: Go to the . From the Apps page, click Upload new app. Click Upload and select the downloaded package. The custom app should be uploaded successfully, and a success modal should appear on the screen. Verify your app is listed by searching for its name.

Go to the .

Microsoft Documentation Link:

Microsoft Documentation Link:

Azure Portal
Azure Portal
Create a resource in Azure
Create a bot with Azure Bot Service
Create a resource in Azure
Manage resources in the Azure portal
Connect a bot to channels
Configure your bot
Add a client secret
Add a client secret
Customize bot branding
Developer Portal
Developer Portal
Overview of Teams Developer Portal
Create your first Microsoft Teams app
Teams app manifest
Set permissions for Microsoft Teams apps
Publish your app
Teams App Validator.
Teams App Validator.
Validate your Microsoft Teams app
Teams Admin Center
Teams Admin Center
Manage apps in Teams Admin Center
Add and manage apps in Microsoft Teams
💾
Page cover image