Distribute Azure Health Chatbot Using Microsoft Teams Apps

Distribute Azure Health Chatbot Using Microsoft Teams Apps

Microsoft Azure Bot Services provide us a managed, highly scaled platform for developing intelligent, enterprise-grade chatbots. Microsoft Azure Health Chatbot abstracted out the complex part of data validation, regulation, data privacy from the platform. It provided an opportunity for the organization to build and deploy an AI-based healthcare bot rapidly. With the power of Azure Platform, you can expand the chatbot across several channels, including Web, Desktop, integrate with Whatsapp, Microsoft Team, or any other external interface using Directline APIs. This post let us learn how to integrate with an Azure Health Chatbot with Microsoft Team Apps and distribute it across the organization.

In the previous post, we have learned how to enable a channel for Microsoft Team and connect Health Bot using Bot Id. However, that has the limitation on sharing the Id across, and people need to search for the Id. We can make these experiences better and distribute the app across organizations using the Microsoft Teams App. Having a Team app makes it is easy to discover, manageable, and easy to distribute and control using different policies. However, before starting with this post, make sure you read one of the previous posts on – Create your first AI-powered, compliant Chatbot using Azure Health Bot.

Before you move further, make sure you read the following two posts so that you have the background on building Azure Health Chatbot and the basic way to integrate with Microsoft Teams

Developing Microsoft Teams Apps

Microsoft Teams allows developers to build custom applications and deploy them using SDKs. There are three key types of apps Microsoft Teams allows developers to build.

  • Tabs
  • Bot
  • Messaging Extension

Microsoft Teams Apps SDK provides powerful integration with different connectors and Microsoft Graphs to build an enterprise application. To start developing Teams App, We can use the following three ways.

To start something really quick and move the app to end user hands App Studio would be the first preference in my opinion.

Read More : Build Apps for Microsoft Teams

App Studio for Microsoft Teams Apps

If you want to develop Microsoft Teams App, you must get started with App Studio. It makes it very easy to start building an app and integrate with Team and distribute it.

So, as a first steps, install “App Studio” in your Team.

App Studio for Microsoft Team
Install App Studio

Integrate Azure Health Chatbot with Microsoft Teams App

Once you have the “App Studio” install, you can create a Teams Apps by following the steps

Firstly, Navigate to the Manifest Editor and click on “Create a new App“. You can choose “Bot Management” as well for the Bot. But, using App, you can add other capabilities like Tabs and Extension in the future if you want.

App Studio Create New App
Create new Apps in Teams

Secondly, all the basic information including App Name, App Id, Version, etc. Once all the required information is provided, you can move to the capabilities section and select “Bots

Provide App Details in App Studio
Configure the Basic Details of Teams App

Bots capabilities will allows us create a new Bot for the Teams App or add an existing Bot. Click on “Set up

Configure the Chat bot in App Studio
Setup the Bot for Teams App

In the set up a bot dialog windows, move the “Existing bot” tab

Provide the Health Bot Id
Add the Health Bot Id as an existing Bot

Once the bot Id is configured, Bot capabilities allow you to delete or edit the configured bot. Here you can also add additional commands for your bot.

Bot Configuration
Configure the Chat Bot Capabilities


Distribute Azure Health Chatbot using Microsoft Teams Apps

Once the configuration is done, our next step would but publish this application. Move to the Finish section of the Teams App creation Steps and select “Test and Distributes.” Here you will have multiple options to test and distribute the app.

Test and Distribute your Bot
Test and Distribute Teams App

You can click on the “Install” option to install the application within Microsoft Teams for your account and test the app. Make sure you have permission to install custom apps. This needs to be set up by your administrator in the Teams Admin portal. This will allows you to install the custom application within your teams and test it out.

If you don’t have permission to install the custom app, you will get permission issues while adding the bot to your teams.

Add Health Bot to your teams
Add Health bot to your teams

Once you are done with validation and test the app in your local, you can download the package or publish the app to the Microsoft Teams store for your organization. Once your Teams administrator approves it, the app will be available for everyone under “Build for your org.” Anyone from your organization can now download the app and start using the bot,

Health Bot for your orgs
Health Bot built for your org
DON'T MISS OUT!
Subscribe To Newsletter For your Daily Development Tips and Tricks  

 Best Tips & Tricks on Microsoft Technology Platform 

Invalid email address
We promise not to spam you. You can unsubscribe at any time.
Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.

2 Comments to “Distribute Azure Health Chatbot Using Microsoft Teams Apps”

Post Comment