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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
marc_janssen
New Member

Requesting the datasources using the Get Datasources REST API returns an unexpected response

Hi,

 

I have created a dataset (in this case an Excel table) in Power BI in 2 different ways:

  1. I loaded the Excel table into a Power BI Desktop model and published the report to the Power BI service.
  2. I imported the same Excel file in the Power BI service: Create Dataset → Files → Local file → Import.

Looking at the datasets on "My workspace", both show up:

 

2019-12-05_09h51_57.png

I'm using the Get Datasources REST API call to retrieve the datasources for both datasets, by providing the datatsetId as the URL parameter.

When retrieving the datasources for the dataset created within Power BI desktop, I get the following response: 

2019-12-05_09h58_38.png

However, when I do the same for the dataset created within Power BI service (which is the same datasource), I get a different response:

 

2019-12-05_10h03_13.png

When retrieving the datasource from this dataset I get: "value": [ ] instead of the datasource (Excel-file).

 

Does anyone know why I do not get the same response for borh requests?

 

Thanks in advance,

Marc

1 REPLY 1
Patan
Regular Visitor

I am also having the same problem, can anyone help with the possible solution.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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