I Need help with a policy to Azure Budget

Wellington Adilson Dorado 0 Reputation points
2024-11-27T13:20:51.48+00:00

Hello, I would like to request help with a problem I am facing. I am trying to apply a policy that essentially prevents deployments if the subscription's budget exceeds 200. Is there any way to do this with a policy? If not, how can I enforce a cost limit, for example, that I do not want to exceed that value? I have already tested at least 30 JSON scripts aiming to implement a cost policy that denies deployments, but it's not working. Could someone please help me, or implement a forced limit for the entire "Pay As You Go" subscription, or a policy that prevents deployments once the current subscription budget exceeds 200?

Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,778 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
932 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.