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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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