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.
https://www.microsoft.com/en-us/download/details.aspx?id=56519
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?
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..
let
Source = Table.FromColumns({Lines.FromBinary(Web.Contents("https://ifconfig.co/ip"))}),
#"IP-address" = Table.RenameColumns(Source,{{"Column1", "IP address"}})
in
#"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)?
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.