Michael Tall — Header
Administrator configuring cloud identity permissions

Five Minute Decision: Workspace vs Azure Managed Identity for Fabric

Use Fabric workspace identity for Fabric-native connectors like Dataflow Gen2, pipelines, and semantic models, and reach for user-assigned managed identities when you need shared access across CI/CD, Terraform, or multiple compute resources. Workspace identity is scoped and administered inside Fabric itself, not Azure Resource Manager, so it behaves differently the moment lifecycle, permissions, or tenant automation come into play.


TL;DR:

  • Fabric workspace identity must be explicitly enabled and managed within Fabric settings, with role permissions assigned manually after creation to prevent access issues.
  • Support for workspace identity in Fabric connectors expanded significantly after July 2025, but new identities require explicit permission grants to avoid access denial errors.
  • Managed identities in Fabric differ from Azure resource identities, especially in Service Fabric, which only supports identities on Azure-deployed clusters and requires careful permission scoping.
  • Automating identity in CI/CD pipelines benefits from creating dedicated user-assigned identities and using workload federation, avoiding secrets and reducing leak risks.
  • Proper dependency mapping and lifecycle planning are critical to prevent silent failures and security issues when managing identities in Fabric environments.

Datataal
Simplify Your Fabric Data Architecture
Datataal helps organizations design governed, scalable Fabric architectures that support efficient reporting and real-time business insights.

Table of Contents

What are managed identities in Fabric, and how do tokens work?

A managed identity is a special Microsoft Entra service principal that Azure manages for you. You never see a password or a client secret. Azure rotates the credential automatically, which removes the single biggest source of leaked secrets in cloud deployments.

There are two flavours, and the difference matters more than most teams assume:

  • System-assigned: tied to one resource’s lifecycle. Delete the resource, and the identity disappears with it.
  • User-assigned: created as its own Azure object, then attached to one or more resources. It survives resource deletion and can be shared across a Fabric capacity, a set of virtual machines, or a pipeline.

When code needs a token, it typically calls the Azure Instance Metadata Service (IMDS) endpoint directly, or more commonly, uses the Azure.Identity library with DefaultAzureCredential. That class quietly swaps between your local developer login and the deployed managed identity, so the same code runs in both places without a single if statement checking environment.

Fabric workspace identity sits apart from all this. It is scoped to a specific workspace, created and managed from Fabric workspace settings rather than the Azure portal, and it exists for every workspace except the personal “My Workspace.” That administrative boundary is the single most misunderstood point in Fabric identity management.

How do you create and manage a Fabric workspace identity?

Provisioning takes minutes, but verifying it correctly is where most teams skip a step.

  1. Open workspace settings in the Fabric portal and enable workspace identity, or call the Workspaces – Provision Identity REST API if you’re automating tenant rollout.
  2. Note the generated clientId and principalId immediately after creation. You’ll need both when assigning Azure roles later.
  3. Confirm the identity appears under Enterprise Applications in Microsoft Entra ID. It shows up as a service principal, exactly like any other managed identity.
  4. For Azure-side identities, create a user-assigned managed identity in the Azure portal or CLI, then attach it to the target compute resource (VM, Fabric capacity, Automation account).
  5. To remove access, delete or disable the identity and re-check downstream connectors. A deleted system-assigned identity breaks every dependency instantly.

Pro Tip: Before deleting a workspace identity, list every dataflow, pipeline, and semantic model that authenticates through it. Fabric doesn’t warn you which items depend on it until they start failing.

Which Fabric connectors and items support workspace identity?

Fabric expanded workspace identity support significantly with its July 2025 update, adding authentication for new connectors alongside existing ones. Coverage now spans:

  • Dataflow Gen2 (direct connector authentication)
  • Data pipelines (Copy activity and supported connectors)
  • Semantic models refreshing against Entra-protected sources
  • Copy jobs using workspace identity as the credential

