It seems I found a possible solution - the issue seem to come from the fact that ARM deploys all the ruleCollectionGroups in parallel or at least not sequentially. When I set explicit dependency between ruleCollectionGroups (I have 2 currently) in my bicep template the error did not appear anymore across multiple redeployments.
I guess it is worth a try :)
Update of Azure Firewall Policies failes - faulted referenced firewalls
Julian Hüppauff
341
Reputation points Microsoft Employee
Hi all,
I try to create a Firewall (vWAN Secured Hub) using an ARM Template (actually as part of a blueprint).
The initial deployment works like a charm. But when I try to update the blueprint assignment and thus triggering a new deployment I get the following error:
{
"status": "Failed",
"error": {
"code": "FirewallPolicyUpdateFailed",
"message": "Put on Firewall Policy [Firewall-Policy-Name] Failed with 1 faulted referenced firewalls"
}
}
No changes are made to the template after the initial deployment
Accepted answer
-
Tomasz L 96 Reputation points
2022-02-16T21:18:54.623+00:00