automatically download the latest ip ranges used by MS Azure Datacenters
I see MS has provide website where you can download the public ip ranges used by MS Azure.
The question is, is there a way to download the XML file from that site automatically using Python or other scripts? I am trying to schedule a task to grab the new IP range file and process it .
Thank you for the feedback. We now have a report that is generated weekly on Mondays: Azure Service Tags JSON (https://www.microsoft.com/en-us/download/details.aspx?id=56519). This file includes all of the Service Tags and data by regions. This is an improvement over previous files as it includes tagging by Service Tag. We recommend you move to using this file and check weekly for updates. The file is broken out by Cloud (I.e. Public) and region (i.e., West US 2). We will take the RSS Feed request under advisement.
Except that this method requires you to click the download button to actually get the link to the list. Can you not just publish the latest list to a static URL so we know exactly where to get it without having to script passing through this hurdle?
Checking the link every week for updates is a manual task, this needs to be automated. O365 IP ranges have the possibility of alerting the customers via RSS Feeds. Atleast this can be helpful and a quick one.
Looking for the same. Need an easy way to automate so we can update things automatically when the IP address ranges change.