Forum Discussion

Him_Learner's avatar
Him_Learner
Copper Contributor
Oct 20, 2026

Azure CLI to create the budget Alert

Hello All,

 

I am new to Azure CLI and trying to create the Budget alert. While using below commands i am keep getting the error.  Please assist me to fix the issue.

 

Syntax- 

az consumption budget create --budget-name "MonthlyAlert" --amount 10.0 --time-grain "Monthly" --start-date "2026-11-01" --end-date "2027-11-01" --resource-group "LearnRG" --category "cost"

I also tried 

az consumption budget create --budget-name MonthlyAlert --amount 10.0 --time-grain Monthly -s 2026-11-01 -e 2027-11-01 --resource-group LearnRG --category cost

 

Command group 'consumption' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

(400) Invalid budget configuration, please use filter interface with 2019-05-01-preview version (Request ID: 8726e67e-4c5b-4830-8318-0da1c5a688fb)

Code: 400

Message: Invalid budget configuration, please use filter interface with 2019-05-01-preview version (Request ID: 8726e67e-4c5b-4830-8318-0da1c5a688fb)

No RepliesBe the first to reply