Hello, @Dr. Dheeraj Rane !
Deleting the VM and recreating it usually resolves rare issues with external dependencies and completing unit 9 Exercise - Configure network access may be required for actions outside of the instructions that require network access.
Where am I seeing this?
- Subject: Exam AZ-900: Microsoft Azure Fundamentals
- Learning Path: Azure Fundamentals: Describe Azure architecture and services
- Module: Describe Azure compute and networking services
- Unit: 3 of 14 Exercise - Create an Azure Virtual Machine
Why am I unable to see the VM after creating it?
This unit has some external dependencies which can fail on rare occasion. Deleting the virtual machine and trying again (or waiting for a new sandbox) usually resolves the problem. The command to do that is this az vm delete
:
az vm delete \
--resource-group myResourceGroup \
--name myVM \
--force-deletion none
In practice, that looks more like this (you'll need to use your own resource group):
az vm delete \
--resource-group learn-12abcdef-gh34-5i67-a1b2-3456789cd012 \
--name my-vm \
--force-deletion none
If successful, you should see something like this:
Note that network access to this VM is configured in unit 9 Exercise - Configure network access. If you are still running into issues, let us know in the comments.
If this has been helpful, please take a moment to accept answers as this helps increase visibility of this question for other members of the Microsoft Q&A community. Thank you for helping to improve Microsoft Q&A!