Forum Discussion
Spending limit for users
- Aug 03, 2020
Hi avisravi ,
I don't think this is currently possible. You define your scope (e.g. a subscription, or a Resource Group), your "budget limit", period, and then you can specify various actions that can happen depending what threshold (% of your budget) is reached. It is not linked with any identity.
The only workaround I could think of (considering your limitation to use one subscription only) is to build a model, where you do 1:1 mapping of Resource Groups, RBAC permissions to them (role assignments to users) and budgets on RG level.
Example: User John would work only within `Project A` resource group (he will have e.g. a Contributor role on that level) and you would configure a budget in that RG for a certain amount of $$.
This model has some caveats (like you typically have a team that work together on building a solution, and you want to allow that team to group resources logically into RGs based on their lifecycle), but that's the only possibility I could think of.
Hi avisravi ,
I don't think this is currently possible. You define your scope (e.g. a subscription, or a Resource Group), your "budget limit", period, and then you can specify various actions that can happen depending what threshold (% of your budget) is reached. It is not linked with any identity.
The only workaround I could think of (considering your limitation to use one subscription only) is to build a model, where you do 1:1 mapping of Resource Groups, RBAC permissions to them (role assignments to users) and budgets on RG level.
Example: User John would work only within `Project A` resource group (he will have e.g. a Contributor role on that level) and you would configure a budget in that RG for a certain amount of $$.
This model has some caveats (like you typically have a team that work together on building a solution, and you want to allow that team to group resources logically into RGs based on their lifecycle), but that's the only possibility I could think of.