您好,我正在尝试部署Azure机器人,但是在Azure Powershell Windows上尝试执行命令时收到错误:
az deployment create --template-file "./template-with-new-rg.json" --location "#####" --parameters appId="#####" appSecret="#####" botId="#####" botSku=## newAppServicePlanName="#####" newWebAppName="#####" groupName="#####" groupLocation="#####" newAppServicePlanLocation="#####" --name "#####"以下错误:
Azure Error: InvalidTemplate
Message: Deployment template validation failed: 'The resource 'Microsoft.Web/serverfarms/#########' is not defined in the template. Please see https://aka.ms/arm-template for usage details.'.
Additional Information:
Type: TemplateViolation
Info: {
"lineNumber": 0,
"linePosition": 0,
"path": ""
}下面的模板链接
https://www.dropbox.com/s/hxdkbedl2a6sswu/template-with-new-rg.json?dl=0
发布于 2020-08-11 01:02:11
编辑:自2020年10月1日起,ARM模板已更新。请使用当前的ARM模板尝试部署。
这是当前(截至2020年8月10日)部署的持续问题。例如,提出的问题here是相同的,并再次链接到跟踪它的另一个问题。机器人框架团队目前正在进行修复工作。
解决方法是在Azure上手动创建空的资源组,然后运行命令以部署到现有的RG,而不是新的资源组。
我正在关注修复的进度,并将在修复发布后立即更新此答案。
https://stackoverflow.com/questions/63332059
复制相似问题