I'm trying to update my SQL Server ARM template to use blob storage instead of table storage. What I have doesn't fail entries appear in the blob storage account but it doesn't update the Azure portal. Has anyone else experienced this?
{
"apiVersion": "2015-05-01-preview",
"type": "auditingSettings",
"location": "[resourceGroup().location]",
"name": "Default",
"dependsOn": [
"[concat('Microsoft.Sql/servers/', variables('serverName'))]",
"[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountName'))]"
],
"properties": {
"State": "Enabled",
"storageEndpoint": "[variables('storageEndpointName')]",
"storageAccountAccessKey": "[listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName')), providers('Microsoft.Storage', 'storageAccounts').apiVersions[0]).keys[0].value]",
"retentionDays": "90",
"auditActionsAndGroups": null,
"storageAccountSubscriptionId": "[subscription().subscriptionId]",
"isStorageSecondaryKeyInUse": false
}
},