Hi ,
Thanks for reaching out to Microsoft Q&A.
There is no official static fixed URL from Microsoft that always redirects to the latest “Public Cloud IP Ranges” JSON (for example the file under ID 56519).
However, you have two viable automation-friendly alternatives:
Use the Service Tag Discovery API:
GET
https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTags?api-version=2025-01-01(or appropriate version) ([Microsoft Learn](https://learn.microsoft.com/en-us/rest/api/virtualnetwork/service-tags/list Tags - List - REST API (Azure Virtual Networks)")) This gives you service-tag definitions (including address prefixes) programmatically. Caveat: It may lag behind the downloadable JSON file by up to ~4 weeks. (Stack Overflow)
Automate parsing the Microsoft Download Center page to extract the current JSON URL:
Fetch the page: https://www.microsoft.com/en-us/download/details.aspx?id=56519 (Microsoft)
Parse the “click here to download” link to find the JSON file (which includes date/UUID).
Download that JSON. This works but you admit it’s brittle (and Microsoft does not provide a simple stable alias).
```For reliable automated firewall updates, I suggest using the Service Tag API (option 1) where possible, and fall back to the download-link parsing (option 2) if you need *exactly* the full “Public Cloud IP Ranges” JSON each week.
Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.