A typical binding looks like this: grant the workspace identity a Storage Blob Data Reader role on the target Azure Storage account, then select “Workspace Identity” as the authentication method inside the Dataflow Gen2 connector configuration. No secret, no connection string, no rotation schedule to manage.

One change catches teams out constantly: as of that July 2025 update, new workspace identities no longer receive a default contributor role. Admins must explicitly assign every permission, or connectors that worked in older workspaces will fail with access denied in new ones.

For connectors that don’t yet support workspace identity, fall back to Azure Key Vault: store the secret there, and use a managed identity purely to fetch it at runtime, rather than embedding credentials in the connector itself.

How do managed identities work in Service Fabric?

Service Fabric handles identity differently again, and the constraints are worth knowing before you assume parity with Fabric or generic Azure services.

  • Managed identities for Service Fabric are supported only on Azure-deployed clusters, not on-premises or standalone deployments.
  • Applications running on the cluster request tokens either through a direct HTTP call to the IMDS endpoint, or via an Azure SDK such as Azure.Identity in C#, which handles the IMDS round trip for you.
  • Role assignments apply at the resource scope you choose in Azure, so a token issued to the cluster’s identity only unlocks the specific storage account, key vault, or database you’ve granted it against, nothing wider by default.
  • Prefer user-assigned identities when multiple services or application types on the same cluster need to share one set of permissions. System-assigned identities work fine for a single, self-contained service that never needs to be shared.

The practical limitation most teams hit: assuming Service Fabric identity behaves exactly like a Fabric workspace identity. It doesn’t. They’re separate systems governed by separate documentation, and conflating the two is a fast route to a failed deployment.

How do you automate identity in Fabric CI/CD pipelines?

Terraform-driven Fabric deployments need an identity that survives pipeline runs, not one tied to a single developer’s session.

  1. Create a user-assigned managed identity dedicated to CI/CD, separate from any identity used for interactive administration.
  2. Assign it RBAC roles for Terraform’s remote state storage account, plus the Fabric and Microsoft Graph permissions the deployment needs.
  3. In the Fabric Admin portal’s Developer settings, authorise the workload identity, typically by adding it to an Entra security group that the tenant setting recognises.
  4. Reference that identity inside the Terraform provider for Microsoft Fabric configuration, granting only the roles the pipeline actually exercises.

For Azure DevOps or GitHub Actions specifically, Workload Identity Federation removes secrets from the equation entirely. Instead of storing a client secret in your pipeline, federation trusts a token issued by the CI/CD platform itself, which closes one of the more common leak paths in automated deployments.

Pro Tip: Keep your CI/CD identity’s permissions in a version-controlled file alongside your Terraform code. When someone asks “why does this pipeline have Owner on the subscription,” you want an answer in Git history, not a guess.

What are the best practices for managed identities in Fabric?

Most identity incidents in Fabric environments trace back to one of a handful of repeatable mistakes.

  • Choose user-assigned identities for anything shared: CI/CD pipelines, multiple Fabric capacities, or automation scripts touching several resources.
  • Reserve system-assigned identities for a single resource with no sharing requirement, where automatic cleanup on deletion is actually a benefit.
  • Apply least privilege deliberately. Security architects frequently default to broader roles than needed, particularly on Fabric capacity operations, because it’s the path of least resistance during setup.
  • Check permission propagation to child items explicitly. Granting access at a workspace or item level doesn’t guarantee downstream datasets, dataflows, or pipelines inherit it automatically.
  • Monitor Entra sign-in logs and Azure Activity logs for the identity’s principal, and schedule periodic reviews to catch orphaned or over-privileged identities before they become an audit finding.

A phased rollout checklist that prevents delegation drift

Delegation drift happens when identity permissions accumulate faster than anyone documents them. A structured rollout keeps that from becoming your normal state.

  1. Plan first. Map every identity you’ll need against the resources and connectors it must reach, before creating anything.
  2. Provision user-assigned identities for automation. Build these before touching Fabric Developer settings.
  3. Configure Fabric Developer settings. Authorise the workload identity through the correct Entra group.
  4. Test in non-production. Verify token acquisition, role assignment, and connector authentication before anything touches live data.
  5. Promote through pipelines. Move validated identity configuration through your CI/CD process, never by hand in production.

