Feb 02 2021 10:17 PM
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
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
Feb 05 2021 03:18 PM
Hello @Srini1987,
Did you look into Get-AzureRmConsumptionBudget cmdlet? It lists all budgets in the subscription or resource group.
Hope that helps.
Apr 15 2021 04:36 PM
Apr 21 2021 01:54 AM
Hello @Srini1987,
One of the options would be to get all subscriptions and then loop though them and get consumption budgets.
Hope that helps.