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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Power Query for files on https web site under basic authentication

Hi, 

I'm having problems getting pass the basic authentication when trying to connect to server https://xxxx.xxx.hr/~xxxxxx/xxxxxx/.  I'm trying to use power Query Web Content but when providing User and Password under Basic Authentication it doesn't work. I tested login, password in browser and they work fine. Does anyone has any experience with such task? Any help is more then welcome. *** One quick note: I can pull json file when I provide full link to json file using Get Web Content, and it doesn't ask me any permissions.

 

2020-07-15_17-18-26.png

2020-07-15_17-24-56.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

It got solved when I removed it and then re-added it as data source. After defining u/p and privacy it started working ok. I'll keep updated if errors happen. 

View solution in original post

4 REPLIES 4
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

See if it will help you.

https://chris.koester.io/index.php/2015/07/16/get-data-from-twitter-api-with-power-query/ 

Or you can try to clear credentials in datasource setting and access by anonymous.

 

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

Anonymous
Not applicable

It got solved when I removed it and then re-added it as data source. After defining u/p and privacy it started working ok. I'll keep updated if errors happen. 

edhans
Community Champion
Community Champion

Not sure what kind of files those are, but you cannot connect to XLSX, CSV, or other files stored on a web server like that. The web connect is for reading HTML web pages, not files out of a directory. You have to have a specific connector to read files out of directory, like the connectors provided for SharePoint libraries, Azure DataLake, etc.



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
Anonymous
Not applicable

HI, 

files are of .json type. What I want is to get list of files on server, and that is what I can't. Thanks for quick response.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.