Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
9 | |
3 | |
3 | |
2 | |
2 |