Forum Discussion
Error while executing Get dataset call "API is not accessible for application"
- 6 years ago
I was able to find the reason why. This was because I was trying to work on the data form My Org and this is a limitation in the Service Principal method:
Considerations and limitations
- Service principal only works with new workspaces.
My Workspace isn't supported when using service principal.
I am sorted now thanks for teh help.
Hi, I've got the same issue. What did you replace the "MyOrg" with?
Add groups and workdspaceID after myorg/
https://api.powerbi.com/v1.0/myorg/groups/{{workspaceId}}/reports/{{reportId}}...
- Anonymous3 years agoNot applicable
I alos met this problem. Thanks for your sharing. It works when using workspace API.
Do you know what should be added when using APP API: https://learn.microsoft.com/en-us/rest/api/power-bi/apps/get-reports
- Anonymous3 years agoNot applicable
I see apps API not support principal account:
Limitations
Service principal authentication isn't supported.
Don't know why Power BI has this kind of limitation.