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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
BartVW
Helper I
Helper I

Enhanced refresh with the Power BI REST API - RequestId not valid

hi community

 

I'm creating a flow to perform a Power BI Enhanced dataset refresh. 
 
According to the documentation, after doing the POST to refresh the dataset, the RequestId that is returned from the POST can be used to check the status of that refresh.
 
When I do these steps in Postman, it works ok. I can use the RequestID I get from the POST to then do a GET (as described here in the article).
 
When I do the same steps in Power Automate (using the same authentication etc), the RequestID I get from the POST is not recognized when trying to the GET Refresh history in the 2nd step.
 
Would anyone know why this could be?
 
Many thanks
Bart
 

 

 

1 ACCEPTED SOLUTION

In the meantime I found the reason for above behavior, thanks to Chris Webb's blog here.

 

Turning off the Asynchronous Pattern option in the Settings dialog of the HTTP action did the trick for me.

 

BartVW_0-1732624394764.png

 

View solution in original post

3 REPLIES 3
v-yiruan-msft
Community Support
Community Support

Hi @BartVW ,

You can refer the following links to refresh Power BI dataset:

Refresh your Power BI dataset using Microsoft Flow | Microsoft Power BI Blog | Microsoft Power BI

How to Refresh Power BI Dataset Using Power Automate

vyiruanmsft_0-1722501104973.png

Best Regards

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

hi @v-yiruan-msft 

 

Your link describes the normal (non-enhanced) dataset refresh. The problem is that this only triggers the refresh, but doesn't provide any feedback on whether it was succesful or not. 

 

The enhanced data set refresh allows to do this by doing the process in 2 steps: first call the dataset refresh api using POST and including a body to trigger it as an enhanced refresh operation, and then call the data set refresh api using GET to check the status of the refresh, using the requestId from the first step (as described in the documentation link I provided),  but for some reason it doesn't work as documented in Power Automate (and does work OK in Postman).

 

So hope you or anyone else has an idea how to resolve this.

 

Thanks

Bart

In the meantime I found the reason for above behavior, thanks to Chris Webb's blog here.

 

Turning off the Asynchronous Pattern option in the Settings dialog of the HTTP action did the trick for me.

 

BartVW_0-1732624394764.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.