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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
JSiebrecht
Resolver I
Resolver I

Refresh all Datasets in Workspace via restAPI

How do you refresh all datasets in a particular workspace?

I am currently using a LogicApp script to periodically refresh a particular dataset in a workspace hosted in our Premium Capacity.

Now I thought I remembered there was a Power BI restAPI that would let you refresh ALL datasets in a given workspace with one call.
However, I can't seem to find this API in the documentation anymore.

Does anyone know the name of the API to use?
Or am I mistaken and there is/was no such API.

Many thanks!
Jan

2 REPLIES 2
JSiebrecht
Resolver I
Resolver I

I guess I was just mistaken.
Maybe there never was one API that refreshed all datasets in a given workspace at once.

One would need to determine the list of datasets in the workspace with "Datasets - Get Datasets In Group" API, then loop over the list and trigger a refresh one by one.
PowerShell example may be found here:
https://technovert.com/blog/refreshing-all-datasets-in-power-bi-using-rest-api/

v-jianboli-msft
Community Support
Community Support

Hi @JSiebrecht ,

 

The Power BI Refresh Dataset REST API enables dataset-refresh operations to be carried out asynchronously. Long-running HTTP connections from client applications aren't necessary. Compared to standard refresh operations, Enhanced refresh with the Refresh Dataset REST API provides more customization options and features beneficial for large models:

  • Batched commits
  • Table and partition-level refresh
  • Apply incremental refresh policies
  • Get refresh operation details
  • Cancel refresh operations

 

Here are some documents, please check if theses could helps you a little:

Enhanced refresh with Power BI REST API - Power BI | Microsoft Docs

Datasets - Refresh Dataset - REST API (Power BI Power BI REST APIs) | Microsoft Docs

Datasets - Refresh Dataset In Group - REST API (Power BI Power BI REST APIs) | Microsoft Docs

 

Best Regards,

Jianbo Li

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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