Publish Bot App to Teams Channel with Bot Framework Composer and Teams Developer Portal
Published May 09 2022 01:47 AM 6,238 Views

This article introduces general steps of how to publish your bot app developed in Bot Framework Composer through Teams Developer Portal into Teams Channel. Below steps are based on the demo bot application we have created before with blogs:


Create a Weather Forecast Bot with Azure LUIS and Maps Services in Bot Framework Composer - Microsof...

Improve the Weather Forecast Bot App using Language Generation Content in Bot Framework Composer V2 ...


Of course, if you already have one existing bot app in Composer, the overall following steps are the indeed the same.


Publish Bot and Turn on Teams Channel


  1. In Composer, open the Bot project, click Publish, select the publish profile we configured before, and click Publish selected bots, in put your Azure subscription account info, and click Okay to submit the bot to Azure. This may take 2 minutes.








  1. In , find this bot service. Click Channels , click Microsoft Teams to add Teams channel:





  1. In the Channels list, click Open In Teams





  1. You can now preview this bot app in Teams directly now.







The image doesn’t display in Teams because the GetWeather package uses image/svg+xml data URI for the weather icons. To solve this for teams channel, we can use some online image URI or image/png data URI to replace them in bot response, or we can use Custom Action from code. I will provide the Custom Action method in next article:


Solve one image display issue through Custom Action in Bot Framework Composer V2 - Microsoft Tech Co...


Create Bot App Manifest for Teams in Teams Developer Portal


  1. Open , login your test Teams account, such as , click … on the left menu bar, find Developer Portal and add it:







  1. Open the Developer Portal app, click Apps menu, click New app





  1. Name the app as MyWeatherBot001, click Add





  1. In the app page displayed in Teams, click Configure -> Basic Information, input its short description and long description.





  1. Type developer and website info:





  1. Type privacy and terms URLs:





  1. Type registered bot app id:





The app id can be got from the bot service’s configuration on your Azure Portal:






  1. Click Save. 
  2. Click App Features in the left menu, click the Bot feature in the right pane:




       10.   Ente the bot ID you used at step 11, click Save




       11.  Click the App Studio menu, click the Bot app we just created in Teams:




      12.  Click Bots on the left, and click Edit in the Bots properties:




      13.  Choose Personal, Team, and Group Chat scope, click Save



       14.  Click Apps menu again, select the Bot app, Click Publish at the top right.




       15.     Click Download the app package -> Download the app package to get its installation zip.



      16.    Click Apps in the left menu bar, click Manage Your Apps,




      17.   Click Upload a custom app, select the zip file downloaded at step 15 to upload it




     18.  Click Add to install this weather bot app in Teams:




     19. The app is installed successfully for the user, can start adaptive conversation with the bot about Weather:






This is great that we can use Bot Framework Composer and Teams Developer Portal to easily integrate our bot application in Teams Channel!


In next article, I will introduce how to use Custom Action to solve a little bit complicated issue for this bot app: convert SVG image to PNG image, and display it in Teams conversation.

Version history
Last update:
‎May 13 2022 01:04 AM
Updated by: