AuthorizationFailed Error on "Exercise - Create an Azure virtual machine"

dkj ds 0 Reputation points
2024-01-24T10:36:06.7233333+00:00

WARNING! There was an error parsing the document Getting such an error while creating azure vm: az vm create --resource-group my-vm-group --name my-vm --public-ip-sku Standard --image Ubuntu2204 --admin-username azureuser --generate-ssh-keys…

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

1 answer

Sort by: Most helpful
  1. TP 126.2K Reputation points Volunteer Moderator
    2024-01-24T11:22:05.7066667+00:00

    Hi,

    There is a bug in the exercise that appeared recently. Please use instructions below.

    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. Please make sure you click the Copy button in upper right of each code block, right-click Paste into Cloud Shell window on right, then press Enter to execute command.

    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

    4 people found this answer 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.