Hi @akdron ,
AppServiceFileAuditLogs
are only supported on App Service SKUs that are Premium and higher. This is doc'd under the Description column. Your template should work assuming [variables('aspName')]
is set to such a plan.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to deploy an App Service (Microsoft.Web/sites; apiVersion 2018-02-01) that was previously deploying via ARM template without issue - using diagnosticSettings provider with apiVersion 2017-05-01-preview
In the template I am specifying various log types - including File Audit Logs
{
"category": "AppServiceFileAuditLogs",
"enabled": true,
"retentionPolicy": {
"enabled": false,
"days": "[parameters('logRetentionDays')]"
}
},
But this deployment is now failing with the error:
[error]BadRequest: Category 'AppServiceFileAuditLogs' is not supported.
However, the docs for the resource (below) suggests that this is still a supported log type. Any help with this would be really appreciated.