Unable to create Azure virtual machine

Paul 20 Reputation points
2023-10-28T16:37:03.3366667+00:00

Module - Describe Azure compute and networking services

Unit 3/14 - Exercise - Create an Azure virtual machine

When trying to complete this exercise and entering the command as per the instructions I'm left with this error message

"the following arguments are required: --name/-n, --resource-group/-g"
I've attached a screenshot.

azure training.png

I'd be grateful if anybody could help with this.

Many thanks

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,644 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 95,221 Reputation points
    2023-10-28T16:44:42.56+00:00

    Hi Paul,

    It appears you didn't copy/paste the entire command from the task. Please activate a new sandbox, then when it is ready click the Copy button on Task 1 -- Step 1 and paste it into the cloud shell window on the right, and press enter. Once the command has completed go ahead and do the same thing for Task 1 -- Step 2.

    Please click Accept Answer if the above was useful.

    Thanks.

    -TP

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.