Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi everyone,
I’m running into an odd issue with the Power BI REST API.
I’m calling the GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/refreshes endpoint to check a dataset’s refresh history. Until a few days ago it returned the expected JSON:
{
"@odata.context": "https://wabi-west-europe-b-primary-redirect.analysis.windows.net/v1.0/myorg/groups/517001b1-b717-492...",
"value": [
{
"requestId": "b04b54ce-610e-4afd-a780-d0b4f2c1896f",
"id": 1925306401,
"refreshType": "ViaApi",
"startTime": "2025-05-16T11:25:21.263Z",
"status": "Unknown",
"refreshAttempts": []
}
]
}
Now, every call returns HTTP 204 with an empty value array:
{
"@odata.context": "https://wabi-west-europe-b-primary-redirect.analysis.windows.net/v1.0/myorg/groups/517001b1-b717-492...",
"value": []
}
I get the same result even for datasets that definitely have refresh history.
Has anyone else seen this? Did something change on the service side, or am I overlooking a new requirement/parameter?
Thanks in advance!
Solved! Go to Solution.
Hi @TStrada ,
Thank you for reaching out to Microsoft Fabric Community.
This issue has popped up recently for others too. Here are some simple things to check:
1.Try Refreshing the Dataset Again
Power BI only keeps the last 60 refresh logs. If the dataset hasn’t refreshed in a while, the history might be empty. Run a new refresh and check again after a minute.
2.Double-Check Dataset and Workspace
Make sure you're using the correct dataset ID and that it belongs to a Pro or Premium workspace.
3.Check API Permissions
If your app’s access token doesn’t have the right permissions (like Dataset.Read.All), it might not return anything even if refreshes exist.
4.Use $top in Your API Call
Add ?$top=5 at the end of your API URL. Sometimes Power BI doesn’t return results unless you specify this.
5.Confirm the Dataset ID
If the dataset was re-published or changed, the ID might be different. You can list all datasets in the workspace to confirm.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Hi @TStrada ,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please accept it as a solution and give it a 'Kudos' so other community members with similar problems can find a solution faster.
Thank you.
Hi @TStrada ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @TStrada ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @TStrada ,
Thank you for reaching out to Microsoft Fabric Community.
This issue has popped up recently for others too. Here are some simple things to check:
1.Try Refreshing the Dataset Again
Power BI only keeps the last 60 refresh logs. If the dataset hasn’t refreshed in a while, the history might be empty. Run a new refresh and check again after a minute.
2.Double-Check Dataset and Workspace
Make sure you're using the correct dataset ID and that it belongs to a Pro or Premium workspace.
3.Check API Permissions
If your app’s access token doesn’t have the right permissions (like Dataset.Read.All), it might not return anything even if refreshes exist.
4.Use $top in Your API Call
Add ?$top=5 at the end of your API URL. Sometimes Power BI doesn’t return results unless you specify this.
5.Confirm the Dataset ID
If the dataset was re-published or changed, the ID might be different. You can list all datasets in the workspace to confirm.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
User | Count |
---|---|
5 | |
4 | |
4 | |
2 | |
2 |
User | Count |
---|---|
8 | |
4 | |
4 | |
4 | |
3 |