This post focuses on a common error message that occurs during an Azure FrontDoor Web Application policy deletion.
Problem
You will probably notice that sometimes when you try to delete an Azure FrontDoor Web Application policy, you receive the following error message:
Solution
The above message indicates that resources are using this AFD WAF policy, and to delete it, you must first remove the association.
To do this, go to the Front Door WAF policy, select Settings – Associations, select the frontend host and click “Delete frontend host“.
Then click Save
Now, if you try to delete the Front Door WAF policy, it succeeds.