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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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
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
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
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
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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.