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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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 Supplier
Solution Supplier

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 Supplier
Solution Supplier

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! Early Bird pricing ends December 9th.

Oct Fabric Update Carousel

Fabric Monthly Update - October 2024

Check out the October 2024 Fabric update to learn about new features.

October NL Carousel

Fabric Community Update - October 2024

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