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
ritikesh
Microsoft Employee
Microsoft Employee

Download notebook snapshot in Fabric

Is there a way to download the notebook run snapshot?

 

Context:

I have a notebook(let's say X) running multiple notebooks(let's say A,B,C) from within it. So when a full run is complete, I can view the sub-notebooks but i want to download a copy to local of A. How may I do it?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ritikesh ,

 

It is possible to save the snapshot to another location but not download it locally, it is possible to download the notebook resource in Visual Studio Code but this is not a snapshot.

 

Use the following code to run multiple notebooks:

def run_notebook(notebook_path):: run_notebook(notebook_path).
    try.
        mssparkutils.notebook.run(notebook_path, 3600)
        return {“notebook”: notebook_path, “status”: “Success”}
    except Exception as e: return {“notebook”: notebook_path, “status”: “Success”}
        return {“notebook”: notebook_path, “status”: “Failed”, “error”: str(e)}

notebooks = [“Notebook 3”, “Notebook 8”]
results = [run_notebook(nb) for nb in notebooks]

# result
for result in results.
    print(result)

 

At the end of the run click on notebook 3 to see a snapshot of what it looks like after the run, which can be saved to another location.

vhuijieymsft_0-1728629686328.png
vhuijieymsft_1-1728629686336.png

vhuijieymsft_2-1728629724836.png

 

If you want to know more about “Download notebook resource files” please refer to the official documentation below:

Work with notebook resources in Visual Studio Code - Microsoft Fabric | Microsoft Learn

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @ritikesh ,

 

It is possible to save the snapshot to another location but not download it locally, it is possible to download the notebook resource in Visual Studio Code but this is not a snapshot.

 

Use the following code to run multiple notebooks:

def run_notebook(notebook_path):: run_notebook(notebook_path).
    try.
        mssparkutils.notebook.run(notebook_path, 3600)
        return {“notebook”: notebook_path, “status”: “Success”}
    except Exception as e: return {“notebook”: notebook_path, “status”: “Success”}
        return {“notebook”: notebook_path, “status”: “Failed”, “error”: str(e)}

notebooks = [“Notebook 3”, “Notebook 8”]
results = [run_notebook(nb) for nb in notebooks]

# result
for result in results.
    print(result)

 

At the end of the run click on notebook 3 to see a snapshot of what it looks like after the run, which can be saved to another location.

vhuijieymsft_0-1728629686328.png
vhuijieymsft_1-1728629686336.png

vhuijieymsft_2-1728629724836.png

 

If you want to know more about “Download notebook resource files” please refer to the official documentation below:

Work with notebook resources in Visual Studio Code - Microsoft Fabric | Microsoft Learn

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

 

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.

June FBC25 Carousel

Fabric Monthly Update - June 2025

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