Build in a rollback checkpoint at each phase, and keep governance questions answered before go-live rather than after. Datataal’s phased implementation guide and tenant settings rollout walk through this in more depth if you’re planning a tenant-wide rollout.

Pro Tip: Run phase four twice, once with a newly created identity and once with an identity that’s been live for a few weeks. Token caching behaviour and permission propagation delays sometimes only surface with age.

Why the “just use managed identity everywhere” advice misses the point

Most guidance treats managed identities as a single concept you either adopt or don’t. That framing undersells the real decision, which is administrative, not technical: Fabric workspace identity lives inside Fabric’s governance model, while Azure managed identities live inside Azure’s. Treating them as interchangeable is how teams end up with a workspace identity that has no explicit role assignments, failing silently after the July 2025 default-permissions change.

Fabric and Azure identity governance comparison

The conventional advice also underweights lifecycle planning. Everyone talks about “least privilege” as a checkbox. Few teams actually document what happens when an identity is deleted, who depends on it, and how quickly that dependency surfaces as an outage rather than a warning. That gap, not the choice of identity type itself, is what causes most production incidents I’ve seen described in Fabric governance discussions.

If you take one thing from this guide, prioritise mapping dependencies before you provision anything. Decide user-assigned versus system-assigned based on sharing needs, not habit. The identity type is a five-minute decision. The dependency map is the part that actually protects you.

— Michael

Get Fabric identity governance right the first time

You can work directly with a certified Microsoft Fabric specialist for the full engagement, rather than a rotating team handling workspace identity scope as they go. That matters here specifically, because the cost of getting managed identities wrong in Fabric isn’t a slow dashboard, it’s broken pipelines and access-denied errors discovered in production.

Datataal

Whether you’re planning a phased identity rollout, setting up CI/CD with Terraform and workload identities, or untangling permission propagation issues across dataflows and semantic models, Microsoft Fabric consulting services start at $20 per hour and cover exactly this kind of implementation work. If your immediate need is tenant governance rather than a full build, the Fabric implementation guide is a solid next read, and enquiries go straight to Michael.

Sources

For the API-level detail this guide summarises, the primary sources are worth bookmarking: Microsoft’s managed identities FAQ, the Fabric workspace identity reference, the Service Fabric managed identity concepts page, and the Fabric blog’s connector announcement. For teams handling identity restoration after an incident, the data security recovery guide covers adjacent ground worth knowing.

FAQ

What does managed identity mean in Azure?

A managed identity is an Entra service principal that Azure creates and rotates automatically, so applications authenticate without stored passwords or secrets. It comes in two forms: system-assigned, tied to a single resource, and user-assigned, which can be shared across several resources.

What is a managed identity credential?

It’s the token-based credential Azure issues on demand, retrieved through the IMDS endpoint or a client library like Azure.Identity. Unlike a client secret, you never store or see the credential directly, and it renews itself without manual intervention.

What is the difference between an Azure workload identity and a managed identity?

A managed identity is an Azure-native credential tied to Azure resources, while workload identity federation lets external platforms, such as GitHub Actions or Azure DevOps, exchange their own token for Azure access without storing a secret at all. Both aim to eliminate stored credentials, but federation is built specifically for external CI/CD systems rather than resources running inside Azure.

How do I manage identities in Azure?

Identities are created and assigned through the Azure portal, CLI, or REST APIs, then attached to resources with specific role assignments scoped to least privilege. In Fabric specifically, workspace identity is managed separately through Fabric workspace settings rather than the Azure portal, which is the distinction that trips up teams moving between the two systems.

Does Datataal help with Fabric identity setup specifically?

Yes. Microsoft Fabric consulting services from Datataal cover identity governance, workspace identity rollout, and CI/CD automation as part of broader Fabric architecture and implementation work, billed from $20 per hour.

Microsoft Fabric blog