建立漫游器时发生错误 [英] Error while creating bot

查看:138
本文介绍了建立漫游器时发生错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

创建机器人时出现错误.我正在尝试部署 Web应用程序机器人.指定资源组的名称及其位置后,单击创建".之后,僵尸程序部署过程开始.但这最终会导致错误:

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已被使用.

我该怎么做才能成功部署基本的bot.这是一周中的第二次,我在Azure上遇到这样的事情.

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

修改

最初,我使用的是自动创建MsaAppId&密码选项.那没有用(尽管曾经用过) 然后,我尝试使用 Create MsaAppId&密码选项.它将转到另一个页面以生成AppId&密码,然后将新密钥粘贴到提供的字段中.

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.

结果仍然相同. MSA App Id already in use

编辑2 作为提到的答案之一,我尝试创建一个单独的Bot注册,稍后将与Web应用程序链接. 但这失败,并发出一条奇怪的消息,说App Insights已被部署,并且不能以相同的名称进行部署,而事实上,我没有要求部署任何新的App Insights实例.附加屏幕截图

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

推荐答案

它最终会出现错误:

it ends up with an error:

MsaAppId:MsaAppId已被使用.

我有同样的问题,当我创建Web应用程序bot(选择自动创建应用程序ID和密码"选项)时,创建botServices资源失败.

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.

部署:

操作失败的详细信息:

我还尝试在 https://apps.dev.microsoft.com 上手动创建应用并提供用于创建botService的应用ID和密码,但是部署仍然失败.

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.

作为一种解决方法,我手动创建了 Bot Channels Registration ,并指定了相应的Web应用程序URL作为消息终结点,然后使用新的修改了该相应Azure网站的 Application settings 适用于我的应用程序ID 密码.

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.

注意:

我怀疑执行部署和创建botService时Azure出现了问题,如果可能的话,您可以在Azure门户或

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.

已更新:

在输入创建新的Web应用程序机器人所需的信息/字段之后,单击自动化选项并下载模板,然后通过将Powershell与下载的模板和参数文件一起使用来执行部署为我工作,您可以尝试.

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.

这篇关于建立漫游器时发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