title: Deployment template validation failed: 'The resource 'Microsoft.Web/serverfarms/#########' is not defined in the template
body: <p>Hi I am trying to deploy an Azure bot, however I am receiving an error when I try command on Azure Powershell Windows:</p>
  <pre><code>az deployment create --template-file &quot;./template-with-new-rg.json&quot; --location &quot;#####&quot; --parameters appId=&quot;#####&quot; appSecret=&quot;#####&quot; botId=&quot;#####&quot; botSku=## newAppServicePlanName=&quot;#####&quot; newWebAppName=&quot;#####&quot; groupName=&quot;#####&quot;  groupLocation=&quot;#####&quot; newAppServicePlanLocation=&quot;#####&quot; --name &quot;#####&quot;
  </code></pre>
  <p>Error below:</p>
  <pre><code>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: {
              &quot;lineNumber&quot;: 0,
              &quot;linePosition&quot;: 0,
              &quot;path&quot;: &quot;&quot;
          }
  </code></pre>
  <p>Template link below</p>
  <p><a href="https://www.dropbox.com/s/hxdkbedl2a6sswu/template-with-new-rg.json?dl=0" rel="nofollow noreferrer">https://www.dropbox.com/s/hxdkbedl2a6sswu/template-with-new-rg.json?dl=0</a></p>