An Azure service that provides a cloud content delivery network with threat protection.
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