Forum Discussion

girishtharwani2's avatar
girishtharwani2
Helper III
1 year ago
Solved

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...
  • nilendraFabric's avatar
    1 year ago

    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.