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

Related blog posts

Variable Library Support in Notebook (Generally Available)

April 14, 2026 by Tzvia Gitlin Troyna

Modern analytics isn’t just about storing data. It’s about detecting issues early, understanding them fast, and acting with confidence. Eventhouse in Microsoft Fabric brings advanced analytics capabilities together so teams can move from raw events to insight and action without stitching tools or duplicating data. With native integrations for Anomaly Detection, Data Agents, SQL Endpoints, … Continue reading “One platform, many insights: How Eventhouse brings analytics together (Preview)”

April 14, 2026 by Tzvia Gitlin Troyna

Modern, real-time analytics workloads are rarely flat. In Eventhouse, some of the customers consistently told us that their usage follows clear, predictable patterns: heavy ingestion during business hours, lighter query traffic overnight, quiet weekends, and short but critical pipeline windows. Previously, customers had to choose a single minimum capacity value for the entire week, paying … Continue reading “Capacity Scheduler: Smarter capacity control for Eventhouse (Preview)”