Update of Azure Firewall Policies failes - faulted referenced firewalls

Julian Hüppauff 341 Reputation points Microsoft Employee
2021-12-23T13:37:31.887+00:00

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

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
681 questions
Azure Firewall Manager
Azure Firewall Manager
An Azure service that provides central network security policy and route management for globally distributed, software-defined perimeters.
93 questions
{count} vote

Accepted answer
  1. Tomasz L 96 Reputation points
    2022-02-16T21:18:54.623+00:00

    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 :)

    3 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.