Need to get budget allocated for all my subscription and management group in Azure u

Occasional Contributor

Hi Team

 

I'm new to automation world and learning day by days

 

 

i've wondering to get the budget allocated for all my subscription and management group in Azure Account.

 

i am able to achieve using rest api for one subscription using the API below

"GET https://management.azure.com/{scope}/providers/Microsoft.Consumption/budgets/{budgetName}?api-versio...

 

however my requirement is to get it for all subscription & management group  in my Azure account ,Any experts can help me on this which is much appreciate 

 

 

1 Reply

Hello @Srini1987,

Did you look into Get-AzureRmConsumptionBudget cmdlet? It lists all budgets in the subscription or resource group. 

 

Hope that helps.