Microsoft Fabric Updates Blog

Variable Library Support in Notebook (Generally Available)

This release brings consistent, secure, and scalable configuration management directly into notebooks—streamlining environment-aware development and CI/CD workflows without hardcoding.

Why it Matters

As projects grow, managing environment-specific settings can become complex. With Variable Library support in notebooks, you can:

  • Centralize configuration management for notebooks without hardcoding values.
  • Enable dynamic parameterization for Spark settings, lakehouse bindings, and compute configurations.
  • Simplify CI/CD pipelines by using variables across environments and stages.

Key Highlights

  • NotebookUtils Integration – Access variables programmatically in your notebook code using the NotebookUtils Variable library utilities APIs, run the notebookutils.variableLibrary.help() to get more detailed usage.
  • Service Principal (SPN) support – SPN authentication is now available for Variable Library, enabling secure, automated processes in enterprise CI/CD pipelines and notebook activity pipelines.
  • Use %%configure to dynamically assign runtime settings – Combine Variable Library with %%configure to bind environment-specific runtime settings in the notebook, such as the default lakehouse, without manual edits.

The following is an example of how to use Variable Library in notebook.

Define variables in Variable library
Use Variable library in notebook

Resources

Relaterade blogginlägg

Variable Library Support in Notebook (Generally Available)

december 18, 2025 från Jovan Popovic

Unlock Flexible Time-Based Reporting with DATE_BUCKET() in Microsoft Fabric DW! Microsoft Fabric Data Warehouse continues to evolve with powerful features that make analytics easier and more adaptable. One of the latest additions is the DATE_BUCKET() function—a game-changer for time-based reporting.

december 18, 2025 från Anna Hoffman

What a year 2025 has been for SQL! ICYMI and are looking for some hype, might I recommend you start with this blog from Priya Sathy, the product leader for all of SQL at Microsoft: One consistent SQL: The launchpad from legacy to innovation. In this blog post, Priya explains how we have developed and … Continue reading “2025 Year in Review: What’s new across SQL Server, Azure SQL and SQL database in Fabric”