Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

conxu-ms

Run Notebooks in Pipelines with Service Principal or Workspace Identity

Update: Support for using Workspace Identity (WI) with the Notebook activity in Pipelines is currently rolling out. There was a deployment delay in this feature, but we expect this to be fully available by the end of February. The setup guidance below will apply once support is enabled in your environment.

Notebook activity in Microsoft Fabric Data Factory pipelines connection property will unlock a more secure and production-ready way to run your notebooks.

What’s New?

With this update, you can configure Notebook activities to run as Service Principal (SPN) or Workspace Identity (WI). These authentication methods are our recommended approach for production environments, ensuring:

  • Operational reliability: Avoid issues tied to user credentials, such as password changes or account deactivation.
  • Enterprise-grade security: Service-based authentication reduces risk and simplifies compliance.
  • Consistent automation: Keep your pipelines running smoothly without manual intervention.

Run_Notebooks_in_Pipelines_with_Service_Principal_or_Workspace_IdentityRun_Notebooks_in_Pipelines_with_Service_Principal_or_Workspace_Identity

Notebook activity has the option for Connection property now

Why it Matters

Previously, many customers relied on user authentication for pipeline runs, which can lead to broken workflows when users leave the organization or tokens expire. By enabling SPN and WI through the connection property, you gain:

  • Scalable orchestration for notebooks in complex workflows.
  • Better governance with centralized identity management.
  • Future-proof automation for production workloads.

How to Get Started

  1. In your pipeline, add a Notebook activity.
  2. Under Connection, you can configure a new connection or use an existing one.
  3. Provide the required credentials or identity configuration.
  4. Run your pipeline and enjoy a secure, automated experience.

To learn more, check out our documentation on the Notebook activity - Microsoft Fabric.