Master Chief
Master Chief

Reputation: 2541

Error while creating bot

I am getting error while creating bot. I am trying to deploy a Web app bot. After specifying the name of resource group and their location I click on create. After which bot deployment process starts. But it ends up with an error:

MsaAppId: MsaAppId is already in use..

enter image description here

What can I do successfully deploy a basic bot. This is second time in a week, I am facing something like this on Azure.

Edit

Initially I was using Autocreate MsaAppId & Password option. That didn't work out (although that used to work) Then I tried a couple of times with Create MsaAppId & Password option. Which takes to a different page to generate AppId & password, and I pasted the new keys in the provided fields.

Still the same result. MSA App Id already in use

Edit 2 As one of the answer mentioned, I tried creating a separate Bot Registration which I will link up with the Web app later. But that fails with a weird message saying, App Insights is already deployed, and cannot deploy with same name, when in fact, I have not asked for any new App Insights instance to be deployed. Attaching a screenshot

enter image description here

Upvotes: 4

Views: 233

Answers (1)

Fei Han
Fei Han

Reputation: 27825

it ends up with an error:

MsaAppId: MsaAppId is already in use..

I have same problem, when I create the web app bot (select Auto create App ID and password option), it failed at creating botServices resource.

Deployment:

enter image description here

Failed operation details:

enter image description here

I also tried to manually create app on https://apps.dev.microsoft.com and provide App ID and password for creating botService, but the deployment still failed.

enter image description here

As a workaround, I manually created Bot Channels Registration and specify corresponding web application URL as message endpoint, and then modify Application settings of that corresponding Azure web site with new App ID and password, which works for me.

Note:

I suspect something wrong with Azure while performing deployment and creating botServices, if possible, you can report it on Azure portal or create an issue on github.

Updated:

I click Automation options and download the template after I enter the required information/fields for creating a new web app bot, and then I perform deployment by using powershell with downloaded template&parameter file, which work for me, you can try it.

Upvotes: 3

Related Questions