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.
vivinj ,
Let's try to collect a Fiddler trace.
1. If you don't have it, then install - https://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/InstallFiddler
2. Open Fiddler
3. Select "Edit -> Remove -> All Sessions"
4. Reproduce the issue in your Postman
5. There should be some red lines when API request runs. Post a screen shot of that.
Regards,
Ruslan Zolotukhin (zoloturu)
BI Engineer at Akvelon Inc. / Kharkiv Power BI User Group Leader / DAX & Power BI Trainer
-------------------------------------------------------------------
It was useful? Press Thumbs Up!
You are from Ukraine? If yes then welcome to Power BI User Group - KhPUG website. Other country? Check and find proper one - Power BI User Groups
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.
- WCONGRAVE4 years agoAdvocate I
Hi, I've got the same issue. What did you replace the "MyOrg" with?
- sonkanit3 years agoNew Member
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