Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
I want to use following two APIs with same groupId and datasetId, however only the last API works.
GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/refreshSchedule
GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/refreshes
The first API returns:
{"error":{"code":"ItemNotFound","message":"Dataset xxxxxx is not found! please verify datasetId is correct and user have sufficient permissions."}}
Please help me on this one, thanks!
Solved! Go to Solution.
Hi @wangzhen
Ensure that the user or service principal you are using to make the API call has sufficient permissions to access the dataset. The user needs to have at least 'Contributor' access to the workspace (groupId) and the dataset.
Use the following API to list all datasets in a group and check if your `datasetId` is present:
GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets
This will help you verify if the `datasetId` is correct.
The refreshes API is available only for datasets that have a refresh schedule set up. If the dataset doesn't have a refresh schedule, you won't be able to retrieve refreshes for it.
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @wangzhen
Ensure that the user or service principal you are using to make the API call has sufficient permissions to access the dataset. The user needs to have at least 'Contributor' access to the workspace (groupId) and the dataset.
Use the following API to list all datasets in a group and check if your `datasetId` is present:
GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets
This will help you verify if the `datasetId` is correct.
The refreshes API is available only for datasets that have a refresh schedule set up. If the dataset doesn't have a refresh schedule, you won't be able to retrieve refreshes for it.
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 25 | |
| 10 | |
| 10 | |
| 6 | |
| 5 |