Skip to content

[BUG] AZ-104 course fails when creating resources in Sandbox (no authorization) #572

Description

To Reproduce

AZ-104 > Create VM or Create Disk

Commands you ran
az vm create --name support-web-vm01 --image Canonical:UbuntuServer:16.04-LTS:latest --size Standard_DS1_v2 --admin-username azureuser --generate-ssh-keys

## Observed Behavior
Cannot create resources due to authorization issues.

Include error output here
(AuthorizationFailed) The client 'live.com#bernardt_nel@yahoo.com' with object id '148614d9-5c95-47fd-b6d0-ae7ed1ecb420' does not have authorization to perform action 'Microsoft.Network/virtualNetworks/read' over scope '/subscriptions/8b6001cd-a329-4999-8dbb-3b3261bb100a/resourceGroups/learn-bd6e91d6-927b-4941-81f3-be6587328609/providers/Microsoft.Network' or the scope is invalid. If access was recently granted, please refresh your credentials.
Code: AuthorizationFailed
Message: The client 'live.com#bernardt_nel@yahoo.com' with object id '148614d9-5c95-47fd-b6d0-ae7ed1ecb420' does not have authorization to perform action 'Microsoft.Network/virtualNetworks/read' over scope '/subscriptions/8b6001cd-a329-4999-8dbb-3b3261bb100a/resourceGroups/learn-bd6e91d6-927b-4941-81f3-be6587328609/providers/Microsoft.Network' or the scope is invalid. If access was recently granted, please refresh your credentials.

## Expected behavior

This should work by default as this is a MS Learning Course!?

## Is this specific to Cloud Shell?
no, even on the Azure Portal I do not have auths to create resources.

## Interface information
Via Microsoft Learn using Windows 11 / Edge.

## Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions