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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.