Generally Available: Custom block response code and body for Application Gateway WAF
Share
Services
Announcing the General Availability of custom block response code and body for WAF integrated with Application Gateway
Azure WAF integrated with Application Gateway now supports customizable response status codes and bodies for blocked requests, enabling greater flexibility and control.
By default, when the WAF blocks a request due to a matched rule, it returns a 403 status code with a "The request is blocked" message. As with WAF with Azure Front Door, now customers can also define a custom response status code and message with Application Gateway when WAF blocks a request. This customization is a policy-level setting, ensuring that all blocked requests receive the same custom response status and message.
For further details, please reach out to the Azure WAF product team.
[Learn more](https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/configure-custom-response-code).
What else is happening at Microsoft Azure?
Read update
Services
Share
Read update
Services
Share
Generally Available: Azure Virtual Network Manager IPAM in additional Azure regions
September 3rd, 2026
Services
Share
Public Preview: Azure Front Door profile and route level WAF policies
September 2nd, 2026
Services
Share
Generally Available: Azure Firewall auto-learn SNAT routes
September 1st, 2026
Services
Share