According to Microsoft's Azure documentation. You have to make an Environment class, and then run a python script configured with this environment.
How do you run a notebook with a specified environment, and not a script? For example: I want create a notebook in Azure ML and run it with a custom environment.