I'm trying to implement a blacklist/blocklist of IPs in Azure App Service. I created a series of firewall rules that blocked specific IPs, I then added a rule that allowed all IPs (0.0.0.0/0) as a lower priority rule. My assumption was that the higher priority deny rule for specific IPs would block, if none of the deny rules matched than it would allow.
What I found was that all traffic was still allowed, that the deny rule was ignored. Is denying specific IPs while allowing all other traffic not possible or do I need to setup in a different way?
Also, I did try remove the Allow IPs rule, but received a 403 from an IP that wasn't being blocked.
Example of rule setup (note the IP is from a comment spammer, so don't try to resolve):