Share via

Azure WAF AllowFrontDoor stuck at "pending"

Thomas 25 Reputation points
2026-01-29T12:45:07.42+00:00

Hello Azure Support,

I hope all is well.

We are unable to create an Azure Front Door WAF policy in our subscription. The subscription feature Microsoft.Network/AllowFrontdoor remains in Pending for >36 hours, and WAF policy creation fails with a platform validation error across CLI and ARM.

Error: WebApplicationFirewallPolicy validation failed. More information "Policy ArmResourceId has incorrect formatting"

This occurs even with a minimal payload and no managed rules.

The command:

az feature show --namespace Microsoft.Network --name AllowFrontdoor --query properties.state -o tsv

returns: Pending

Thank you for your support.

Azure Web Application Firewall
{count} vote

1 answer

Sort by: Most helpful
  1. Vallepu Venkateswarlu 6,045 Reputation points Microsoft External Staff Moderator
    2026-01-29T14:42:47.0466667+00:00

    Hi @ Thomas,

    I have just verified this in my environment. The provider AllowFrontdoor is in an ApprovalRequired state, but I am still able to create a WAF policy without any issues.

    "approvalType": "ApprovalRequired"
    

    Could you please try creating the WAF policy using the Azure CLI as shown below?

    WAF policy for App Gateway:

    az network application-gateway waf-policy create --name waf-pol --resource-group myResourceGroupAG --type OWASP --version 3.2
    

    WAF policy for FrontDoor:

    New-AzFrontDoorWafPolicy -Name $policyName -ResourceGroupName $resourceGroupName -Customrule $customRule1,$customRule2 -ManagedRule $managedRule1 -EnabledState Enabled -Mode Prevention -RedirectUrl "https://www.bing.com/" -CustomBlockResponseStatusCode 405 -CustomBlockResponseBody "<html><head><title>You are blocked!</title></head><body></body></html>"
    

    If you are still facing the issue, please check the GitHub case below. There is already a case open for the same issue, and the team is actively working on it. Feel free to provide your details there.

    GitHub: https://github.com/Azure/azure-cli-extensions/issues/5625

    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

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.