Can't start the cloud shell

Kanika Sharma 20 Reputation points
2024-04-24T14:29:58.84+00:00
Can't start the cloud shell. Getting errors as below

(AuthorizationFailed) The client 'live.com#kani.sharma@outlook.com' with object id '07e61716-d288-4c39-8aba-573437241c75' does not have authorization to perform action 'Microsoft.Compute/virtualMachines/read' over scope '/subscriptions/9e2deb73-2f73-46d9-96f9-f94827200755/resourceGroups/learn-9e3a1a2e-23c1-4f7d-9fa3-a1b6abce2f58/providers/Microsoft.Compute/virtualMachines/my-vm' or the scope is invalid. If access was recently granted, please refresh your credentials.
Code: AuthorizationFailed
Message: The client 'live.com#kani.sharma@outlook.com' with object id '07e61716-d288-4c39-8aba-573437241c75' does not have authorization to perform action 'Microsoft.Compute/virtualMachines/read' over scope '/subscriptions/9e2deb73-2f73-46d9-96f9-f94827200755/resourceGroups/learn-9e3a1a2e-23c1-4f7d-9fa3-a1b6abce2f58/providers/Microsoft.Compute/virtualMachines/my-vm' or the scope is invalid. If access was recently granted, please refresh your credentials.


This question is related to the following Learning Module

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.
945 questions
0 comments No comments
{count} votes

Accepted answer
  1. SiddeshTN 2,625 Reputation points Microsoft Vendor
    2024-04-24T15:00:43.17+00:00

    Hi Kanika Sharma,

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

    Where am I seeing this?

    Subject: AZ-900/Azure Fundamentals

    Learning Path: Describe Azure architecture and services.

    Module: Describe Azure compute and networking services

    Unit: 3 - Exercise - Create an Azure virtual machine

    Based on the provided error code, it is recommended to substitute "[sandbox resource group name]" with the default resource group name, commencing with "learn......" (for instance learn-9e3a1a2e-23c1-4f7d-9fa3-a1b6abce2f58). This replacement should be made adjacent to the --resource-group name, as illustrated in the accompanying. screenshot below.

    RG11

    Note:Kindly refrain from utilizing a personalized resource group name, such as (e.g. my-group01). Instead, consider employing a resource group name that begins with learn-9e3a1a2e-23c1-4f7d-9fa3-a1b6abce2f58, as illustrated in the provided screenshot below.
    dia

    Please feel free to contact us if you have any additional questions.

    If you've found the provided answer helpful, please click the "Accept Answer/Upvote" button. This will be beneficial to other members of the Microsoft Q&A forum community.

    Thank you.


0 additional answers

Sort by: Most helpful