Forum Discussion
Get Reports API - createdBy is null
Hi,
We are trying to fetch reports from power bi using the API:
GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports
1. We are able to get the response, but "createdBy" and a few of the response fields are null.
2. Also, do we able to map the "createdBy" information programmatically?
Any help in this regard is much appreciated.
Thanks,
Shyam Kumar K G
- Anonymous5 years ago
Hi ShyamKumarKG ,
Base on my testing, there is no property "createdBy" in the returned result if you use REST API Reports - Get Report In Group.
You can use REST API Admin - Reports GetReportsInGroupAsAdmin to instead of the previous one to get the property “createdBy”... The precondition is you need to get the required permissions.
Best Regards
4 Replies
- AnonymousNot applicable
Hi ShyamKumarKG ,
Base on my testing, there is no property "createdBy" in the returned result if you use REST API Reports - Get Report In Group.
You can use REST API Admin - Reports GetReportsInGroupAsAdmin to instead of the previous one to get the property “createdBy”... The precondition is you need to get the required permissions.
Best Regards
- lbendlinSuper User
Are you on Premium or Shared capacity? Gen1 or Gen2 ?
- ShyamKumarKGFrequent Visitor
- lbendlinSuper User
Can't really help you as I have no access to that environment type. For reference these fields do not even come up in the response on Premium Gen2.