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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
anawast
Microsoft Employee
Microsoft Employee

Dynamically get notebook snapshot link when using mssparkutils.notebook.run()

When I use mssparkutils.notebook.run() to a run a notebook from a parent notebook, it generates a snapshot link of the notebook in the output window of the parent notebook- clicking on which I can view the execution of each cell of the notebook in question. I would like to dynamically get this snapshot link. Could you plese help with how one can do that?

1 ACCEPTED SOLUTION
v-nmadadi-msft
Community Support
Community Support

Hi  @anawast 
Thanks for reaching out to the Microsoft fabric community forum.

Currently there is no direct functionality in mssparkutils or notebookutils to dynamically retrieve snapshot link as Fabric does not expose the snapshot ID.
The only possible workaround is to manually construct the URL using
https://<workspace_url>/notebooks/<notebook_id>/snapshot/<snapshot_id>
We can retrieve notebook ID and Workspace ID through notebookutils  but for snapshot ID it has to be manually copied from the child notebook.

If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS.
Thanks and Regards

View solution in original post

4 REPLIES 4
v-nmadadi-msft
Community Support
Community Support

Hi @anawast ,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the community members for the issue worked. If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Thanks and regards

v-nmadadi-msft
Community Support
Community Support

Hi @anawast,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.


Thank you.

v-nmadadi-msft
Community Support
Community Support

Hi @anawast ,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

v-nmadadi-msft
Community Support
Community Support

Hi  @anawast 
Thanks for reaching out to the Microsoft fabric community forum.

Currently there is no direct functionality in mssparkutils or notebookutils to dynamically retrieve snapshot link as Fabric does not expose the snapshot ID.
The only possible workaround is to manually construct the URL using
https://<workspace_url>/notebooks/<notebook_id>/snapshot/<snapshot_id>
We can retrieve notebook ID and Workspace ID through notebookutils  but for snapshot ID it has to be manually copied from the child notebook.

If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS.
Thanks and Regards

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.