cli command doesn't work

Anonymous
2024-05-27T12:31:35.74+00:00

dear,

in module "Create a Linux virtual machine and install Nginx"

the mention command: az vm create --resource-group "learn-5f26ccd6-d79e-40e0-b5f1-997ce7b93925" --name my-vm --public-ip-sku Standard --image Ubuntu2204 --admin-username azureuser --generate-ssh-keys

does not work and PowerShell comes up with other solutions. for instance to install a Redhat ...

Any Advice to work around?

Thank you in advance.

Kind regards,

Pieter Lenaerts

This question is related to the following Learning Module

Azure | Azure Training
0 comments No comments
{count} votes

Answer accepted by question author
  1. Anonymous
    2024-05-27T15:10:48.5233333+00:00

    Hi LENAERTS Pieter (CSC/MST),

    Thank you for reaching out to us on Microsoft Q&A forum.

    We have successfully executed the "az vm create" command in our environment and verified it's working. Below is the screenshot as reference:

    User's image

    Could you please attempt to execute the "az vm create" command in your bash environment and confirm whether you encounter any errors? If errors occur, please provide a screenshot of the error message for reference.

    Additionally, could you please confirm the type of email account (personal, work, or school) you are using to log into your Microsoft Learn account?

    If the information is helpful, please accept the answer by clicking the "Upvote and Accept Answer" on the post.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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