Issue when deploying chatbot from Bot Framework Compose

Edyta Barnas (EDYBA) 16 Reputation points
2020-10-30T09:39:08.75+00:00

Could you please help me with deploying a chatbot created in Bot Framework Composer into Azure?
I have already Resource Group, App Service and Bot Channels Registration in Azure. This is why I do not want to provision any new resource in Azure.

I have just edited the below json in Bot Framework Composer Publish section – in CAPITAL strings which I edited:
However I have an error when deploying the chatbot.
{
"accessToken": "TEMPORARY ACCESS TOKEN",
"name": "RESOURCE GROUP NAME FROM AZURE ACCOUNT",
"environment": "DEV",
"settings": {
"applicationInsights": {
"InstrumentationKey": "<Instrumentation Key>"
},
"cosmosDb": {
"cosmosDBEndpoint": "<endpoint url>",
"authKey": "<auth key>",
"databaseId": "botstate-db",
"collectionId": "botstate-collection",
"containerId": "botstate-container"
},
"blobStorage": {
"connectionString": "<connection string>",
"container": "<container>"
},
"luis": {
"authoringKey": "<authoring key>",
"authoringEndpoint": "",
"endpointKey": "<endpoint key>",
"endpoint": "",
"region": "westus"
},
"MicrosoftAppId": "APP ID FROM 'BOT CHANNELS REGISTRATION' FROM SETTINGS",
"MicrosoftAppPassword": "SECRET STRING FROM 'BOT CHANNELS REGISTRATION' FROM SETTINGS"

}
}

I found also another JSON :
{
"accessToken": "<your access token>",
"hostname": "<your web app name>",
"settings": {
"MicrosoftAppId": "<the appid of your bot channel registration>",
"MicrosoftAppPassword": "<the app password of your bot channel registration>"
}
}

In case of the second JSON, I am not sure what should be 'hostname' . I do not have web app- should I create it with the following link?
https://portal.azure.com/#create/Microsoft.WebSite

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
826 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Edyta Barnas (EDYBA) 16 Reputation points
    2020-11-02T16:40:49.843+00:00

    Thank you for your replies. It turned out that I had to create Web App Bot and provide its name in JSON message when deploying the chatbot

    1 person found this answer helpful.
    0 comments No comments

  2. Ramr-msft 17,736 Reputation points
    2020-11-01T11:52:53.113+00:00

    @Edyta Barnas (EDYBA) Here are some video resources available to share:
    5 minute intro: https://www.youtube.com/watch?v=g8ck1hcTTJk
    20 minute getting started video: https://www.youtube.com/watch?v=r9WQPSaLnaU
    20 minute advanced language modeling: https://www.youtube.com/watch?v=wG8emu4v6hk
    Build an end to end Weather Bot (slightly outdated): https://www.youtube.com/watch?v=ZNcfIgO8biw

    https://video2.skills-academy.com/en-us/composer/how-to-publish-bot

    As far as interop between v4 waterfall dialogs, custom code, and Composer built dialogs, see this document describing the process to achieve this:

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.