Forum Discussion

ShadowCircuit87's avatar
ShadowCircuit87
Frequent Visitor
11 months ago
Solved

Automate Service IP whitelisting

I'm aware that the Power BI Service IPs are available here: Download Azure IP Ranges and Service Tags – Public Cloud from Official Microsoft Download Center, and that it changes every week.    My d...
  • rohit1991's avatar
    11 months ago

    Hi ShadowCircuit87 

     

    Yes, this can be automated. The simplest option is to use Azure Service Tags such as PowerBI in your firewall rules, which are automatically updated by Microsoft so you don’t need to maintain them manually. If your environment does not support service tags, you can still handle it with automation. A common method is to create a PowerShell or Azure CLI script that downloads the official Azure IP ranges JSON file, extracts only the Power BI IP addresses, and updates your whitelist. This script can then be scheduled to run every week using Task Scheduler, Azure Automation, or Logic Apps. By doing this, your firewall rules or network settings will always stay up to date without any manual intervention. In short, either rely on service tags for a hands-off solution or set up a scheduled script to refresh the IPs automatically.