Azure firewall rules with multiple IP or ranges issue

prasantc 856 Reputation points

I found the following information about IP separated with commas and Azure rule still accepts the rule without error.

Spaces Between IP Addresses or Ranges:

When specifying multiple IP addresses or ranges, separate them with a comma and no spaces. For example:,

Spaces Around Commas:

Ensure there are no spaces immediately before or after the commas used to separate IP addresses or ranges. Incorrect:,

Apparently, entire rule does not work when there is a comma in between

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
580 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 36,861 Reputation points Microsoft Employee


    I did a lab and I was able to reproduce the behavior of Azure firewall adding implicit spaces.

    I was able to add a list of IPs with both

    • Just comma separated
    • Comma separated plus space


    • Spaces only separated list did not work.

    Is this the issue you are looking at?

    Are you interested in knowing what is the recommended way to do this?

    In any case, the rule I created worked perfectly.

    • It does not matter if you use a "comma separated" or "comma separated plus space".
    • I created a rule that allowed and
    • User's image
    • (
      • User's image
    • (
      • User's image
    • while accessing
      • User's image



    0 comments No comments