Share via

Front Door WAF - Do custom rules rules hold a higher priority than managed rule sets

Bill Pratt 20 Reputation points Microsoft Employee
2026-02-27T21:45:23.5633333+00:00

According to https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/custom-waf-rules-overview, custom rules rules hold a higher priority than managed rule sets and if there is a custom rule to ALLOW a request, it should bypass the managed rule. I'm observing however that it is not. The priority of this custom rule is set to 2. Do custom rules hold a higher priority than managed rule sets?

Azure Front Door
Azure Front Door

An Azure service that provides a cloud content delivery network with threat protection.

{count} votes

Answer accepted by question author
  1. Vallepu Venkateswarlu 6,135 Reputation points Microsoft External Staff Moderator
    2026-02-27T21:49:47.21+00:00

    Hi @ Bill Pratt

    Welcome to Microsoft Q&A Platform.

    As discussed, offline on Teams, the issue occurs because the managed rule is still blocking the request even though a custom rule is configured.

    Based on your current configuration, the custom rule is set with the Equals operator and the match value as /example/path. If you want to use the Equals operator, you must specify the full URI, for example: https://xxxxxxxx:443/example/path instead of only the path /example/path.

    If you prefer to match only the path, you should use the Contains operator in the custom rule instead of the Equals operator

    Please210246-screenshot-2021-12-10-121802.pngand “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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