Task 1: Create a Linux virtual machine and install Nginx

Pragati Verma 5 Reputation points
2024-01-09T11:34:10.68+00:00

I am trying to do this task by copying the command and pasting in Azure cloud shell but I keep getting an error message "unrecognized arguments: resource group]"User's image

Azure Azure Training
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. TP 124.7K Reputation points Volunteer Moderator
    2024-01-09T14:09:51.15+00:00

    Hi Pragati,

    There is a bug in the exercise whereby the sandbox group name isn't updated automatically as it should. Below instructions will fix it.

    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 with "Welcome to Azure Cloud Shell" 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

    3 people found this answer helpful.

  2. JimmySalian-2011 42,486 Reputation points
    2024-01-09T13:43:04.9666667+00:00

    Hi Pragati,

    This is not clear however you will need to replace the resources details according to your environment. Check this process guide to assist you in creating a VM.https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/virtual-machines/linux/create-cli-complete.md

    Hope this helps.

    JS

    ==

    Please accept as answer and do a Thumbs-up to upvote this response if you are satisfied with the community help. Your upvote will be beneficial for the community users facing 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.