Hello @Emil Kanneworff
Based on what you’ve tested, this does not look like a malformed WAF policy configuration. The important indicators are:
- Microsoft.Network and Microsoft.Cdn are already registered.
- The Azure Front Door Standard profile and its endpoint/origin resources deploy successfully.
- Even a minimal standalone Microsoft.Network/FrontDoorWebApplicationFirewallPolicies resource fails.
- Microsoft.Network/AllowFrontdoor remains Pending.
There have been other reports showing the same combination of AllowFrontdoor = Pending and “Policy ArmResourceId has incorrect formatting” during WAF policy creation.
I would first confirm the feature state:
az feature show \
--namespace Microsoft.Network \
--name AllowFrontdoor \
--query "{state:properties.state,approvalType:properties.approvalType}"
If it remains Pending, repeatedly registering the feature or recreating the WAF policy is unlikely to resolve the underlying issue.
Also, ApprovalRequired by itself does not necessarily mean that WAF creation should be blocked; Microsoft moderators have reported environments where the feature shows ApprovalRequired but WAF policies can still be created.
Given that your minimal reproduction also fails, I’d recommend opening an Azure Network / Front Door support request so Microsoft can inspect the subscription-level feature state and backend WAF provisioning operation. Provide the subscription ID, failed deployment/correlation ID, WAF resource ID, UTC timestamp, and the AllowFrontdoor feature output privately.
This appears more consistent with a subscription/backend provisioning issue than an error in your WAF ARM resource ID.
Please "Accept the Answer" if this information helped you. This will help us and others in the community as well.