<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to execute multiple dataflows(Dataflow Gen2 CI/CD Enabled) dynamically in Fabric? in Dataflow</title>
    <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-execute-multiple-dataflows-Dataflow-Gen2-CI-CD-Enabled/m-p/4820954#M5437</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1340679" data-lia-user-login="tayloramy" class="lia-mention lia-mention-user"&gt;tayloramy&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for sharing this! Yes, the code you provided works well for executing a pipeline from a notebook. My query was more around whether a similar approach is possible for executing Dataflows using Python. Could you confirm if Dataflow execution is supported via the API, or if it’s currently limited to Pipelines?&lt;/P&gt;</description>
    <pubDate>Tue, 09 Sep 2025 07:41:44 GMT</pubDate>
    <dc:creator>rohit_motwani</dc:creator>
    <dc:date>2025-09-09T07:41:44Z</dc:date>
    <item>
      <title>How to execute multiple dataflows(Dataflow Gen2 CI/CD Enabled) dynamically in Fabric?</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-execute-multiple-dataflows-Dataflow-Gen2-CI-CD-Enabled/m-p/4815528#M5420</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I have more than 40 dataflows that I need to refresh/execute. Right now, I have to set them up one by one, which is time-consuming.&lt;/P&gt;&lt;P&gt;Is there a way to dynamically execute all my dataflows together (for example, through a script, API, pipeline, or any other approach), instead of triggering them individually?&lt;/P&gt;&lt;P&gt;Any guidance or best practices on how to manage and schedule multiple dataflows efficiently would be very helpful.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 11:00:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/How-to-execute-multiple-dataflows-Dataflow-Gen2-CI-CD-Enabled/m-p/4815528#M5420</guid>
      <dc:creator>rohit_motwani</dc:creator>
      <dc:date>2025-09-03T11:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute multiple dataflows(Dataflow Gen2 CI/CD Enabled) dynamically in Fabric?</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-execute-multiple-dataflows-Dataflow-Gen2-CI-CD-Enabled/m-p/4815766#M5421</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1348188" data-lia-user-login="rohit_motwani" class="lia-mention lia-mention-user"&gt;rohit_motwani&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can execute a pipeline fron a notebook using the API using the following code:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import sempy.fabric as fabric
