Microsoft Fabric Updates Blog

Run Spark Job Definitions in Pipelines with Service Principal or Workspace Identity

The Spark job definition activity in Microsoft Fabric Data Factory pipelines now supports connection property, unlocking a more secure and production-ready way to run your SJDs.

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.
SJD supports 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 Spark job definition activity.
  2. Under Connection, you can configure a new connection or use an existing one.
  3. Provide the required credentials or identity configuration (you can use SPN and WI now).
  4. Run your pipeline and enjoy a secure, automated experience.

To learn more, check out our documentation on the Spark Job Definition activity.

Related blog posts

Run Spark Job Definitions in Pipelines with Service Principal or Workspace Identity

February 17, 2026 by Penny Zhou

Coauthor: Abhishek Narain Ensuring secure connectivity to your data sources is critical for modern data estates. We have released the Key-Pair authentication for Snowflake connections Preview in October and are happy to announce it is now Generally Available (GA). This release offers an enhanced security alternative to basic authentication methods, such as username and password, … Continue reading “Snowflake Key-Pair Authentication (Generally Available)”

February 9, 2026 by Leo Li

The On-premises Data Gateway manual update feature is now available in preview! This new capability simplifies gateway maintenance and helps you keep your environment secure and up to date with greater flexibility and control. With this new feature, administrators can now manually trigger updates—either directly through the gateway UI or programmatically via API or script. … Continue reading “Manual update for on-premises data gateway (Preview)”