According to your scenario, I deployed my ARM template to enable application logging and web server logging using Blob repository, enable application service authentication and allow anonymous requests for my web application. Here are some detailed steps you can link to.
1.Create an Azure Resource Group project and add a web application template;
2. Add the configuration "MONITORING> Diagnostic Logs" as follows:

3.Add the setting "SETTINGS> Authentication / Authorization" as follows:

4. Deploy the web application and test it on the Azure Portal:

Here is my .json site, you can link to it.
{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "hostingPlanName": { "type": "string", "minLength": 1 }, "skuName": { "type": "string", "defaultValue": "F1", "allowedValues": [ "F1", "D1", "B1", "B2", "B3", "S1", "S2", "S3", "P1", "P2", "P3", "P4" ], "metadata": { "description": "Describes plan pricing tier and capacity. Check details at https://azure.microsoft.com/en-us/pricing/details/app-service/" } }, "skuCapacity": { "type": "int", "defaultValue": 1, "minValue": 1, "metadata": { "description": "Describes plan instance count" } } }, "variables": { "webSiteName": "[concat('webSite', uniqueString(resourceGroup().id))]" }, "resources": [ { "apiVersion": "2015-08-01", "name": "[parameters('hostingPlanName')]", "type": "Microsoft.Web/serverfarms", "location": "[resourceGroup().location]", "tags": { "displayName": "HostingPlan" }, "sku": { "name": "[parameters('skuName')]", "capacity": "[parameters('skuCapacity')]" }, "properties": { "name": "[parameters('hostingPlanName')]" } }, { "apiVersion": "2015-08-01", "name": "[variables('webSiteName')]", "type": "Microsoft.Web/sites", "location": "[resourceGroup().location]", "tags": { "[concat('hidden-related:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]": "Resource", "displayName": "Website" }, "dependsOn": [ "[resourceId('Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]" ], "properties": { "name": "[variables('webSiteName')]", "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('hostingPlanName'))]" }, "resources": [ { "name": "logs", "type": "config", "apiVersion": "2015-08-01", "dependsOn": [ "[resourceId('Microsoft.Web/sites/', variables('webSiteName'))]" ], "tags": { "displayName": "websiteLogs" }, "properties": { "applicationLogs": { "fileSystem": { "level": "Off" }, "azureTableStorage": { "level": "Off", "sasUrl": null }, "azureBlobStorage": { "level": "Error", "sasUrl": "https://{your-storageaccount-name}.blob.core.windows.net/{container-name}?{sasToken}", "retentionInDays": null } }, "httpLogs": { "fileSystem": { "retentionInMb": 35, "retentionInDays": null, "enabled": false }, "azureBlobStorage": { "sasUrl":"https://{your-storageaccount-name}.blob.core.windows.net/{container-name}?{sasToken}", "retentionInDays": null, "enabled": true } }, "failedRequestsTracing": { "enabled": true }, "detailedErrorMessages": { "enabled": true } } }, { "name": "authsettings", "type": "config", "apiVersion": "2015-08-01", "dependsOn": [ "[resourceId('Microsoft.Web/sites/', variables('webSiteName'))]" ], "tags": { "displayName": "websiteAuthSettings" }, "properties": { "enabled": true, "httpApiPrefixPath": null, "unauthenticatedClientAction": 1, "tokenStoreEnabled": true, "allowedExternalRedirectUrls": null, "defaultProvider": 0, "clientId": null, "clientSecret": null, "issuer": null, "allowedAudiences": null, "additionalLoginParams": null, "isAadAutoProvisioned": false, "googleClientId": null, "googleClientSecret": null, "googleOAuthScopes": null, "facebookAppId": null, "facebookAppSecret": null, "facebookOAuthScopes": [ "" ], "twitterConsumerKey": null, "twitterConsumerSecret": null, "microsoftAccountClientId": null, "microsoftAccountClientSecret": null, "microsoftAccountOAuthScopes": [ "" ] } } ] } ] }
Alternatively, you can get configurations from resources.azure.com . Here is a screenshot for you to better understand the ARM pattern:
