A resource lock (Delete/CanNotDelete or ReadOnly) can be applied to a subscription, a resource group or an individual resource, and resources inside a locked scope inherit the lock. Locks apply regardless of RBAC permissions: even an Owner must remove the lock before performing the blocked delete or update. Azure Policy enforces organizational standards and assesses compliance rather than locking a resource. Azure Blueprints (retiring on January 31, 2027) were assigned at subscription or management-group scope. Service endpoints are enabled on virtual network subnets.
Community Discussion