Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

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.

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?

5 Replies

  • 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.
    • Anonymous's avatar
      Anonymous
      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.

      • GilbertQ's avatar
        GilbertQ
        Super User
        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?

        https://poweronbi.com/
  • 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/

    • pade's avatar
      pade
      Advocate III

      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)?