What a Fabric notebook does
Microsoft Learn describes the notebook as a web-based interactive surface for code, rich visualizations and Markdown text. Data engineers use it for data ingestion, preparation and transformation; data scientists use it to build machine learning solutions, including experiments, models, model tracking and deployment.
- No set-up effort to start, with Spark capabilities for data in raw and processed formats.
- Copilot for context-aware code generation, refactoring and validation, and Fix with Copilot for failed cells or Spark jobs, with approval-based code changes.
- Import of existing Jupyter notebooks and export to other standard formats.
How enterprises use Fabric notebooks
In enterprise estates, notebooks hold the transformation logic that is too complex for a low-code dataflow, the data science work that trains and scores models, and the jobs a pipeline calls in sequence. They can be authored in the Fabric portal or in Visual Studio Code, created and managed through the Items REST API, and run through the Job Scheduler API.
Runs return an exit value that Fabric pipelines and external schedulers can read, so a notebook can signal success or a branch condition to the next step. For the surrounding architecture, see the Microsoft Fabric data engineering guide.
Governance: whose identity a notebook runs as
The security context is the governance question Microsoft Learn spends the most time on:
- Interactive run: the notebook runs as the current user.
- Pipeline activity: it runs as the pipeline's last modified user, not the pipeline owner or the notebook owner.
- Scheduler: it runs as the user who created or last updated the schedule.
Microsoft's safeguards
Before running a notebook you did not write, check who last modified it and review the changes in version history. Before adding a notebook to a pipeline, verify who last modified the pipeline. Separate workspaces into development, test and production stages, and restrict production to trusted users. The Items and Job Scheduler APIs support service principals for unattended automation, but some downstream services, such as SQL analytics endpoints, require a user principal.
Other Microsoft Fabric definitions
- What is Dataflow Gen2?
- What is Delta Lake in Microsoft Fabric?
- What is Direct Lake?
- What is Fabric data agent?
- What is Fabric domain?
- What is Fabric eventstream?
- What is Fabric pipeline?
- What is Fabric workspace?
- What is Mirroring in Microsoft Fabric?
- What is OneLake?
- What is OneLake catalog?
- What is OneLake shortcut?
- What is SQL analytics endpoint?
- What is SQL database in Microsoft Fabric?
Frequently Asked Questions
What is a Fabric notebook?
A Fabric notebook is the main code item in Microsoft Fabric for developing Apache Spark jobs and machine learning experiments. It is a web-based interactive surface where data engineers write ingestion, preparation and transformation code and data scientists build, track and deploy machine learning models, with visualizations and Markdown alongside the code.
Can I import existing Jupyter notebooks into Fabric?
Yes. Fabric notebooks recognize standard Jupyter Notebook .ipynb files and source files such as .py, .scala and .sql, and create new notebook items from them. You can import one or more files from the workspace toolbar, and notebooks can also be exported to other standard formats.
Whose permissions does a Fabric notebook use when it runs?
It depends on how the run starts. An interactive run uses the current user. A run from a pipeline uses the identity of the pipeline's last modified user. A scheduled run uses the user who created or last updated the schedule. That identity decides data access, API authorization and available resources.
Can a Fabric notebook be run from a pipeline?
Yes, as a notebook activity in a Fabric Data Factory pipeline, where it runs under the identity of the pipeline's last modified user. Notebooks can also run on demand through the Job Scheduler API, and the exit value a run returns can drive conditional steps in the pipeline.
How should enterprises govern Fabric notebooks?
Follow Microsoft's guidance: review version history and the last modifier before running code you did not write, confirm which identity a pipeline or schedule will use, and keep development, test and production in separate workspaces with production limited to trusted users. Add a named owner for every production notebook.
Sources: How to use notebooks (Microsoft Learn, last updated 2026-04-24, read 2026-11-24); Activity overview (Microsoft Learn, last updated 2026-09-10, read 2026-11-24).
Request a free consultation
Send an inquiry and EPC Group replies to arrange a call. Request a free consultation.
