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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
nicg
Advocate II
Advocate II

REST API Refresh Dataset In Group Response Location

Asynchronous refresh with the Power BI REST API - Power BI | Microsoft Docs

 

This documentation describes a "Location" response from the "Refresh Data In Group" REST API command which includes the refresh ID. I have not been able to return this property in PowerShell. Does anyone know how to access this response?

 

The command looks like this and is successful, but I don't get a response.

Invoke-PowerBIRestMethod -Method Post -Url "groups/$($WorkspaceId)/datasets/$($DatasetId)/refreshes" -Body $refresh
1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

This came up last week in another thread. The documentation is incorrect.  Use the GET request to retrieve the requestId  (note it is requestId, not "refresh ID").

View solution in original post

4 REPLIES 4
lbendlin
Super User
Super User

This came up last week in another thread. The documentation is incorrect.  Use the GET request to retrieve the requestId  (note it is requestId, not "refresh ID").

Which part of the documentation is incorrect? Do you mean the Post method doesn't ever respond with the request ID? Using the Get method to retrieve refresh history is the only way to get the most recently submitted refresh?

 

Thanks,

Nick

yes, and yes.

Got it, thanks!

Helpful resources

Announcements
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.