I just tested my Linux VM by executing the az vm start
command. It completed in about 2 minutes and exited. It is possible that there is some issue with your VM that is preventing it from starting.
If you don't want to wait for the VM to fully start before exiting the command you can add the --no-wait y
option.
To troubleshoot specific VM state issues, see Troubleshoot Windows VM deployments and Troubleshoot Linux VM deployments.
Hope this helps. Let me know if you are still facing issues with this VM and we will be happy to assist.
If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.
If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.
Thank you for helping to improve Microsoft Q&A!