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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
J918
Frequent Visitor

Get Datasources In Group Error

Hello all,

  

I'm using the Power BI API.  Documentation here: Reports - Get Datasources In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

I have the group id and report id.  URL: GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/datasources

 

This is the error it returns: 

{
"error": {
"code": "InvalidRequest",
"message": "GetReportDatasources is supported only for RDL reports"
}
}

 

This is for a Power BI report.  How can I determine the datasource? 

1 ACCEPTED SOLUTION
mariussve1
Solution Sage
Solution Sage

Hi,

 

This API is just for Paginated reports (rdl) because Then the source is stored in the report.

 

I dont think this is relevant for regular power bi reports because this does not contain Any sources. Then you should use the dataset/source api instead:

https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-datasources-in-group

Or do you use live connection to Shared dataset and want to know which dataset the report is connected to?

 

Br

Marius 🙂


Br
Marius
BI Fabrikken
www.bifabrikken.no

View solution in original post

2 REPLIES 2
mariussve1
Solution Sage
Solution Sage

Hi,

 

If you think my answer provided some kind of a soulition, please consider accepting it as soulition and click the button. I also greatly appreciate if you give me a kudos 🙂

 

Br

Marius


Br
Marius
BI Fabrikken
www.bifabrikken.no
mariussve1
Solution Sage
Solution Sage

Hi,

 

This API is just for Paginated reports (rdl) because Then the source is stored in the report.

 

I dont think this is relevant for regular power bi reports because this does not contain Any sources. Then you should use the dataset/source api instead:

https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-datasources-in-group

Or do you use live connection to Shared dataset and want to know which dataset the report is connected to?

 

Br

Marius 🙂


Br
Marius
BI Fabrikken
www.bifabrikken.no

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.