Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
ShyamKumarKG
Frequent Visitor

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.

 

MicrosoftTeams-image.png

 

2. Also, do we able to map the "createdBy" information programmatically?

 

Any help in this regard is much appreciated.

 

Thanks,

Shyam Kumar K G

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

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.

yingyinr_0-1627464953791.png

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.

yingyinr_1-1627465165725.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-yiruan-msft
Community Support
Community Support

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.

yingyinr_0-1627464953791.png

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.

yingyinr_1-1627465165725.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
lbendlin
Super User
Super User

Are you on Premium or Shared capacity?  Gen1 or Gen2 ?

Hi @lbendlin ,

 

Thanks for your response.

We are on Premium Gen1 Capacity.

 

Thanks,

Shyam Kumar K G

 

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.