Azure Firewall - Default vs Custom rule collection group

Peter Stieber 140 Reputation points
2025-06-12T13:06:59.6033333+00:00

If I configure a custom rule collection group with the same priority as the defaultNetworkRuleCollection, what is the processing logic? Which one gets evaluated first?

User's image

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
779 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshukatara-6769 16,565 Reputation points Moderator
    2025-06-12T13:22:34.3233333+00:00

    Hello Peter, Welcome to MS Q&A

    • When a custom rule collection group is configured with the same priority as the defaultNetworkRuleCollection, Azure Firewall processes the rule collection groups in the order of their priority value (lower number = higher priority).
    • If two rule collection groups have the same priority, the processing order between them is not explicitly documented and should not be relied upon; Microsoft recommends using unique priority values to ensure deterministic processing.
    • In practice, always assign unique priorities to custom and default rule collection groups to avoid ambiguity in rule evaluation order.

    Pls check and let us know if any ques.

    Kindly accept answer if it helps

    Thanks

    Deepanshu


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.