Forum Discussion
Power BI REST API [Datasets - Get Dataset To Dataflows Links In Group] Not Pulling All Data
- 2 years ago
Update (25 September):
Looks like the issue has been resolved by itself. Service Principal calls are returning all data now.
Hi Jay_Geng ,
If I understand correctly, it seems that it can't return the entire data, only return part of data when call REST API Datasets - Get Dataset To Dataflows Links In Group. The problem could be due to the permissions associated with the Service Principal. The Service Principal will have access to the data only if it has authorization on that workspace. Please ensure that the Service Principal has the necessary permissions (Dataset.ReadWrite.All or Dataset.Read.All) to access all the data.
Best Regards
- Jay_Geng2 years agoFrequent Visitor
Hi Yiruan,
Thank you for your reply.
I can confirm that the Service Principal has the required API permission as shown in the screenshot, and the Service Principal also has admin access to all of the workspaces.
I believe this issue only started to occur recently. Before, I was using the exact same method with the same Service Principal and I was able to pull all the data.