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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
neobi
New Member

Refresh a Power BI Dataset Dynamic DatasetID

I'm currently calling the 'Refresh a dataset' Action from Power Automate which works great when you manually select the Dataset or hardcode the DatasetID (found in the URL). However, we have dozens of Datasets and would like to make this ID dynamic based on previous Flow logic. 

 

neobi_0-1629587993394.png

You can select the Dataset name from the drop down but when typing in the same string value as the Dataset, I receive an error:

neobi_1-1629588262123.png

 

How can I make the DatasetID dynamic? I tried calling HTTP GET Request to https://api.powerbi.com/v1.0/myorg/datasets but it returns a 403, even with the Authentication Bearer token.

 

1 ACCEPTED SOLUTION

As you can see in the screenshot, we are hardcoding the GUID to get around the issue. Since you suggest creating a custom connector, we have decided to store the DatasetIDs in a SharePoint list and query that based on the current client.

View solution in original post

4 REPLIES 4
Red217
Helper III
Helper III

Where you able to resolve this ? , facing the same issue 

moti
New Member
lbendlin
Super User
Super User

You need to provide the datased GUID, not its name.  Either have a list of GUIDs or use a Power BI REST API call to enumerate them. You need to register a custom connector/app with the right permissions and swagger definitions for that.

As you can see in the screenshot, we are hardcoding the GUID to get around the issue. Since you suggest creating a custom connector, we have decided to store the DatasetIDs in a SharePoint list and query that based on the current client.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.