Resource Group - "sandbox resource group name" does not exist

Kynan Schwarz 100 Reputation points
2024-01-07T04:01:42.6233333+00:00

I am having to redo the "Exercise - Create an Azure virtual machine" part of the "Describe Azure compute and networking services" Module from the "Microsoft Azure Fundamentals: Describe Azure architecture and services" Course due to a later exercise.

I keep getting the error unrecognized arguments: resource group name] . I'm literally copy and pasting what it says and it gives me a different output to what I originally got.

The Resource Group does not exist to create the VM, I was able to do this before, I have tried creating multiple sandboxes, relogging, checking my Azure Accounts Directory. I've seen people report about similar things on forums, nothing is working. I cannot progress this course until I redo this step

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,422 questions
{count} votes

6 answers

Sort by: Most helpful
  1. pnaroju 3,160 Reputation points Microsoft External Staff
    2024-01-08T07:40:10.24+00:00

    Hi Kynan Schwarz,

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

    Whenever we activate a sandbox in the exercise by clicking on "Activate sandbox" button, we can see a default resource group name starting with learn......(for example: learn-e58d2b0d-5e77-4b91-b751-c67e776463e0) next to --resource-group name as shown in the screenshot below:

    NEWSB1

    If we are unable to see the default resource group name starting with learn...., kindly follow the below options to see the default resource group name for Concierge subscription.

    1.Login into the Azure portal with your same credentials used for accessing the learn path. In the Azure portal go to Resource groups and under Resource groups we can see our default resource group name starting with learn...... for Concierge subscription as shown in the screenshot below:

    AZURE PORTAL IMAGE

    Copy the resource group name and replace [sandbox resource group name] with the copied name by removing the brackets [] and continue the exercise.

    2.Even after activation of sandbox, if we are unbale to see the default resource group name starting with learn......, as a workaround kindly go to one unit previous to unit 3: Exercise - Create an Azure virtual machine and come back again to unit 3 to see the default resource group name starting with learn.

    If you are still running into issues, please let us know in the comments. We are happy to assist you.

    If the answer has been helpful in resolving the issue, please consider accepting the answer by clicking "Upvote" and "Accept answer" button to help increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you.

    6 people found this answer helpful.

  2. Kynan Schwarz 100 Reputation points
    2024-01-07T04:23:32.99+00:00

    Found the issue, it was showing a template [sandbox resource group name] and not replacing that in the tutorial with the actual resource group name. As someone new to this, it's pretty bad to have this bug.

    I found the resource group name by trying to create a VM manually using the Azure Portal

    5 people found this answer helpful.

  3. Aldbiyat Obab 10 Reputation points
    2024-03-04T11:09:44.0433333+00:00

    After activating the sandbox, you can put this command : az group list

    That will give you the resource group name inside your sandbox subscription, use this result name for other command, for example :

    [ ~ ]$ az group list

    [

    {

    "id": "/subscriptions/ba372116-10b0-41e7-a715-29ad8c7c52f9/resourceGroups/learn-0dde0a6c-c6a7-4308-b793-54a2eedfbaf7",
    
    "location": "westus",
    
    "managedBy": null,
    
    "name": "learn-0dde0a6c-c6a7-4308-b793-54a2eedfbaf7",
    
    "properties": {
    
      "provisioningState": "Succeeded"
    
    },
    
    "tags": {
    
      "x-created-by": "productsandboxes",
    
      "x-created-for": "6a69a822-40cc-480a-a3b5-02119a2c1f7b",
    
      "x-module-id": "learn.design-ip-addressing-for-azure"
    
    },
    
    "type": "Microsoft.Resources/resourceGroups"
    ```  }
    
    ]
    
     **[ ~ ]$ az network vnet create** --resource-group learn-0dde0a6c-c6a7-4308-b793-54a2eedfbaf7 --name CoreServicesVnet --address-prefixes 10.20.0.0/16 --location westus
    
    2 people found this answer helpful.

  4. Samuel Adeniji 0 Reputation points
    2024-01-08T18:00:03.71+00:00

    I just tried to do this by replacing the brackets with my correct RESOURCE GROUP NAME as explained in the instructions above. But i am still stuck

    This is the feedback i get below

    "(AuthorizationFailed) The client 'live.com#******@gmail.com' with object id '6a670350-ebc5-4d5b-92cf-5810b38a0b9a' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/read' over scope '/subscriptions/c8e91e7a-1ac8-436f-a03c-d3569abbd0f9/resourcegroups/learn-1094ae0a-6887-499f-8114-4c9d9a635813' or the scope is invalid. If access was recently granted, please refresh your credentials.

    Code: AuthorizationFailed

    Message: The client 'live.com#******@gmail.com' with object id '6a670350-ebc5-4d5b-92cf-5810b38a0b9a' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/read' over scope '/subscriptions/c8e91e7a-1ac8-436f-a03c-d3569abbd0f9/resourcegroups/learn-1094ae0a-6887-499f-8114-4c9d9a635813' or the scope is invalid. If access was recently granted, please refresh your credentials"


  5. Arbaz Pasha 0 Reputation points
    2024-03-05T16:24:05.2+00:00

    az group list command will display resource group required..


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.