Microsoft Fabric · Permissions

LakehouseForbiddenError in a Microsoft Fabric pipeline

The identity the Copy activity signs in with is not allowed to read or write the Lakehouse named in the error. Microsoft’s fix is to give that identity at least the Contributor role in the workspace that contains the Lakehouse.

The error
ErrorCode=LakehouseForbiddenError,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Lakehouse failed for forbidden which may be caused by user account or service principal doesn't have enough permission to access Lakehouse. Workspace: '4137113f-8f02-4c59-9a33-ec9d6f0f1468'. Path: '606c4b64-92ad-4621-b116-a9a871ac099d/Tables/dbo'. ErrorCode: 'Forbidden'. Message: 'Forbidden'. TimeStamp: 'Tue, 04 Nov 2025 11:57:11 GMT'.

What this error means

The Lakehouse answered the request with Forbidden. The message carries two IDs: Workspace is the workspace that holds the Lakehouse, and Path begins with the Lakehouse ID, followed by the folder that was refused, such as Tables/dbo.

The identity is the one the Lakehouse connection signs in with: an organizational account, a service principal or a workspace identity. It is not necessarily the person who started the run.

Why it happens

  • The identity has no role in that workspace. The Lakehouse is in a different workspace from the pipeline, and the connection’s account was never added there.
  • The role is too low. The identity is only a Viewer. Microsoft’s recommendation for this error is at least Contributor.
  • Access was removed. Someone left the team, a group’s membership changed, or the workspace’s access list was tidied up, and the pipeline lost its role with it.
  • The pipeline moved to another environment. After deployment to test or production, the connection points at a Lakehouse where the identity has not been given access yet.

How to fix it

  1. Find the workspace and the Lakehouse

    Copy the Workspace ID from the error and the first ID in Path. Open the Lakehouse in Fabric and compare: the workspace ID follows /groups/ in the address and the Lakehouse ID follows /lakehouses/.

  2. Find the identity

    Open the Copy activity’s source or destination, note the Lakehouse connection it uses, and look that connection up under Manage connections and gateways to see which account or service principal it signs in with.

  3. Give it a role

    In the workspace that holds the Lakehouse, select Manage access and add the identity as Contributor or higher. Adding a security group that contains it works as well.

  4. Rerun the pipeline

    Run the pipeline again. If it still fails, check that the workspace ID in the new error is the workspace you changed.

How to stop it coming back

  • Give pipelines a service principal or workspace identity of their own, so access does not depend on one person’s account.
  • Grant access through a security group, and make that grant a step of every deployment to a new workspace.
  • Check which pipelines use a workspace before removing people or groups from it.

With PipelineMender AI

The next failed run explains itself.

PipelineMender reads the failing activity’s error, input and output through the Fabric REST API as a workspace Viewer. For this failure the report quotes the workspace and Lakehouse IDs from the error, explains that the connection’s identity was refused, and lists the role to grant for you to review.

Is the error in front of you now? Start a trial, choose Report an incident and paste it in. No connection is needed for that.

  • Read-only access
  • You review every change
  • No model training

Questions

Common questions about this error.

Which role does a pipeline need on a Lakehouse?

Microsoft’s troubleshooting guide for this error says to grant at least the Contributor role in the workspace that contains the Lakehouse.

Whose permission is missing?

The account, service principal or workspace identity that the Lakehouse connection signs in with. Check the connection used by the Copy activity, not the user who triggered the run.

Why does the path end in Tables/dbo?

The path is the Lakehouse ID followed by the folder that was refused. Tables/dbo is the dbo schema of the Lakehouse’s tables.

Checked against: Troubleshoot the Lakehouse connector Roles in workspaces in Microsoft Fabric Configure Lakehouse in a copy activity Data source management in Microsoft Fabric

Last reviewed 13 November 2026 against Microsoft’s documentation. PipelineMender AI is an independent product and is not affiliated with Microsoft or Databricks; product names are trademarks of their owners.