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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.