Forum Discussion
Can't get datasets info
- 4 years ago
Hi, I have the same problem.
In the end, I found that all these datasets are not under 'myspace' but a 'groupspace'.
Maybe, you can check it.
If you want to get the datasets under the group, you need to get the groupId first, and use this API
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/get-datasets-in-group#code-try-0
GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets
Hi, I have the same problem.
In the end, I found that all these datasets are not under 'myspace' but a 'groupspace'.
Maybe, you can check it.
If you want to get the datasets under the group, you need to get the groupId first, and use this API
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/get-datasets-in-group#code-try-0
GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets
Thanks a lot for the reply. I will check this out.
Best regards,
Weiyu