An Azure service that provides protection for web apps.
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?
az network application-gateway waf-policy create --name waf-pol --resource-group myResourceGroupAG --type OWASP --version 3.2
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
Please
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.