Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi All,
I am trying to pull the datasources for a dataflow using power bi rest api , I am able to pull the information using API (https://learn.microsoft.com/en-us/rest/api/power-bi/dataflows/get-dataflow-data-sources) , but it is giving me all the current as well history datasources (Example: My dataflow was having the files from on prem folder as a source , but now it is having sharepoint as a source ).
I just want to pull only the current datasources for a dataflow . Is there a way to pull that information ?
Any help or suggestion is really appreciated .
Hi @devd
My suggestion would be, is to go back into the data flow and make sure you remove any unwanted data sources, then rerun the api, which should then give you only the relevant data sources that are currently being used.