Share via

Bot Framework Composer Not Creating Bot Resource

Jonathan Reyes 55 Reputation points
2023-08-02T18:27:17.5766667+00:00

Hello,

I'm currently trying to publish a bot through composer. When creating the publishing profile, I first import all my existing resources then let composer create the remaining necessary ones. When I publish the bot, it succeeds, but when I log into Azure, no bot resource is created.

If I create the bot resources manually and assign the app service messaging endpoint that was published, the Webchat function of the bot gives me an HTTP error.

This is the profile of the bot I am publishing, I have replaced sensitive information:

{
  "name": "Example",
  "environment": "dev",
  "tenantId": "12345",
  "hostname": "Example",
  "runtimeIdentifier": "win-x64",
  "resourceGroup": "test",
  "botName": "Example",
  "subscriptionId": "7890",
  "region": "eastus",
  "appServiceOperatingSystem": "windows",
  "scmHostDomain": "",
  "luisResource": "",
  "settings": {
    "applicationInsights": {
      "InstrumentationKey": "",
      "connectionString": ""
    },
    "cosmosDb": {
      "cosmosDBEndpoint": "",
      "authKey": "",
      "databaseId": "botstate-db",
      "containerId": "botstate-container"
    },
    "blobStorage": {
      "connectionString": "",
      "container": ""
    },
    "luis": {
      "authoringKey": "",
      "authoringEndpoint": "",
      "endpointKey": "",
      "endpoint": "",
      "region": "westus"
    },
    "qna": {
      "subscriptionKey": "",
      "endpoint": ""
    },
    "MicrosoftAppId": "0987",
    "MicrosoftAppPassword": "654321"
  }
}

Once "successfully" published, my app service domain redirects me to a webpage with the name of my bot and the title "Your bot is ready! Visit Azure Bot Service to register your bot and add it to
various channels. The bot's endpoint URL typically looks like this:

https://your_bots_hostname/api/messages

I enter the endpoint URL in the format above into my bot service, but the Webchat does not work and throws the following error: There was an error sending this message to your bot: HTTP status code InternalServerError

Any help would be appreciated! Thank you!

Azure AI Bot Service
Azure AI Bot Service

An Azure service that provides an integrated environment for bot development.

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.


Your answer

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