Azure WAF V2 restricting file upload above 750 MB

Arul Jothi 20 Reputation points
2023-07-26T15:37:31.6366667+00:00

Hi Team,

We are using WAFV2 with CRS 3.2 for our Azure App Gateway.

We are seeing there is a file upload/download restriction when the file size is greater than 750 MB

https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#application-gateway-limits

Even though as per the documentation it is mentioned that if we use WAFV2 with CRS 3.2 for our Azure App Gateway we will have file upload limit upto 4 GB.

But it is mentioned that
Must define the value via WAF Policy for Application Gateway.
Can someone help me how to define the value in WAF Policy for Application Gateway.

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,080 questions
Azure Web Application Firewall
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 49,646 Reputation points Microsoft Employee
    2023-07-26T16:09:31.17+00:00

    Hello @Arul Jothi ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I understand that you are using WAFV2 with CRS 3.2 for your Azure App Gateway but you see that there is a file upload/download restriction when the file size is greater than 750 MB. As per the documentation it is mentioned that if you use WAFV2 with CRS 3.2 for your Azure App Gateway you will have file upload limit up to 4 GB. And would like to know how to define this value in your existing WAF Policy for Application Gateway.

    To define the "Max file upload size" to 4 GB in your existing WAF policy for Application gateway, you can follow the below steps:

    • Go to the Application Gateway WAF policy in Azure Portal.
    • Expand the settings pane and go to Policy Settings.
    • In the Max file upload size (MB) option, change the value to 4000.
    • Click Save. This will make your Max file upload size limit to 4 GB.

    User's image

    User's image

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


0 additional answers

Sort by: Most helpful

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.