Showing results for 
Search instead for 
Did you mean: 
Not applicable

PowerBI Service IP range

My dataset gets data from our organization's own SQL server. The organization has a tight security policy and the SQL server that hosts our data only allows connections from a predermined range of IPs. I need to provide the SQL server admin with the IP range used by the PowerBI App Service so that I can configure dataset refresh from the PowerBI online service.


Microsoft provides a json file that with a list of IPs used by microsoft services that is updated regularly.

However, it is not clear to me that which of the IP ranges listed in this file is the one used by PowerBI Service. Can anyone help by telling which one?

New Member

You need open/whitelist for IP traffic from Power BI server to your data source.
Test my Power Query Editor code. Upload it to your workspace and update the data. Now you get the PBI server's ip address..

    Source = Table.FromColumns({Lines.FromBinary(Web.Contents(""))}),
    #"IP-address" = Table.RenameColumns(Source,{{"Column1", "IP address"}})

Best Regards,
/Raymond Erming/

Greate @erming 

But do you have any information about the consistancy of this IP adress. I.E. will it change over time, workspaces or platforms (Shared versus premium instances)?

Super User
Super User

Hi there

If you are using the Power BI On-Premise Gateway this will complete the refreshing for you.

All that you would need to provide is the IP Address of the server where you have got the On-Premise Gateway installed. This is what will be used to connect to the SQL Server.

Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Power BI Blog

Not applicable

Unfortunately the on premises gateway is not an option. My organization does not want to maintain any server or desktop machines, even the SQL server is managed by a consulting company. At the moment it looks like providing the SQL server admin with the correct IP range for PowerBI Service is my only option to avoid having to constantly update datasets manually by refreshing reports from PowerBI desktop.

Hi there even with DirectQuery you still have to have a On-Premises Gateway for the 2 worlds to connect.

So without the Gateway you will have to manually refresh the reports and update them. There is a product called Power On which could do this for you?

Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Power BI Blog

Helpful resources

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 24 without aka link and time 768x460.jpg

Ted's Dev Camp - July 28, 2022

Watch Session 24 of Ted's Dev Camp along with past sessions!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors