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
We've got some bicep that makes use of the container-registry AVM module and when running it through the template analyzer (using the AzDO security task) we get the following exception "Cannot cast Newtonsoft.Json.Linq.JProperty to Newtonsoft.Json.Linq.JToken". I'm not sure what part of the AVM module is causing this and I don't know enough about how this tool works to properly debug what might be going on here.
This happens whether I try to analyze the bicep file or the built json file.
Expected behavior
Bicep is analyzed and reports back an errors/warnings without throwing an exception.
Reproduction Steps
I've been able to get the exception when using just this as the bicep: