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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Anonymous
Not applicable

Schedule refresh Azure API as data source

I have a dataset which has an azure cloud API data source.

I can connect with the desktop application to the data source, including passing the Bearer token.

From here I can manually refresh in the desktop version, but when I publish to service the Schedule refresh gets disabled.

 

The warning triangle under Actions says; "Scheduled 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 under Settings->Datasets it says; "Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again."

 

I dont use any credentials in the desktop version when refreshing, why cant I schedule refresh? Is there any workaround?

Heres my datasource connection;

= Table.FromColumns({Lines.FromBinary(Web.Contents("https://analytics.azurewebsites.net/api//Events?from=2020-01-01T00:00:00.000Z&to=2050-01-22T23:59:59...", [Headers=[Authorization="Bearer <token>"]]), null, null, 65001)})

3 REPLIES 3
Anonymous
Not applicable

To get to the Scheduled refresh screen:

  1. In the navigation pane, under Datasets, select More options (...) next to a dataset listed .

  2. Select Schedule Refresh.

     

Gateway connection

You will see different options here depending on whether you have a personal, or enterprise, gateway online and available.

If no gateway is available, you will see Gateway connection disabled. You will also see a message indicating how to install the personal gateway.

 

If you have a personal gateway configured, it is available to select if it is online. It will show offline if it is not available.

 

You can also select the enterprise gateway if one is available for you. You will only see an enterprise gateway available if your account is listed in the Users tab of the data source configured for a given gateway.

I hope this infromation helps!

Regards,

Lewis

Developer

Apps4rent

Anonymous
Not applicable

I now noticed under Gateway connection it 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."

Still though I cant refresh, and I never enter any credentials anywhere in desktop, the only security is a Bearer token which works on desktop.

Anonymous
Not applicable

Hi Lewis and thanks for response,

 

Unfortunately Ive done these steps aswell, sorry for not including..

When I enter the settings for Datasets, I can see my personal gateway, I cant however select it and the status says "Not configured correctly", so when I press the gear symbol Im directed to the Gateway Clusters, here it says Im "Online: You are good to go.".

From here I cant add "New data source" to the cluster because of the token, but it also says under Gateway connection that; "Optional - Add to gateway"

 

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.

 

The data source is Web in Power BI desktop

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