Ensure that WAF policy for Azure Front Door is set to Detection mode.
Web Application Firewall (WAF) on Front Door provides centralized protection of your web applications from common exploits and vulnerabilities. Web applications are increasingly targeted by malicious attacks that exploit commonly known vulnerabilities. It monitors and logs the request and its matched WAF rule to WAF logs.
Modify Front Door WAF policy and enable prevention mode.