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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
srduval
Helper III
Helper III

Anonymous Credentials To Web URL

I am trying to use the web service connection to get data from the us treasury:

https://home.treasury.gov/resource-center/data-chart-center/interest-rates/TextView?type=daily_treas...

 

I am able to connect to the website and get the data I need in power bi desktop, but I am unable to refresh it in service because it is missing credentials, but this website doesn't support anything other than anonymous access. How can I configure the datasource to refresh online?

1 REPLY 1
Burningsuit
Resident Rockstar
Resident Rockstar

Hi @srduval 

Yes, using the standard web connector in Power BI/Power Query requires a Gateway to refresh the data when published to the cloud, even if the Web page does not require any authentication.

There is a possible work around.

In PowerQuery ("Transform data" when you connect to the Web Page in Power BI desktop) Change the "source" line, often the first line of the Power Query steps, from " = WebBrowserContents("**your URL **")" to " = WebContents("**your URL **")".

Microsoft's documentation states that:

Web.BrowserContents "Returns the HTML for the specified url, as viewed by a web browser."

whereas

Web.Contents "Returns the contents downloaded from url as binary"

So, depending on the web page you are using, you may see a difference, but in most cases this works fine.

Once you've made the change you'll need to go to the Credentials part of the Dataset settings for the web element...

Burningsuit_0-1645115708886.png

 

 

and there Click on "edit credentials" and there set the Authentication Method to "Anonymous"

Burningsuit_1-1645115708939.png

 

 

That should allow you then to schedule Refreshing for the web-page in Service.

Hope this helps

Stuart

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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

Top Solution Authors