Trying to update an Azure Firewall policy

SS 0 Reputation points
2024-02-12T21:18:10.5533333+00:00

I'm trying to update the firewallpolicy by adding an new ipadres to block with a powershell script, but getting this error: "Specified api-version '2022-01-01' does not meet the minimum required api-version 2022-07-01 to enforce rate limiting on resource" update statement

Set-AzApplicationGatewayFirewallPolicy -InputObject $appGwpolicy

Any idea how to specify the api version?

Azure Web Application Firewall
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 26,291 Reputation points Microsoft Employee
    2024-02-13T02:48:28.5933333+00:00

    @SS

    Thank you for reaching out.

    I understand you are getting the error "Specified api-version '2022-01-01' does not meet the minimum required api-version 2022-07-01 to enforce rate limiting on resource"

    • Can you try updating the Az.Network module and see if that resolves the issue.

    Update-Module -Name Az.Network

    7.4.0 is the current version of the module

    User's image

    • If this does not help, can you see if the issue can reproduced using Azure Cloud Shell?

    If above does not help please share the complete set of commands you are running. Thank you!

    0 comments No comments

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.