from sempy.fabric import FabricRestClient
_client = FabricRestClient()

 start_resp = client.post(f"v1/workspaces/{workspace_id}/items/{item_id}/jobs/instances?jobType=Pipeline")
            run_id = start_resp.headers['Location'].split('/')[-1]
            sleep(15)
            # Wait for visibility
            while client.get(f"v1/workspaces/{workspace_id}/items/{item_id}/jobs/instances/{run_id}").status_code != 200:
                print(f"Waiting for job {job_id} to become visible...")
                sleep(15)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;If you found this useful, consider giving Kudos. If I solved your problem, mark this post as the solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 21:34:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/How-to-execute-multiple-dataflows-Dataflow-Gen2-CI-CD-Enabled/m-p/4815766#M5421</guid>
      <dc:creator>tayloramy</dc:creator>
      <dc:date>2025-09-04T21:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute multiple dataflows(Dataflow Gen2 CI/CD Enabled) dynamically in Fabric?</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-execute-multiple-dataflows-Dataflow-Gen2-CI-CD-Enabled/m-p/4817392#M5429</link>
      <description>&lt;P&gt;Hello &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1348188" data-lia-user-login="rohit_motwani" class="lia-mention lia-mention-user"&gt;rohit_motwani&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can create a Data Pipeline in which you organise your Dataflows as you wish (sequential, parallel) and then schedule only this Data Pipeline, which will trigger all child Dataflows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/tutorial-dataflows-gen2-pipeline-activity#create-a-data-pipeline" target="_blank"&gt;https://learn.microsoft.com/en-us/fabric/data-factory/tutorial-dataflows-gen2-pipeline-activity#create-a-data-pipeline&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Feel free to give me a kudo and accept my answer as the solution if it suits you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vivien&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 20:23:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/How-to-execute-multiple-dataflows-Dataflow-Gen2-CI-CD-Enabled/m-p/4817392#M5429</guid>
      <dc:creator>vivien57</dc:creator>
      <dc:date>2025-09-04T20:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute multiple dataflows(Dataflow Gen2 CI/CD Enabled) dynamically in Fabric?</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-execute-multiple-dataflows-Dataflow-Gen2-CI-CD-Enabled/m-p/4820954#M5437</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1340679" data-lia-user-login="tayloramy" class="lia-mention lia-mention-user"&gt;tayloramy&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for sharing this! Yes, the code you provided works well for executing a pipeline from a notebook. My query was more around whether a similar approach is possible for executing Dataflows using Python. Could you confirm if Dataflow execution is supported via the API, or if it’s currently limited to Pipelines?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 07:41:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/How-to-execute-multiple-dataflows-Dataflow-Gen2-CI-CD-Enabled/m-p/4820954#M5437</guid>
      <dc:creator>rohit_motwani</dc:creator>
      <dc:date>2025-09-09T07:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute multiple dataflows(Dataflow Gen2 CI/CD Enabled) dynamically in Fabric?</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-execute-multiple-dataflows-Dataflow-Gen2-CI-CD-Enabled/m-p/4820957#M5438</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="50527" data-lia-user-login="vivien57" class="lia-mention lia-mention-user"&gt;vivien57&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thank you for your response. Yes, I’m currently following the approach of organizing Dataflows within a Data Pipeline and scheduling it. However, I was exploring whether there might be an alternative method for execution—ideally one that’s more optimized, since I’ve noticed that sometimes the pipeline gets overloaded and the overall run takes longer.&lt;/P&gt;&lt;P&gt;Do you know if there’s any supported way to execute Dataflows directly (for example, via API or Python) that could help reduce the execution time?&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Rohit&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 07:45:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/How-to-execute-multiple-dataflows-Dataflow-Gen2-CI-CD-Enabled/m-p/4820957#M5438</guid>
      <dc:creator>rohit_motwani</dc:creator>
      <dc:date>2025-09-09T07:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute multiple dataflows(Dataflow Gen2 CI/CD Enabled) dynamically in Fabric?</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-execute-multiple-dataflows-Dataflow-Gen2-CI-CD-Enabled/m-p/4820987#M5439</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1348188" data-lia-user-login="rohit_motwani" class="lia-mention lia-mention-user"&gt;rohit_motwani&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Yes, you can trigger dataflows with the REST API without any problems.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/dataflows/refresh-dataflow" target="_blank"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/dataflows/refresh-dataflow&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;However, I don't think it's the Data Pipeline Orchestration that consumes a lot (it does nothing except trigger dataflows), but data flows are not the fastest elements.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Transferring data directly via a Data Pipeline (copy data), a Python script or other method will be much more efficient.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;However, it depends on the context. Dataflows are very practical, but when there is a lot of data, they consume a lot of resources.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Feel free to give me a kudo and accept my answer as the solution if it suits you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a nice day,&lt;BR /&gt;&lt;BR /&gt;Vivien&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 08:10:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/How-to-execute-multiple-dataflows-Dataflow-Gen2-CI-CD-Enabled/m-p/4820987#M5439</guid>
      <dc:creator>vivien57</dc:creator>
      <dc:date>2025-09-09T08:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute multiple dataflows(Dataflow Gen2 CI/CD Enabled) dynamically in Fabric?</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-execute-multiple-dataflows-Dataflow-Gen2-CI-CD-Enabled/m-p/4821484#M5440</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1348188" data-lia-user-login="rohit_motwani" class="lia-mention lia-mention-user"&gt;rohit_motwani&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In my environment, I just add the dataflow to the pipeline and run everything through the pipeline API. This gives me a more stable system that requires less changes as there is only the one API I am interacting with, instead of also interacting with the notebook and dataflow APIs respectively.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;That being said, there is an API available for dataflows:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/dataflows/refresh-dataflow" target="_blank"&gt;Dataflows - Refresh Dataflow - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You should be able to implement it much the same way as the pipeline API.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;If you found this useful, consider giving Kudos. If I solved your problem, mark this post as the solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 13:35:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/How-to-execute-multiple-dataflows-Dataflow-Gen2-CI-CD-Enabled/m-p/4821484#M5440</guid>
      <dc:creator>tayloramy</dc:creator>
      <dc:date>2025-09-09T13:35:28Z</dc:date>
    </item>
  </channel>
</rss>

