az vm list returns an empty response [] even though resource group and vm have been already created and are available

Ahmed Alsomairi 0 Reputation points
2023-08-18T19:25:19.9133333+00:00
  • Exercise - Create an Azure resource is complete
  • Resources created is verified
  • At Exercise - Configure network access
    az vm list returns an empty response []
  • clean up everything and restart Exercise - Create an Azure resource is complete, yet az vm list returns an empty response []
Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,668 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VGrandhi 195 Reputation points Microsoft Vendor
    2023-08-21T06:56:41.57+00:00

    Hi @Ahmed Alsomairi,

    We appreciate you for reaching out to the Microsoft Q&A Forum. Based on my understanding of your query, it appears that you're engaged in the following Learning Path task:

    Please note your sandbox is active for 1hr and try to complete the exercise within the activation time. Also, these might be the reasons for the issue you are facing.

    • If the Virtual Machine (VM) is located in a different region than the one specified in your 'az vm list' command, it won't be displayed in the response.
    • Double-check your filter parameters when using the 'az vm list' command. Make sure they are accurately defined and not unintentionally excluding the VM you're seeking.
    • Occasionally, it takes a short while for changes in resources to fully propagate throughout the Azure platform. If you've recently created the VM, give it a few minutes before attempting the operation again.

    After trying all these if the issue persists, please reach out us with the screenshot (please conceal your privacy details) of the error.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.