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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
girishtharwani2
Helper II
Helper II

Notebook failing with access issue

Hi,

 

I’d like to highlight an issue related to executing Notebooks in Fabric ADF:

The Notebook was created by User A, who does not have Contributor access to the Production workspace. As a result, the Notebook execution fails when triggered by Fabric ADF.

However, when Contributor access is granted to the user in the Production workspace, the scheduled pipeline works as expected.

The core concern is that the pipeline should be able to execute the Notebook regardless of whether the creator has Contributor access to the ADF workspace.

 

Thanks,

Girish

1 ACCEPTED SOLUTION
nilendraFabric
Community Champion
Community Champion

@girishtharwani2 

 

In Fabric, the security context under which a notebook runs depends on how it is triggered:
• Interactive Run: Executes under the current user’s security context.
• Pipeline Activity: Executes under the security context of the pipeline owner.
• Scheduler: Executes under the security context of the user who set up or last updated the schedule

 

If the pipeline is scheduled or triggered by a user without Contributor access, or if the pipeline is configured to run under the context of the notebook creator (who lacks Contributor access), execution will fail. To ensure reliable execution:
• The pipeline should be triggered by a user or service principal with at least Contributor access to the workspace.
• Alternatively, use a service principal or managed identity with the necessary permissions to run all production pipelines, decoupling execution from individual user permissions.

Avoid relying on individual user accounts for production pipeline execution.

 

View solution in original post

4 REPLIES 4
Ashim123
New Member

Hey Girish, for the pipeline to run the Notebook smoothly in Fabric ADF, the Notebook owner (User A) must have Contributor access to the target workspace, even if they’re not directly executing it.

Thanks @nilendraFabric @Ashim123 , can you assist how to change ownership of the notebook or pipeline ?

 

Thanks,

Girish

nilendraFabric
Community Champion
Community Champion

@girishtharwani2 

 

In Fabric, the security context under which a notebook runs depends on how it is triggered:
• Interactive Run: Executes under the current user’s security context.
• Pipeline Activity: Executes under the security context of the pipeline owner.
• Scheduler: Executes under the security context of the user who set up or last updated the schedule

 

If the pipeline is scheduled or triggered by a user without Contributor access, or if the pipeline is configured to run under the context of the notebook creator (who lacks Contributor access), execution will fail. To ensure reliable execution:
• The pipeline should be triggered by a user or service principal with at least Contributor access to the workspace.
• Alternatively, use a service principal or managed identity with the necessary permissions to run all production pipelines, decoupling execution from individual user permissions.

Avoid relying on individual user accounts for production pipeline execution.

 

Hi @nilendraFabric ,

 

Thanks for explaining in detail.

As of now the pipelines in prod are scheduled by user, can you provide more details on how to execute the pipelines via service principle or managed identify ?

 

Thanks,

Girish

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

May FBC25 Carousel

Fabric Monthly Update - May 2025

Check out the May 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.