Rob Sewell shows us how to run an Azure Data Studio notebook as a SQL Agent job:
Azure Data Studio is a great tool for connecting with your data platform whether it is in Azure or on your hardware. Jupyter Notebooks are fantastic, you can have words, pictures, code and code results all saved in one document.
I have created a repository in my Github https://beard.media/Notebooks where I have stored a number of Jupyter notebooks both for Azure Data Studio and the new .NET interactive notebooks.
Another thing that you can do with notebooks is run them as Agent Jobs and save the results of the run.
Read on to learn how.