Hi I am trying to deploy an Azure bot, however I am receiving an error when I try command on 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 "#####"
Error below:
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": ""
}
Template link below
https://www.dropbox.com/s/hxdkbedl2a6sswu/template-with-new-rg.json?dl=0