Training on Describe Azure compute and networking services

Raphaël Ly 20 Reputation points
2024-01-08T13:01:50.85+00:00

Hi

I am doing the training on Describe Azure compute and networking services unit 3

I need to create an Azure virtual machine.

I am activating the sandbox.

I am following the instruction and use the below code:

az vm create --resource-group [sandbox resource group name] --name my-vm --public-ip-sku Standard --image Ubuntu2204 --admin-username azureuser --generate-ssh-keys

To my understanding [sandbox resource group name] should be replaced by the actual name when the sandbox is activated but that is not the case.

[Image

](https://filestore.community.support.microsoft.com/api/images/b8fcdc13-a921-4ad4-8999-158c71488f0d?upload=true&fud_access=%2BjSv6iqVX2hgzn2wl5SMnFb6iDf43yjwmq9F8Mzjs%2F2sQV5ZYDI5v5y3D4qsEv7lE0v8y2WyOGYCue70C%2BgONdVLmwo7P2ImfFY8jsQqosKZSDon9zvTPHWPqlbcy3K5CZ%2Bwp0WvPRtgB%2BaM6z2rzQ396uOXeLJreu5LJ82sGnkeO0zE859fnL7j5EPqtmKJ005LVOANJhXdN3jko39gXRaRB88KoOdUo9eWYvHHA02OdbfFuyrVif9b9a5kn59HFf3sFPgmM8Gtkt%2F8VXhFON9dWVwDX%2BbM3tQ7WTSEF1nHyVzZZtYmbP5UqRhw3ZRZRqFTu46dOAHBhdoyZsNEe7lcDIZz0lZ%2FCck9zrideaNT3y3UY2jMHYbBl%2Fl8IrGJu9XUKtkAVMRs2QERu9mkplKIfL8ru%2BO4hpdR3z7V8J0%3D"filestore.community.support.microsoft.com")

so I cannot go further.

I get the below response

unrecognized arguments: resource group name]

[Image

](https://filestore.community.support.microsoft.com/api/images/78813eff-5101-4385-bbe7-fb87c5dc5a82?upload=true&fud_access=%2BjSv6iqVX2hgzn2wl5SMnFb6iDf43yjwmq9F8Mzjs%2F2sQV5ZYDI5v5y3D4qsEv7lE0v8y2WyOGYCue70C%2BgONdVLmwo7P2ImfFY8jsQqosKZSDon9zvTPHWPqlbcy3K5CZ%2Bwp0WvPRtgB%2BaM6z2rzQ396uOXeLJreu5LJ82sGnkeO0zE859fnL7j5EPqtmKJ005LVOANJhXdN3jko39gXRaRB88KoOdUo9eWYvHHA01DwGuLnJn9l%2FyVY9H2XMaABy5wugo3e%2FpgGJK8nr%2Fb%2BBdA3lx2P%2F3steCDM2g7fBZdNmFQg5OsxtU%2BQSwCVy0ta%2B5rXrdvG9RSFbQqj%2BSB9%2Bv38TLFc7XfCKh8aEzdgGp5fphsOeVhhxpo1QCH8D05YJvsdz4dlKYdCyk3cwXcK8RulDYlRrfiympniidGc0A%3D"filestore.community.support.microsoft.com")

can someone help me out?

Azure Azure Training
0 comments No comments
{count} votes

Accepted answer
  1. TP 124.7K Reputation points Volunteer Moderator
    2024-01-08T13:18:22.9233333+00:00

    Hi Raphaël,

    Please navigate to the Create an Azure virtual machine exercise, Activate a new sandbox, sign in, etc. Once sandbox is activated and black cloud shell window is displayed, navigate to Exercise - Configure network access using the "Unit x of 14" dropdown above the exercise.

    qna az-900 create azure vm workaround

    After page loads and resource group name is updated to learn-, immediately navigate back to Create an Azure virtual machine exercise and complete it.

    Inspiration for above workaround came from @pnaroju's #2 suggestion in this post.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Luca Lionetti 3,231 Reputation points
    2024-01-08T13:22:40.3+00:00

    Hi,

    Welcome to Microsoft Q&A community forum!

    the sandbox resource group name, is the name you gave to the resource group you are using in the lab, for example if you are using the SandboxNSGs resource group, when you create the vm you have to put that name

    so the cli command should be

    az vm create -- resource group SandboxNSGs

    ref link:

    https://learn.microsoft.com/en-us/cli/azure/azure-cli-vm-tutorial-3

    Hope this helps

    Cheers

    Luca

    Please "Accept as Answer" and Upvote if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues

    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.