How do I update Front Door WAF policy programmatically?

Vinayak Udaykumar SHASTRI 5 Reputation points
2025-04-11T02:23:12.5733333+00:00

Whenever I try to update an existing Front Door WAF programmatically using the ResourceManagementClient using begin_create_or_update_by_id

I get an error Code: BadRequest Message: Property 'WebApplicationFirewallPolicy.sku' is read-only and cannot be changed.

The identity that has got the Network Contributor role on the Front Door WAF policy.

Am I missing out on something or is this an Azure issue?

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
813 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.