Azure / avdaccelerator

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

Diagnostic Settings Failing to Deploy - Retention Settings Need To Be Disabled #473

Closed j-d-harvey closed 1 year ago

j-d-harvey commented 1 year ago

{ "status": "Failed", "error": { "code": "BadRequest", "message": "Diagnostic settings does not support retention for new diagnostic settings." } }

This is due to a recent change. To fix under Microsoft.Insights/diagnosticSettings in the Logs section set:

    retentionPolicy: {
      enabled: false
      days: 0
    }
danycontre commented 1 year ago

@j-d-harvey thanks for reporting the issue we are working on it for issue #471