Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

6.1.4. Virtual Network Manager Security Admin Rules

An NSG belongs to whoever owns the subnet, which is exactly the problem when a central security team needs a rule that an application team cannot switch off. Security admin rules, delivered by Azure Virtual Network Manager, are evaluated before NSG rules and cannot be overridden from below.

Security admin rulesNSG rules
Written byCentral network or security adminsIndividual application teams
Applied atVirtual network levelSubnet or NIC level
Evaluation orderFirstAfter security admin rules
ActionsAllow, Deny, Always AllowAllow, Deny
The three actions are the whole topic:
  • Allow — permits the traffic here, then still hands it to the NSG, which may go on to deny it. This is a floor, not a guarantee.
  • Always Allow — permits the traffic and stops evaluation. No NSG below can block it.
  • Deny — blocks the traffic and stops evaluation. No NSG below can permit it.

⚠️ Exam Trap: Allow and Always Allow look interchangeable and are not. If the requirement is "application teams must not be able to block this traffic", only Always Allow satisfies it — a plain Allow leaves the final say with the NSG.

Priority runs from 1 to 4096 and lower numbers win, the same direction as NSG priorities.

Where they do not apply — worth knowing because the exception list is a favourite distractor. Security admin rules skip virtual networks containing Azure SQL Managed Instance or Azure Databricks, and skip subnets containing Application Gateway, Azure Bastion, Azure Firewall, Route Server, VPN Gateway, Virtual WAN or an ExpressRoute gateway. They also do not currently apply to private endpoints.

💡 First Principle: NSGs answer "what does this team allow into its own subnet?". Security admin rules answer "what does the organisation permit anywhere, regardless of what a team configures?" Reach for them whenever a question contains the words organisation-wide, cannot be overridden, or all current and future virtual networks.

See how it connects
Alvin Varughese
Written byAlvin Varughese
Founder20 professional certifications