title: ARM template - configure diagnostics logs
body: <p>I'm trying to configure some diagnostics logs on an app service using ARM templates. While some configuration is correctly applied with the template, some of the configuration properties such as the retentionInDays and the sasUrl (for blob storage) are not applied.</p>
  
  <p>I'm basically using this format:</p>
  
  <pre><code>          "properties": {
              "applicationLogs": {
                "fileSystem": {
                  "level": "Information"
                },
                "azureTableStorage": {
                  "level": "Off",
                  "sasUrl": null
                },
                "azureBlobStorage": {
                  "level": "Verbose",
                  "sasUrl": "[variables('mySasUrl')]",
                  "retentionInDays": 1,
                  "enabled": true
                }
              },
              "httpLogs": {
                "fileSystem": {
                  "retentionInMb": 50,
                  "retentionInDays": 1,
                  "enabled": true
                },
                "azureBlobStorage": {
                  "sasUrl": null,
                  "retentionInDays": 1,
                  "enabled": false
                }
              },
              "failedRequestsTracing": {
                "enabled": true
              },
              "detailedErrorMessages": {
                "enabled": true
              }
  </code></pre>
  
  <p>which largely follows <a href="https://github.com/davidebbo/AzureWebsitesSamples/blob/60f7ffa4aac8f461f47388492c4df76834a8eec2/ARMTemplates/WebAppManyFeatures.json" rel="nofollow noreferrer">this</a> sample, but extends it with the blob storage settings. The azureBlobStorage settings are partially picked up (the level is correctly applied), but as I said, the sasUrl and the retentionInDays is not applied. Anyone got this working?</p>