Template validation error of Palo Alto Firewall bicep resource, and how to troubleshoot further
Hi,
We have a Palo Alto firewall running in Azure using that is deployed using IaC. Nothing has changed in the code, but somehow we started receiving template validation errors as of march 20, 2025
We're using the following bicep resource, Bicep resource.
During deployment get the following error:
{"code":"DeploymentFailed","target":"/xyz/providers/Microsoft.Resources/deployments/xyz","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"InvalidTemplateDeployment","message":"The template deployment 'paloAltoFirewall-20250414T101744Z' is not valid according to the validation procedure. The tracking id is
'973d8632-41c2-4dc0-afd6-6cc0e2c0bee2'. See inner errors for details."}]}
Using the correlation Id to read logs using Get-AzLog i don't get any more details about this, so it's really hard for me to know what is going on, especially since we haven't changed anything related to the bicep resource.
How can I proceed in my troubleshooting from here? Can you improve the stdOut error messages upon such errors, as I imagine one of your linters is throwing an error that you will be able to read in the backend?
Note: We've attempted to upgrade to latest API-version as well; no luck.
Tracking ID: '973d8632-41c2-4dc0-afd6-6cc0e2c0bee2'
CorrelationId: 2938309d-0e08-441d-9320-eba5f43c8b53
Further information can be requested
Best regards,
Lasse