Forum Discussion
Azure Labs Services VMs appear in the web UI as still running even if they were shut down
The Lab Portal UI is the place to look to see if you are using (and being charged for) time or not. If it still shows the VM as running, then you are using time.
There are some configurations where Azure Lab Services will detect that your VM has been disconnected when "automatically shutdown when users disconnect" is enabled. See Configure automatic shutdown of VMs in Azure Lab Services - Azure Lab Services | Microsoft Docs and Configure automatic shutdown of VMs for a lab in Azure Lab Services - Azure Lab Services | Microsoft Docs. As you can see in the second doc, shutting down the OS will adversely affect the automatic shutdown on disconnect setting.
However, the 'auto shutdown on disconnect' setting is not available for all OSes and, unfortunately, the DSVM is one of the unsupported Oses. If this case, you always want to shutdown from the Azure Lab Services portal.
Hope that helps,
Elizabeth