0

Yesterday we notices that the arm-template that we are using to create a new app service slot was not able to copy settings from prod-slot to staging-slot. Api version "2016-08-01".

To copy the settings we use a script for type: "Microsoft.Web/sites"

"siteConfig": "[reference(resourceId('Microsoft.Web/Sites', variables('cdWebAppNameTidy')), variables('webApiVersion')).siteConfig]"

I also notice that when I export a template for the prod app-service, siteConfig is empty. Though, the settings are visible in another section "Microsoft.Web/sites/config"...

Anybody know if something thas changed in the api or what is going on?

Johan
  • 53
  • 5

1 Answers1

0

Microft support are still investigating this issue but it seem that a way to solve this issue is to simply remove the "siteConfig" node since the settings from production slot are copied by default.

I'm still waiting for feedback why the reference above is not working and why this was changed in azure.

Johan
  • 53
  • 5