You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to decompile an ARM template for Microsoft.SecurityInsights/alertRules into a Bicep file, the conversion will present the following error:
/tmp/Fusion_tmp.bicep(7,10) : Error BCP036: The property "scope" expected a value of type "resource" but the provided value is of type "string".
Bicep version
Describe the bug
When attempting to decompile an ARM template for Microsoft.SecurityInsights/alertRules into a Bicep file, the conversion will present the following error:
/tmp/Fusion_tmp.bicep(7,10) : Error BCP036: The property "scope" expected a value of type "resource" but the provided value is of type "string".
To Reproduce
Steps to reproduce the behavior:
ARM file:
The expected Bicep output (valid):
Additional context
I have tried setting the scope in the ARM file to the exact name of the workspace as well, but I get the same error.
The text was updated successfully, but these errors were encountered: