Publishing Azure Bot Services to MS teams Store/ Publish your Azure Bot Service for Teams
Published Mar 25 2020 11:02 PM 9,685 Views

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": "https://bottested.azurewebsites.net",
        "privacyUrl": "https://privacy.microsoft.com/en-ca/privacystatement",
        "termsOfUseUrl": "https://privacy.microsoft.com/en-ca/privacystatement" },
    "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.

 

Sai_Teja_Nagamothu_0-1585176542579.jpeg

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

Sai_Teja_Nagamothu_1-1585176542584.jpeg

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

Sai_Teja_Nagamothu_2-1585176542589.jpeg

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

Sai_Teja_Nagamothu_3-1585176542593.jpeg

 

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

 

Sai_Teja_Nagamothu_4-1585176542595.jpeg

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

Sai_Teja_Nagamothu_5-1585176542599.jpeg

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

Sai_Teja_Nagamothu_6-1585176542603.jpeg

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.  

Sai_Teja_Nagamothu_7-1585176542606.jpeg

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

Sai_Teja_Nagamothu_8-1585176542609.jpeg

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.

Version history
Last update:
‎Mar 25 2020 04:33 PM
Updated by: