无法使用REST API在Azure上创建机器人注册

时间:2019-04-16 10:33:27

标签: azure botframework

我已经使用REST API创建了App Service,Application Insights和存储。但是我无法使用REST API创建Web应用程序机器人(“启动注册”页面)。如果可以创建,请提供帮助。

1 个答案:

答案 0 :(得分:0)

registered your client with Azure之后,您需要create the Web App。请确保在正文中使用以下内容:

  • 种类“网络应用”
  • 位置用于创建漫游器服务资源的地理位置。例如,eastus,westus,westus2等。

由于Azure订阅的限制,我无法对此进行测试。

或者,您可以通过运行以下命令来使用Azure CLI

az bot create --kind webapp --name <bot-name-in-azure> --location <geographic-location> --version v4 --lang <language> --verbose --resource-group <resource-group-name> --appid "<application-id>" --password "<application-password>" --verbose

我从中获得的文档目前处于预览状态,但这是对参数的解释:

enter image description here