title: Add Azure App Service to new VNet Integration preview
body: <p>We want to connect an Azure App Service with our On Premise Network via the new VNet Integration (preview), which doesn't need any Point-to-Site Tunnel anymore. 
  We already achieved our goal via Azure Portal and now want to implement this in our DevOps Pipelines via ARM Template Deploy or Powershell.</p>
  
  <p><strong>ARM Template Deploy:</strong>
  We generated the ARM Template from an exisiting App Service with new VNet Integration. Redeploy this Template doesn't add the new VNet Integration, but the old one (very strange):</p>
  
  <pre><code>{
      "type": "Microsoft.Web/sites/virtualNetworkConnections",
      "apiVersion": "2016-08-01",
      "name": "[concat(parameters('sites_name'), parameters('subnet_name'))]",
      "location": "West Europe",
      "dependsOn": [
          "[resourceId('Microsoft.Web/sites', parameters('sites_name'))]"
      ],
      "properties": {
          "vnetResourceId": "[concat(parameters('virtualNetworks_externalid'), '/subnets/XXXXXXX')]",
          "certThumbprint": null,
          "certBlob": null,
          "routes": null,
          "resyncRequired": false,
          "dnsServers": null,
          "isSwift": true
      }
  }
  </code></pre>
  
  <p><strong>Powershell Deploy:</strong>
  Trying this code will add the old VNet Integration as well:</p>
  
  <pre><code>$propertiesObject = @{
   "vnetResourceId" = "/subscriptions/$($subscriptionId)/resourceGroups/$($vnet.ResourceGroupName)/providers/Microsoft.Network/virtualNetworks/$($vnet.Name)/subnets/$($subnetNameToAdd)"
  }
  
  $virtualNetwork = New-AzureRmResource -Location $location -Properties $PropertiesObject -ResourceName "$($webAppName)/$($vnet.Name)" -ResourceType "Microsoft.Web/sites/virtualNetworkConnections" -ApiVersion 2016-08-01 -ResourceGroupName $resourceGroupName -Force
  </code></pre>
  
  <p>Is this another new feature from Microsoft which is just half implemented and semi available?
  (yeah, its in preview, but since several month...)</p>