title: Why is ARM deployment with integer parameters not picked up by Azure DevOps?
body: <p>When I deploy in Azure DevOps the ARM template below I get an error due to an integer was expected, but a string was found. If I explicitly change the variables to values it will be properly picked up. Any idea what is going on here?</p>
  <p>I have a Release Pipeline which deploys an ARM Template with parameters (not working, found string but integer was expected):
  <a href="https://i.stack.imgur.com/PMFxZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PMFxZ.png" alt="enter image description here" /></a></p>
  <p>This works since I changed the variable values to explicit integers (working, but I want to use variable groups):
  <a href="https://i.stack.imgur.com/K3ATA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K3ATA.png" alt="enter image description here" /></a></p>
  <p>In the variable groups I have defined the name and values as:
  FaultDomains 2
  UpdateDomains 5</p>
  <p>ARM Template:</p>
  <pre><code>{
      &quot;$schema&quot;: &quot;https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#&quot;,
      &quot;contentVersion&quot;: &quot;0.0.1.0&quot;,
      &quot;parameters&quot;: {
          &quot;AvailabilitySetName&quot;: {
              &quot;type&quot;: &quot;string&quot;
          },
          &quot;FaultDomains&quot;: {
              &quot;type&quot;: &quot;int&quot;
          },
          &quot;UpdateDomains&quot;: {
              &quot;type&quot;: &quot;int&quot;
          }
      },
      &quot;resources&quot;: [
          {
              &quot;apiVersion&quot;: &quot;2016-04-30-preview&quot;,
              &quot;type&quot;: &quot;Microsoft.Compute/availabilitySets&quot;,
              &quot;name&quot;: &quot;[parameters('AvailabilitySetName')]&quot;,
              &quot;location&quot;: &quot;[resourceGroup().location]&quot;,
              &quot;properties&quot;: {
                  &quot;platformUpdateDomainCount&quot;: &quot;[parameters('UpdateDomains')]&quot;,
                  &quot;platformFaultDomainCount&quot;: &quot;[parameters('FaultDomains')]&quot;
              },
              &quot;sku&quot;: {
                  &quot;name&quot;: &quot;Aligned&quot;
              }
          }
      ]
  }
  </code></pre>