AZ-900 Microsoft Azure Fundamentals 2020

Sign Up Free or Log In to participate!

Unable to create a NSG

Hello, I’m unable to create a NSG.  Its failing with the following below error. I appreciate your response. Thank you

{"code":"AuthorizationFailed","message":"The client ‘’ with object id ‘d212e2c5-6d4f-4c57-9451-295dad5f6dae’ does not have authorization to perform action ‘Microsoft.ClassicNetwork/register/action’ over scope ‘/subscriptions/964df7ca-3ba4-48b6-a695-1ed9db5723f8’ or the scope is invalid. If access was recently granted, please refresh your credentials. (Code: AuthorizationFailed)"}

1 Answers


The error message appears to indicate you’re working with classic networks.

Are you able to try the below steps and confirm whether this works for you?

1. Login to the Azure Portal using the lab/sandbox credentials provided
2. Click the ‘Create a resource’ option at the top left in the Azure portal
3. Search for, and use the option, ‘network security group’ > click Create
4. Create the NSG, but ensure you use the existing subscription and resource group

Hope this helps,

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?