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
PriyaJha
Regular Visitor

User via which notebook is running in data pipeline

Hi All,

 

I have few scenarios wherein i am trying to understand under which user context a notebook is triggered if it is called via data pipeline-

 

1) If user A has created a notebook and a data pipeline which runs this notebook - notebook is running under user A context.

2) If data pipeline is taken over by user B and then notebook is called - notebook is still running under user A context.

3) If notebook and data pipeline both is taken over by user B - notebook is still running under user A context.

4) If data pipeline is scheduled - notebook is still running under user A context.

 

Kindly confirm, if this understanding is correct?

1 ACCEPTED SOLUTION
v-ssriganesh
Community Support
Community Support

Hi @PriyaJha,
Thank you for reaching out to the Microsoft Fabric Community Forum. Let’s clarify the user context under which a notebook runs when triggered by a data pipeline in Microsoft Fabric, based on your scenarios:

  1. Correct when User A creates both the notebook and pipeline, the notebook runs under User A’s security context, as User A is the pipeline owner.
  2. Incorrect if User B takes over the pipeline and triggers it, the notebook runs under User B’s security context, as the pipeline’s execution context is determined by the user running the pipeline, not the notebook’s creator.
  3. Incorrect if User B takes over both the notebook and pipeline, the notebook runs under User B’s security context, as User B is now the pipeline owner.
  4. Partially Correct for a scheduled pipeline, the notebook runs under the security context of the user who created or last updated the schedule. If User A set the schedule, it uses User A’s context; if User B modified it, it uses User B’s context.

The notebook execution context in a pipeline is tied to the pipeline owner (for manual runs) or the user who set up/updated the schedule (for scheduled runs), not the notebook’s creator. For more details, refer to the official documentation: How to use notebooks - Microsoft Fabric | Microsoft Learn.

If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.

View solution in original post

4 REPLIES 4
v-ssriganesh
Community Support
Community Support

Hi @PriyaJha,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.

v-ssriganesh
Community Support
Community Support

Hi @PriyaJha,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

v-ssriganesh
Community Support
Community Support

Hi @PriyaJha,
Thank you for reaching out to the Microsoft Fabric Community Forum. Let’s clarify the user context under which a notebook runs when triggered by a data pipeline in Microsoft Fabric, based on your scenarios:

  1. Correct when User A creates both the notebook and pipeline, the notebook runs under User A’s security context, as User A is the pipeline owner.
  2. Incorrect if User B takes over the pipeline and triggers it, the notebook runs under User B’s security context, as the pipeline’s execution context is determined by the user running the pipeline, not the notebook’s creator.
  3. Incorrect if User B takes over both the notebook and pipeline, the notebook runs under User B’s security context, as User B is now the pipeline owner.
  4. Partially Correct for a scheduled pipeline, the notebook runs under the security context of the user who created or last updated the schedule. If User A set the schedule, it uses User A’s context; if User B modified it, it uses User B’s context.

The notebook execution context in a pipeline is tied to the pipeline owner (for manual runs) or the user who set up/updated the schedule (for scheduled runs), not the notebook’s creator. For more details, refer to the official documentation: How to use notebooks - Microsoft Fabric | Microsoft Learn.

If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.

Hi @PriyaJha,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please accept it as a solution and give it a 'Kudos' so other community members with similar problems can find a solution faster.
Thank you.

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.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 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.