How do I request access to this training as part of my company license?

Gourio, Alberic D SWST-STC/35 25 Reputation points
2024-01-11T22:54:19.6066667+00:00

I was trying to run the code below as part of the Azure Training and got the error below, is it because I dont have the correct accesses?

alberic_gourio [ ~ ]$ az vm create \
  --resource-group Test1 \
  --name my-vm \
  --public-ip-sku Standard \
  --image Ubuntu2204 \
  --admin-username azureuser \
  --generate-ssh-keys
(AuthorizationFailed) The client '******@shell.com' with object id '503c46e6-5095-49c3-89a0-864f034e3796' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/read' over scope '/subscriptions/d6d5f527-564e-46e8-a8c1-1853446b9d96/resourcegroups/Test1' or the scope is invalid. If access was recently granted, please refresh your credentials.
Code: AuthorizationFailed
Message: The client '******@shell.com' with object id '503c46e6-5095-49c3-89a0-864f034e3796' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/read' over scope '/subscriptions/d6d5f527-564e-46e8-a8c1-1853446b9d96/resourcegroups/Test1' or the scope is invalid. If access was recently granted, please refresh your credentials.
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.
2,050 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 102.9K Reputation points
    2024-01-11T23:01:43.2366667+00:00

    Hi,

    There is a recent bug in the exercise whereby the resource group name doesn't get set as it should. Below instructions will allow you to complete the exercise.

    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

    2 people 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.