Azure / avdaccelerator

AVD Accelerator deployment automation to simplify the setup of AVD (Azure Virtual Desktop) based on best practices
MIT License
324 stars 207 forks source link

Diagnostic Settings Storage Retention failure, related with automation account #485

Closed matiasma closed 11 months ago

matiasma commented 11 months ago

based on the Diagnostic Settings Storage Retention feature deprecation (https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/migrate-to-azure-storage-lifecycle-policy?tabs=portal), we need to update the "diagnosticLogsRetentionInDays", from 30 (current value) to 0, to avoid deployment error related with automation account provisioning.

line 7696 of the file workload/arm/deploy-custom-image.json

jamasten commented 11 months ago

Thank you @matiasma for reporting this issue. We have fixed the bicep code but have failed to compile the JSON for that solution. We'll make the update today.