WebApplicationFirewallPolicy validation failed. Subscriptions without DeveloperPreview flag enabled cannot use Microsoft_DefaultRuleSet_2.2

Justin M. Szwed 20 Reputation points
2025-12-04T03:47:01.5833333+00:00

Attempting to create or update WAF premium policy with DRS 2.2 and I get the error in title. I cannot find what feature to register either in the portal or in powershell/CLI - Nothing references DefaultRuleSet.

Azure Web Application Firewall
{count} votes

Answer accepted by question author
  1. Hamzeh Al-Okeeli 0 Reputation points Microsoft Employee
    2025-12-11T07:39:04.2766667+00:00

    This is an internal issue. DRS 2.2 is intended to be generally available, but the platform is still enforcing a DeveloperPreview flag requirement. Since no public feature flag exists, CLI registration fails with "FeatureNotFound".

    Product team is actively working on a fix, which is expected to be rolled out around mid-January 2026 (possibly earlier).

    In the meantime, please continue using DRS 2.1.


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.