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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Allow users to manually refresh a specific dataset (no gateway)

Hi,

 

I'm looking for a way to allow some staff to refresh the dataset of a report manually whenever needed. I cannot grant them Admin access, I tried with Member and Contribute but they cannot see the dataset hence run the refresh. It is a Premium workspace with multiple reports and datasets in it, ideally I would like to grant them "refresh rights" to only 1 of these reports/datasets. Any idea?

 

Thanks,

 

Pietro

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. It is weird that they can't refresh. I'm curious if this is because there is not gateway. A Member should be able to run a dataset refresh because they have manage dataset permission.

Anyway. Let's talk about an approach. You can try building a small app with powershell or whatever coding language that triggers a Power Bi dataset Refresh.

https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/refreshdataset

The users can just double click on an app authenticating with service principal and running the refresh for the dataset.

Hope that helps,


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

Happy to help!

LaDataWeb Blog

View solution in original post

2 REPLIES 2
ibarrau
Super User
Super User

Hi. It is weird that they can't refresh. I'm curious if this is because there is not gateway. A Member should be able to run a dataset refresh because they have manage dataset permission.

Anyway. Let's talk about an approach. You can try building a small app with powershell or whatever coding language that triggers a Power Bi dataset Refresh.

https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/refreshdataset

The users can just double click on an app authenticating with service principal and running the refresh for the dataset.

Hope that helps,


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

Happy to help!

LaDataWeb Blog

Anonymous
Not applicable

Thanks @ibarrau ! I'm opting for a button that triggers a Power Automate Flow calling the PowerBI refresh API 👍

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors