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
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
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.

May FBC25 Carousel

Fabric Monthly Update - May 2025

Check out the May 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.