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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
manuelescalona
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?

Thanks

4 REPLIES 4
JimmyRohardt
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

 

Jimmy

 

 

v-qiuyu-msft
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.
JuliaYebra
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

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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