Publishing Azure Bot Services to MS teams Store/ Publish your Azure Bot Service for Teams

Test your bot in Teams


(following links will take you to official documentation, you can skip ahead and look for the steps - ways to publish)



Create a Teams app package and upload your app to the Teams client for testing. Learn how

Publish your bot for Teams





  • Publish your bot as a Line of Business app in your organization's Teams Tenant App Catalog. Learn how
  • Publish your bot as an app in the Teams App store. Learn how

I have explained the process in detailed below. There are two ways to publish.



First way:

Create Manifest.json file and get a Icon for your Bot (Size: 192*192), create zip of these files.



The manifest.json file should look like this. Request you to change the mentioned values accordingly where it’s necessary.


Note: Please do not change below values in the Manifest JSON file. (This schema version might be obsolete in future so always check for latest one)




{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.5/MicrosoftTeams.schema.json",
"manifestVersion": "1.5",
"version": "1.0.0",
"id": "116a4a55-b826-er4r-a42a-0034sdert345a",
"packageName": "com.bottested.teams.app",
"developer": {
"name": "Sai Teja Nagamothu",
"websiteUrl": "Proactive Messages Sample",
"privacyUrl": "Microsoft Privacy Statement – Microsoft privacy",
"termsOfUseUrl": "Microsoft Privacy Statement – Microsoft privacy" },
"icons": {
"color": "color.png",
"outline": "outline.png"
},
"name": {
"short": "Bottested",
"full": ""
},
"description": {
"short": "this is a test bot for learning purposes - Azure Bot Service support team ",
"full": "this is a test bot for learning purposes - Azure Bot Service support team "
},
"accentColor": "#FFFFFF",
"permissions": [
"identity",
"messageTeamMembers"
],
"validDomains": []
}





I have attached the zip file for reference and learning.



Once that’s done, import the zip file as shown below.



378x406?v=1.jpg

Once you import the .zip file you can further change or edit values.

685x313?v=1.jpg

Once you entered the basic details connect your Azure Bot to this teams application like shown below.

684x395?v=1.jpg

When you click on the set up Bot, you should see following and select the options accordingly.

682x397?v=1.jpg



You can choose the functionalities of the bot accordingly – check the boxes that apply to your bot.



680x413?v=1.jpg

Additionally you can use the AAD features like SSO, Resource Specific content, Device permission etc. from AD level.

682x321?v=1.jpg

Finally you can do the following, as explained in the image.

681x332?v=1.jpg

The bot will be submitted for approval, you can also send an email to teamsubm@microsoft.com with your .zip file for verification/ pre-validation.

681x405?v=1.jpg

Second way of doing is, rather than importing the manifest.json file directly create the app and fill the details as needed as shown below

394x419?v=1.jpg

And the rest of the process is same.



Additionally the following articles are useful when you are publishing the bot to Org level, i.e. Manage your apps in the Microsoft Teams admin center.

  1. Manage your apps in the Microsoft Teams admin center
  2. Manage teams in the Microsoft Teams admin center



Please add/ edit/ suggest/ question if I had missed anything or if it’s not clear somewhere.

Continue reading...
 
Top Bottom