Unable to set empty retentionPolicy parameters for bicep diagnostic setting resource
Open
investigate
troubleshooting
- Dominant language
- Bicep
- Stars
- 3.6k
- Forks
- 830
- Avg merge
- 1d 21m
- Merged PRs (30d)
- 79
Description
When I try to deploy the diagnostic setting with empty parameters for rentention policy days and enabled I am getting an error "Request content is not well formed or supported".

Contributor guide
Research direction
Start by reproducing the Azure diagnostic setting deployment shown in the issue, using empty retention policy days and enabled parameters. Trace how the diagnostic setting resource handles those empty values and verify that the deployment succeeds without the reported "Request content is not well formed or supported" error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100