How to import Azure Public IP Range JSON to Azure Firewall

Samuel Cheung 1 Reputation point
2022-09-07T09:17:46.463+00:00

Hello,

I downloaded the JSON from the following link:
https://www.microsoft.com/en-us/download/details.aspx?id=56519
which includes all the Azure public ip address.

How can I import the file to my Azure firewall configuration?

Thanks.
Regards,
Samuel

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
564 questions
Azure Firewall Manager
Azure Firewall Manager
An Azure service that provides central network security policy and route management for globally distributed, software-defined perimeters.
83 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. JimmySalian-2011 41,916 Reputation points
    2022-09-07T11:00:47.597+00:00

    Hi Samuel,

    You can use automation via preferred tool such as ARM templates or BICEP.

    Check the process over here - quick-create-multiple-ip-template

    ==
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


  2. rafalzak 3,216 Reputation points
    2022-09-07T11:07:21.077+00:00

    Hi @Samuel Cheung ,

    I would suggest to create IP Groups and import the file there but it has limitations to 5000 IP's per group and it must be converted to CSV.
    Then use IP Groups into Azure Firewall.
    https://learn.microsoft.com/en-us/azure/firewall/ip-groups
    or instead of importing all these addresses maybe you could use tags for services when you create policies in firewall.