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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Thomas_
Regular Visitor

Data Flow: Get Data Sources

I'm trying to get the data sources for a Data Flow using the GetDataflowDatasourcesAsAdmin API, but when I call it I get two entries for each data source. The connection details are identical, but they have different data source id and gateway id. How can I know which one is the "real" one? 

 

And also, if I add a new entity (with a new data source) to a data flow, but cancel before I have saved the changes, I still get two entries for that data source, even if it is not used by the data flow. Why?

 

Thanks for any input!

0 REPLIES 0

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.