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:
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
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.
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: