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
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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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