Open Ausxor opened 1 year ago
This is a resource provider bug, please create a support ticket for this issue.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage. Please see https://aka.ms/biceptypesinfo for troubleshooting help.
Author: | Ausxor |
---|---|
Assignees: | - |
Labels: | `Service Attention`, `Storage` |
Milestone: | - |
Bicep version az bicep version: Bicep CLI version 0.14.6 (f1dae160cd) azure-cli 2.44.1
Describe the bug When deploying ARM template to create an Azure Storage account, incorrect error 'RequestIsNotValidJson' is produced if 'null' value passed to 'bypass' property of networkAcls. The error is incorrect as the transpiled JSON is valid in the request body to ARM. VSCode also does not validate the 'null' value as incorrect in linting.
To Reproduce Steps to reproduce the behavior:
az deployment group create --resource-group <resource_group> --template-file "main.bicep"
Actual: Error received: BadRequest .. RequestIsNotValidJson ... The request cannot be interpreted as valid Json
Expected
Additional context Raised by MSFT. Internal logs show the response is coming from the Microsoft.Storage resource provider.