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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
DennesTorres
Impactful Individual
Impactful Individual

Error when deleting a notebook

Hi,

 

When trying to delete notebooks, I'm getting the following error very frequently:

DennesTorres_0-1702312594220.png

Details about the notebooks:

 

  • They are under source control
  • They have different owners
  • I have full access to them (I'm workspace admin)

 

It's difficult to define steps to reproduce this, because on each 10 delete attempts, 9 fails and 1 works.

 

What could I check to investigate this error?

 

Kind Regards,

 

Dennes

1 ACCEPTED SOLUTION
DennesTorres
Impactful Individual
Impactful Individual

Hi,

 

Ok, I discovered what it is, although the error message provides no clue at all. There are pipelines using this notebook and the pipeline creates a dependency link which generates the error.

 

So, instead of deleting the notebook to import again, so I could change the ownership and update the notebook version, I need to follow this sequence:


- Import the new version with a new name

- Change the pipeline to use the new version

- Delete the old version

- Import again, using the old version name

- Change the pipeline to use the old version name

- Delete the notebook with the new name


Important:

- This list is considering only one pipeline. If you have many pipelines using the notebook, consider the additional work

- Deployment pipelines don't work unless you are the owner of all notebooks. If you have a team working on the notebooks, creating notebooks with different owners, the deployment pipelines get completely stuck, because no one will be able to make the deployment overriding notebooks from different owners. 

- There is no way to change notebook ownership

- Deletions from source control also get stuck with the pipeline dependencies and can't complete

- If you managed to have the deployment pipeline working and all notebooks with a single owner, but for some reason you still need to drop a notebook and import again following the steps above, you will lose the rules for the notebook.

 

Kind Regards,

 

Dennes

View solution in original post

1 REPLY 1
DennesTorres
Impactful Individual
Impactful Individual

Hi,

 

Ok, I discovered what it is, although the error message provides no clue at all. There are pipelines using this notebook and the pipeline creates a dependency link which generates the error.

 

So, instead of deleting the notebook to import again, so I could change the ownership and update the notebook version, I need to follow this sequence:


- Import the new version with a new name

- Change the pipeline to use the new version

- Delete the old version

- Import again, using the old version name

- Change the pipeline to use the old version name

- Delete the notebook with the new name


Important:

- This list is considering only one pipeline. If you have many pipelines using the notebook, consider the additional work

- Deployment pipelines don't work unless you are the owner of all notebooks. If you have a team working on the notebooks, creating notebooks with different owners, the deployment pipelines get completely stuck, because no one will be able to make the deployment overriding notebooks from different owners. 

- There is no way to change notebook ownership

- Deletions from source control also get stuck with the pipeline dependencies and can't complete

- If you managed to have the deployment pipeline working and all notebooks with a single owner, but for some reason you still need to drop a notebook and import again following the steps above, you will lose the rules for the notebook.

 

Kind Regards,

 

Dennes

Helpful resources

Announcements
August 2025 community update carousel

Fabric Community Update - August 2025

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