Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I'm trying to access the reports shared in a content package under a group I'm a member of through the API. It seems pretty simple in this link https://msdn.microsoft.com/en-us/library/mt634543.aspx, however, I get "The remote server returned an error: (401) Unauthorized.". I'm able to get reports in my workspace and also the group_Id through the same api and same credentials. I have given permissions to my app to all view groups, view user groups and view content properties, which I'm not even sure if I need. Am I missing or misunderstanding something?
i am facing issue geting unauthorized even i received access token. same code is working if login and return response on return page but when i tried to get access token directly and passing to list down all the dashboard getting below error. i tried all the sample available (C# visual studio 2017) GitHub.
The remote server returned an error: (401) Unauthorized.'
unfortunately i have the same issue
I'm having a similar issue - error 401 unauthorized, except that I'm running into it when I list reports in a given group.
I'm able to obtain token successfully using this API:
https://login.windows.net/common/oauth2/token
- OR-
https://login.windows.net/{directory_id}/oauth2/token
I'm able to list reports in my personal workspace/group with this API:
https://api.powerbi.com/v1.0/myorg/reports
I'm able to render any of my own reports in an iframe per Power BI REST API documentation.
Now, someone in my organization has shared a few reports with me in another group. I'm able to list all groups I'm shared on using this API:
https://api.powerbi.com/v1.0/myorg/groups
However, as soon as I'm trying to list reports within a particular group (outside my own) I get 401 error using this API:
https://api.powerbi.com/v1.0/myorg/groups/{one_of_the_shared_group_UUIDs}/reports
I'm added to the group with all permissions to view and edit reports in the group and I seem to be able to view reports in the online Power BI portal indeed. I just can't list them via the PowerBI REST API...
Any idea?
@mpd10, I believe that this is PowerBI server side error
I've reported issue with detailed steps to reproduce:
https://ideas.powerbi.com/forums/360879-issues/suggestions/16694833-error-group-reports-embedding-wo...
I would really appreciate if you can vote for it
Thank you in advance
Hello
I'm facing the same problem
I'm successfully receiving token, then list of reports in some particular group
But when I'm trying to make report embed in iframe - I'm receiving 401 error during accessing some page ending in ../modelsAndExploration
Have you solved this problem?
Thank you in advance
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |