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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
marcoabgm
Regular Visitor

How to Mark Manual Notebook Execution as 'Successful' in MS Fabric?

I'm manually executing a notebook in MS Fabric, but in the execution history, it shows as "interrupted" instead of "successful" once it finishes. I want the status to appear as "successful" after a complete manual run.

How can I ensure the final status is marked as "successful"? Is it possible?

 

marcoabgm_1-1730752665686.png

 

 

 

1 ACCEPTED SOLUTION
FabianSchut
Solution Sage
Solution Sage

Hi, the execution history shows interrupted because the spark session does not stop automatically after you've run the code manually. The session will be alive until you manually kill it or there is no activity for a period of time. I did not test this, but you may get a successful message if you end the spark session at the end of all your code with: 

mssparkutils.session.stop()

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

HI @marcoabgm,

As FabianSchut said, the current statue means the notebook session still running. If you want to it change this, you can manually stop the session or waiting for the session timeout.

Use the Monitoring hub to manage Apache Spark applications - Microsoft Fabric | Microsoft Learn

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
FabianSchut
Solution Sage
Solution Sage

Hi, the execution history shows interrupted because the spark session does not stop automatically after you've run the code manually. The session will be alive until you manually kill it or there is no activity for a period of time. I did not test this, but you may get a successful message if you end the spark session at the end of all your code with: 

mssparkutils.session.stop()

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.