How to resolve authorization error when creating a VM in Azure

Abdulhameed Shittu 0 Reputation points
2024-10-08T14:29:23.1933333+00:00

Hello, I have been using the subscription provided to me for practice and was able to create virtual machines last week without any issues. However, today when trying to create a VM, I received the following error:

(AuthorizationFailed) The client 'live.com#abdulhameedshittu@gmail.com' with object id '1313fd1d-3771-4559-b2d8-0b960d70b149' does not have authorization to perform action 'Microsoft.Network/virtualNetworks/read' over scope '/subscriptions/293caa52-ebff-42e6-9e6f-48771148aeed/resourceGroups/[sandbox Resource Group]/providers/Microsoft.Network' or the scope is invalid. If access was recently granted, please refresh your credentials.

Code: AuthorizationFailed

Message: The client 'live.com#abdulhameedshittu@gmail.com' with object id '1313fd1d-3771-4559-b2d8-0b960d70b149' does not have authorization to perform action 'Microsoft.Network/virtualNetworks/read' over scope '/subscriptions/293caa52-ebff-42e6-9e6f-48771148aeed/resourceGroups/[sandbox Resource Group]/providers/Microsoft.Network' or the scope is invalid. If access was recently granted, please refresh your credentials.

I would appreciate any assistance on resolving this issue. Thank you!

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,896 questions
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
6,852 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 37,241 Reputation points Microsoft Employee
    2024-10-09T19:12:00.82+00:00

    @Abdulhameed Shittu

    I believe the error indicates that your current sandbox is not activated. You will need to reactivate the sandbox to continue. Please see the sandbox FAQ for more information.


    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments

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.