I am trying to add app settings to my Azure Website via the JSON template files as part of the Azure Resource Manager.
In an Azure Resource template json file, there
I have a sample that shows how to do this here. It looks like this:
{
"apiVersion": "2014-11-01",
"name": "appsettings",
"type": "config",
"dependsOn": [
"[resourceId('Microsoft.Web/Sites', parameters('siteName'))]"
],
"properties": {
"AppSettingKey1": "Some value",
"AppSettingKey2": "My second setting",
"AppSettingKey3": "My third setting"
}
}
Please make sure you use the newest 2014-11-01 API, as the way it deals with app settings is a bit different from the older API.