Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Regular Visitor

how to connect with web sites that require login and password?

I need to get data from several web sites that require login and password. Once I connect to them, Power BI will retrieve data from html tables on a daily basis to generate a consolidated report. I tried Web connect using the "Get Data" feature, but does not work with a login and password.

Can you please provide some guidelines?


Regular Visitor

I too have a similar problem.

I'm trying to login to a webserver - providing userid + password.


I've tried "windows logon" option as well as "basic" - same result.

I've also setup a trace on the webserver and NOTHING gets to the server. i.e - no validations takes place.


However if I choose the edit option available at the failure pop-up and change the "open file as" to e.g "CSV" or "TEXT" then

logon works and I get data .. ( in html format - but nevertheles data ).


But I have to get through the stage of being denied access and then retry changing the filetype.


It works perfectly in other microsoft products like IE & Excel. - I'm being prompted for userid/password and then everything works fine. 


I could change the source data to csv to circumvent the problem - but I haven't been able to find anythning about controlling which filetype to use "up front" ( html - csv or other )


Any help will be mucg appreciated





Community Support
Community Support

Hi @manuelescalona,


I think you need to investigate the web site itself firstly, whether this site supports OData or which kind of API does it support. Then you can decide which data source you can use in Power BI desktop to retrieve data.


For OData feed, you can check its syntax from here. If the web site expose the REST API, you can refer to this blog to call it in desktop: How to call REST APIs and parse JSON with Power BI.


Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Helper III
Helper III

Have you tried OData Feed option? 

Yes, I did try, but getting an error: "Unable to connect"

Details: "OData: The given URL neither points to an OData service or a feed: 'https://mywebsite/login'."

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors