Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
Im trying to get individual report data by using this rest api
https://api.powerbi.com/v1.0/myorg/reports/{report_id}
and even i tried with
GET https://api.powerbi.com/v1.0/myorg/groups/{group_id}/reports/{report_id}
what is group id?
in the place of group id i mentioned the id which u can see in screenshot
after mentioning this report id and group id in rest api im getting this which u san see in screenshot
may i know what is the issue
can you help me out with this how can i resolve this issue?
Thanks
sai kumar
Solved! Go to Solution.
"
and the metadata as you can see "isReadOnly": false
is that the issue?
"
No, this is not the issue.
Please check the group membership, switch to Group Owner and then try it again.
The Header is OK, for the Body part within postman, input the following within Raw format:
{ "accessLevel": "View", "allowSaveAs": "false" }
Regards,
Michael
Hi @ekumar-0522,
Group is the name used in the REST API for the (App) Workspace in the PowerBI service.
How did you get the token used in the api call (Bearer ...)? It seems that it doesn't allowed to access the report.
Regards,
Thanos
Hi @Anonymous
The token which i have used that i got from this ret api
https://login.microsoftonline.com/<tenant id>/oauth2/token?grant_type=password
so, how can i get the data of individual report?
what headers and authorization should i need to pass for it?
can you help me with this issue.
Thanks
sai kumar
Hi @Anonymous
Im trying to get the individual report data as you can see my group name is"Test Workspace"
and the metadata as you can see "isReadOnly": false
is that the issue?
when I mentioned same group id and report id which I want to fetch
but the thing is I'm getting an 401 unauthorized error as you can see the screenshot above
can you help me with this
Thanks
sai kumar
"
and the metadata as you can see "isReadOnly": false
is that the issue?
"
No, this is not the issue.
Please check the group membership, switch to Group Owner and then try it again.
The Header is OK, for the Body part within postman, input the following within Raw format:
{ "accessLevel": "View", "allowSaveAs": "false" }
Regards,
Michael
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
22 | |
3 | |
2 | |
2 | |
2 |