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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!