Web Application Firewall (WAF): Pending AllowFrontdoor registration and creation failure

Sebastian Balza 0 Reputation points
2026-11-20T15:27:31.0566667+00:00

Problem description

I am unable to create a Front Door WAF policy, as the creation process remains pending and the registration for AllowFrontdoor feature stays in the Pending state. The creation of the Microsoft.Network/FrontDoorWebApplicationFirewallPolicies resource fails with a validation error indicating that the Policy ArmResourceId has incorrect formatting.

Environment

The affected environment involves Azure Front Door with WAF, SKU: Premium_AzureFrontDoor, located in the Global region, and the WAF policy is set to Detection mode. Deployment methods include infrastructure-as-code using Bicep, Azure DevOps pipeline deployment, and direct Azure CLI commands.

What I've already tried

I have verified that both Microsoft.Network and Microsoft.Cdn providers are registered and in the Registered state. I also confirmed that the AllowFrontdoor feature remains in Pending state since yesterday. I attempted to create the WAF policy directly through Azure CLI using the az network front-door waf-policy create command, but it failed with the validation error about the Policy ArmResourceId formatting. Additionally, I tried to register the feature and provider registration commands, but the feature remains pending, and the create operation continues to fail.

Current status

I am seeking guidance on whether there is a way to force the AllowFrontdoor feature status to 'registered' and how to successfully create the Azure Front Door Premium WAF policy given the current registration and validation issues.

Azure Front Door
Azure Front Door

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

0 comments No comments

Answer accepted by question author
James Gamble 420 Reputation points
2026-11-20T15:48:41.3833333+00:00

Hola Sebastian,

I found something interesting while researching your issue. You're not the first person to encounter this exact combination of errors.

In August 2026, another administrator reported that Microsoft.Network/AllowFrontdoor remained Pending while Azure Front Door WAF creation failed with "Policy ArmResourceId has incorrect formatting."

What's particularly interesting is that they reproduced the failure using a minimal, standalone WAF policy without any Front Door association. Azure Resource Manager validation succeeded, but the Microsoft.Network backend rejected the actual creation request. They tested API versions 2020-11-01 and 2024-02-01 with the same result.

That suggests your issue may not originate in Bicep or Azure DevOps, especially since your direct CLI deployment also fails.

Regarding AllowFrontdoor, Microsoft documents that a feature registration remaining Pending can indicate that approval is required. There's no documented CLI option to force an approval-required feature into Registered status.

One thing I'd recommend checking is whether your feature registration explicitly reports "approvalType": "ApprovalRequired". You can inspect the response using: az feature show --namespace Microsoft.Network --name AllowFrontdoor -o json

I'd also capture the correlation ID from a failed deployment. Given the identical error reported by other administrators, I'd open an Azure Support case requesting investigation of the subscription's AllowFrontdoor eligibility and the Microsoft.Network WAF policy creation failure. Include the correlation ID, subscription ID, deployment timestamp, and the earlier Q&A discussion.

Microsoft's documentation also confirms that az network front-door waf-policy create is valid for creating Standard/Premium WAF policies, so switching CLI command groups isn't necessarily the solution.

I couldn't verify a publicly documented fix for this exact failure, but the earlier reproduction gives Microsoft Support a useful starting point.

Thanks,

James

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Sebastian Balza 0 Reputation points
    2026-11-24T15:43:04.1266667+00:00

    James, finally the issue was with Front Door WAF policy names, I´ve removed minus "-" simbol from the name and the pipeline works flawless!

    Was this answer helpful?

    0 comments No comments

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.