An Azure service that provides protection for web apps.
Use browser developer tools (Network tab) or a tool like curl -v to inspect the full request headers being sent. Check if any headers are unusually large or if the total header size is significant. Compare against Azure Application Gateway limits.
Try sending a simplified version of the request using curl. Start minimal (correct URL, minimal required headers) and gradually add components until the error occurs. This helps pinpoint if a specific header or part of the request structure is causing the issue. Make sure that the client is sending a valid HTTP/1.1 or HTTP/2 request according to the listener configuration.
As a test, please completely disable the WAF policy on the listener (set WAF Policy to None), don't set it to Detection mode. Please verify whether the request succeed through the Application Gateway or not? If yes, the issue is definitely related to the WAF policy, even if logs are missing. If it still fails, the problem lies within the core Application Gateway configuration (listener, routing rule, etc....) and also Which Managed Rule Set (MRS) version are you using? Consider temporarily switching to a different major version to see if the behavior changes.
Carefully review the listener configuration (protocol, port, hostname, WAF policy association) and the associated request routing rule (path matching, backend target) and also verify the backend health status in the portal. Check if the health probe configuration is correct and if the probe path returns a 200 from IIS.
Double-check the Diagnostic Settings for your Application Gateway. Make sure that all three log types (ApplicationGatewayAccessLog, ApplicationGatewayFirewallLog, ApplicationGatewayPerformanceLog) and metrics are being sent to your Log Analytics Workspace or other destination, and that the configuration is saved correctly. There might be a delay, but AGWFirewallLog should show entries even in Detection mode if a rule is matched.
Kindly let us know if the above helps or you need further assistance on this issue.