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
Kesahli
Frequent Visitor

Workspace contributor not authorised to access notebook during scheduled pipeline execution

I have a pipeline with a Copy Activity followed by a notebook that loads the copied files to Delta tables. There is a service account on the workspace with contributor role. When logging in manually as the service account, it can successfully run the entire pipeline. However a scheduled overnight run results in an error "User is not authorised for this artifact xxxx-xxxx...." - the artifact ID is that of the notebook.

The Copy activity successfully copies into the Files section of the Lakehouse, and the Load_to_Tables notebook is (meant to be) loading tables into the same lakehouse (in a specific schema).

Direct access permissions on the notebook are Read, Write, Execute (from contributor role).

The service account is used to set the pipeline schedule. 

Notebook run log shows no instance of the notebook starting at scheduled time - presumably because the account doesn't have access to it in order to run it.

What else can I check/do to get the schedule running?

 

service_acct_permissions.png

service_acct_failure.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Kesahli ,

 

I have the following suggestions:

 

Make sure the service account has permissions everywhere it is needed, not just the workspace, but also the specific Lakehouse or Delta tables. The Storage Blob Data Contributor role may be required.

 

Specific information on this point of advice can be found at the link below:

Issue when running notebook from pipeline - Microsoft Q&A

 

Try reconfiguring the pipeline or re-adding the notebook, sometimes this can solve the problem.

 

If that doesn't work, try creating a new notebook and re-adding it to the pipeline.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Kesahli ,

 

I have the following suggestions:

 

Make sure the service account has permissions everywhere it is needed, not just the workspace, but also the specific Lakehouse or Delta tables. The Storage Blob Data Contributor role may be required.

 

Specific information on this point of advice can be found at the link below:

Issue when running notebook from pipeline - Microsoft Q&A

 

Try reconfiguring the pipeline or re-adding the notebook, sometimes this can solve the problem.

 

If that doesn't work, try creating a new notebook and re-adding it to the pipeline.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

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.