Azure Resource Policies

In Azure, you can create policies where you can define and enforce rules and actions for your Azure resources. Azure policies differ from RBAC because this is not about users, groups, or applications that need access, but Azure policies are about applying your organization's governance strategy. Azure can scan your resources, so they stay compliant with company rules and SLAs. For instance, you can create a policy that evaluates all virtual machines that use Managed Disks.

For creating policies, users must be granted the owner role in RBAC, or a custom role needs to be created where the following permissions need to be added to the JSON file:

  • To define policies: Microsoft.Authorization/policydefinitions/write
  • To ...

Get Architecting Microsoft Azure Solutions - Exam Guide 70-535 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.