Microsoft Fabric Notebooks: Run Parallel Workflows Without Pipelines
Microsoft Fabric
Jul 26, 2025 1:21 AM

Microsoft Fabric Notebooks: Run Parallel Workflows Without Pipelines

by HubSite 365 about Guy in a Cube

Microsoft Fabric, runMultiple, Data Factory, SQL Scripts, Power BI

Key insights

  • runMultiple() is a new function in Microsoft Fabric that lets users run several notebooks at the same time, removing the need for traditional pipelines or complex threading code.
  • This feature uses a Directed Acyclic Graph (DAG) structure to define dependencies between notebooks, allowing both parallel and sequenced execution within the same workflow.
  • Parallel execution with runMultiple() increases efficiency by letting multiple data processes or analyses happen together, which speeds up project completion.
  • The approach is native to Microsoft Fabric, making it easier and less error-prone compared to older methods like using Python concurrency libraries or building external pipelines.
  • You can use runMultiple() simply by calling mssparkutils.notebook.runMultiple(["notebook_01", "notebook_02"]), running each notebook in parallel; more advanced setups allow dependency management through JSON-defined DAGs.
  • This method supports better monitoring and troubleshooting of concurrent runs, helping teams track progress and manage resources across different workspaces efficiently.

Introduction: Modernizing Notebook Execution in Microsoft Fabric

The latest video from Guy in a Cube explores Microsoft Fabric’s new approach to orchestrating notebook workflows, moving beyond the traditional single-threaded execution model. Instead of running notebooks sequentially—a practice likened to methods from the early 1900s—Fabric now offers a streamlined solution for parallel execution. This shift is powered by the mssparkutils.notebook.runMultiple() function, which eliminates the need for external pipelines and allows users to manage complex tasks more efficiently within the Fabric environment. As organizations increasingly demand speed and flexibility in their data projects, this update marks a critical enhancement for both data engineers and analysts.

Understanding runMultiple(): The Core Innovation

At the heart of this development is the runMultiple() function, a native utility in Microsoft Fabric’s mssparkutils library. This feature empowers users to trigger several notebooks at once by simply specifying their names in a list. With this functionality, parallel execution becomes straightforward, eliminating the need for intricate threading code or the overhead of external orchestration pipelines.

Furthermore, runMultiple() supports defining workflow dependencies through a Directed Acyclic Graph (DAG) structure in JSON format. This enables users to control the execution sequence of notebooks when necessary, providing both flexibility and power within a single, integrated tool. The result is a significant reduction in code complexity and an increase in productivity for those managing multifaceted data tasks.

Advantages and Tradeoffs of Parallel Notebook Execution

One of the primary benefits of runMultiple() is its ability to simplify the process of running notebooks concurrently. By allowing multiple analytical or data processing tasks to occur simultaneously, overall project execution times can be greatly reduced. This efficiency is especially valuable for teams working with large datasets or complex workflows that would otherwise be bottlenecked by sequential execution.

However, while parallelization offers clear time savings, it introduces challenges in resource allocation and monitoring. Running several notebooks at once may strain shared compute resources, particularly in environments with limited capacity. Therefore, users must balance the desire for speed with the practicalities of available infrastructure, sometimes requiring careful scheduling or prioritization of tasks.

Defining Dependencies: Leveraging DAGs for Orchestration

A standout feature of runMultiple() is its support for dependency modeling using DAGs. By expressing dependencies in a JSON structure, users can specify which notebooks should run in parallel and which should wait for others to complete. This method brings a new level of control to notebook orchestration, enabling both simple and complex workflows to be managed entirely within the Fabric notebook interface.

While this approach reduces reliance on external pipeline tools, it also places the responsibility for accurate dependency mapping on the user. Careful construction of the DAG is essential to avoid errors or unintended execution sequences. As a result, teams may need to invest time in planning and validating their workflow structures, especially as projects grow in complexity.

Monitoring, Troubleshooting, and Evolving Practices

With the introduction of parallel execution, monitoring and troubleshooting become more nuanced. Fabric has enhanced its run history features to help users track the status of individual notebook runs. Nonetheless, filtering through concurrent executions can be challenging, particularly when diagnosing failures or performance issues. Effective monitoring remains a crucial aspect of ensuring that parallelized workflows deliver their intended benefits.

Looking forward, Microsoft Fabric continues to evolve its workspace and compute management capabilities, supporting organizations that operate across multiple workspaces with shared security and resource constraints. As parallelization becomes the norm, best practices for managing and optimizing these environments will likely continue to develop, informed by community feedback and real-world usage.

Conclusion: A New Era for Fabric Notebook Orchestration

In summary, the runMultiple() function in Microsoft Fabric represents a substantial leap forward in notebook orchestration. By enabling native, parallel execution with flexible dependency modeling, it empowers users to accomplish more in less time while reducing complexity. However, this evolution also requires careful consideration of resource management and workflow design to fully realize its potential. As highlighted by Guy in a Cube, embracing these tools and practices is key to staying ahead in the fast-moving world of data engineering and analytics.

Microsoft Fabric - Microsoft Fabric Notebooks: Run Parallel Workflows Without Pipelines

Keywords

Microsoft Fabric Notebooks parallel execution run notebooks without pipeline Microsoft Fabric data integration scalable notebook processing efficient data workflows