Share via

Authorization Failed When Creating Virtual Machine

Vivian Glen 20 Reputation points
2025-03-11T15:54:37.3233333+00:00

Having the contributor role for a specific resource group, an attempt to create a virtual machine results in an "Authorization failed" error. What steps can be taken to resolve this issue?

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments

Answer accepted by question author

Manu Philip 20,651 Reputation points MVP Volunteer Moderator
2025-03-11T16:06:02.22+00:00

Hi Vivian Glen

Even though you have Contributor role, it could be failing due to the permission needed for creating the network components like VNET, Network Security Group, public IP etc. You could add the 'Network Contributor role', if you want to create the network items when creating the VM. Try creating the VM after adding the role and see if it works!

Hope this helps.


--please don't forget to upvote and Accept as answer if the reply is helpful--

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.