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 weiyu_chen,
Have you added any specific datasets to your workspace? I test on my side and this API works well.
Please share more detailed information to help us clarify your scenario and test to troubleshoot:
How to Get Your Question Answered Quickly
Regards
Xiaoxin Sheng
Anonymous Thanks for the reply. Yes, we have 7 datasets in the workspaces, 6 of them are Dynamics 365 related, 1 is from the How-to guides (https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-quickstart-learn-dax-basics), that's the Contoso Sales Sample for Power BI Desktop file. As you can see in the following sreenshot:
Thanks,
Weiyu
- Anonymous4 years agoNot applicable
Hi weiyu_chen,
I suppose this issue may relate to that report(power bi rest api not has corresponded permissions to process on the guide report), perhaps you can try to remove that report and try again.
Regards,
Xiaoxin Sheng
- weiyu_chen4 years agoFrequent Visitor
Hi Anonymous Thanks for the reply. I don't know what's the guide report. I didn't create any report, just connected to Sales Analytics for Dynamics 365 Sales and other Dynamics' datasets. Do you have any links on permission issues?
Thanks a lot,
Weiyu
- Anonymous4 years agoNot applicable
Hi weiyu_chen,
So you mean you are working with the template connector on the power bi service side? Have you tested to remove these specific contents from your workspace and try again?
Regards,
Xiaoxin Sheng