Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
atorrescalderon
New Member

I cannot access the data source

I need help with the ip range that power bi uses. In the power BI web access, when entering the user and password data, it shows me the error message: 'A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'

4 REPLIES 4
v-stephen-msft
Community Support
Community Support

Hi @atorrescalderon ,


Could you tell me if your problem has been solved?

You can try to use anonymous authentication on Web data sources.

Editing of credentials is in Data source settings.

14.png

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

edhans
Super User
Super User

@atorrescalderon - this document has a list of all Azure related services and their IP addresses. Download Azure IP Ranges and Service Tags – Public Cloud from Official Microsoft Download Center


It is a JSON file. If you use this M code you can get the list of IP ranges for Power BI.

 

 

let
    Source = Json.Document(File.Contents("C:\ThePathToThe JSONFILE\ServiceTags_Public_20210802.json")),
    values = Source[values],
    #"Converted to Table" = Table.FromList(values, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
    #"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"name", "id", "properties"}, {"name", "id", "properties"}),
    #"Filtered Rows" = Table.SelectRows(#"Expanded Column1", each ([name] = "PowerBI")),
    #"Expanded properties" = Table.ExpandRecordColumn(#"Filtered Rows", "properties", {"changeNumber", "region", "regionId", "platform", "systemService", "addressPrefixes", "networkFeatures"}, {"changeNumber", "region", "regionId", "platform", "systemService", "addressPrefixes", "networkFeatures"}),
    #"Expanded addressPrefixes" = Table.ExpandListColumn(#"Expanded properties", "addressPrefixes")
in
    #"Expanded addressPrefixes"

How to use M code provided in a blank query:
1) In Power Query, select New Source, then Blank Query
2) On the Home ribbon, select "Advanced Editor" button
3) Remove everything you see, then paste the M code I've given you in that box.
4) Press Done
5) See this article if you need help using this M code in your model.

 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
atorrescalderon
New Member

Thanks a lot.

Fowmy
Super User
Super User

@atorrescalderon 

You may reach out to the Power BI support team by opening aticket : https://powerbi.microsoft.com/en-us/support/




Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.