Search code examples
azurecdnrule-engineazure-cdn

How do I remove a published Azure CDN Rules Engine


I published a rule created by rules engine and it got deployed. But how do I remove / cancel the policy or delete it ? I no longer need it as its causing continues redirect and my service is not accessible. Note that I am using Premium Verizon pricing tier

enter image description here


Solution

  • According to the documentation

    Only a single policy per environment may be active at any given time.

    You don't really remove it, you just overwrite it. You can create a new draft, lock it, and deploy it on top of the existing one.

    Also note that you can't have an empty policy.