Skip to Content

Solved: How do I limit the number, size, count, and type of Azure resources that can be created in resource group?

Table of Contents

Question

In my scenario, I have created 2 resource groups for 2 users (1 each) in a single Azure subscription. Each user will have Contributor role for their respective resource group. I like to configure different limits on the number, size, and type of Azure resources that can be created within each resource group. How do I accomplish this objective?

Answer

You can restriction types and size of resources. Additionally, you might need to decide the scope of the Azure policy is either at the management group or subscription group.

  • Limiting resource types and sizes is the job of Azure Policy.
  • Policies can only be assigned at the management group or subscription levels.

Reference