Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that you would like to configure the Application gateway WAF to drop the packet without sending a response.
I checked this internally and this is not feasible with WAF as of now.
The WAF will always send a response code.
However, you can achieve this behavior by using NSGs on the Application Gateway subnet.
- Define the list of IP Addresses you'd like to block and create a DENY Rule.
- The packets coming from these IPs will be dropped by NSG itself.
- However, make sure the NSG has the Required security rules
Cheers,
Kapil
Please Accept an answer if correct.
Original posters help the community find answers faster by identifying the correct answer.