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

Scheduling refresh with Web as datasource

Hi,

I have an issue regarding the schedule refresh for the online services.

My dataset is working fine where I use "Web" as datasource and fetching data from an API with a Bearer token provided in the header.

When refreshing the dataset on desktop everything works fine, no issues at all, I can get all the data I want.

The dataset can be published to online services without any problems aswell, all the data is preloaded with the dataset from when I refreshed the pbix file.

Then here is my issue where I try to set up a scheduled refresh, the warning triangel appears saying;


"Data source errorScheduled refresh is disabled because at least one data source is missing credentials. To start the refresh again, go to this dataset's settings page and enter credentials for all data sources. Then reactivate scheduled refresh."

 

And when I enter the settings of the dataset the Gateway connection says;
"You don't need a gateway for this dataset, because all of its data sources are in the cloud, but you can use a gateway for enhanced control over how you connect"

 

And under Data source credentials it says;

"Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again."

 

Though I dont use or have any Web credentials it is requiring this from me, all I Authorize with is a Bearer token which is passed by in the header.

Any suggestion why online services is behaving this way or any solution so that I can add a scheduled refresh to this datasource?

 

All help is appreciated.

2 REPLIES 2
v-xuding-msft
Community Support
Community Support

Hi @Anonymous ,

I think you could use RelativePath option parameter to have a try.  Please Reference:

https://community.powerbi.com/t5/Service/Refresh-not-working-in-Power-BI-Service/td-p/674167

 

Best Regards,

Xue Ding

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

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-xuding-msft ,

Thanks for response, unfortunately this did not work either, as the thread starter from the link you provided did not solve it either with that example, eventhough it is accepted as a solution..

 

Any other workarounds or is this a common bug in power bi?

I have been consulting with developers at my company who work daily with cloud solutions, their spontaneous idea is that the problem lies with power bi not passing by the header when publishing to online services, skipping the token authentication alltogether.

 

My problem persists, any help is appreciated.

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.