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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
Super User
Super User

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
Anonymous
Not applicable

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

FabianSchut
Super User
Super User

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.