Billing month in Azure Budget not shown/available in the Options

Jim Milagrosa 80 Reputation points
2024-04-12T01:36:26.04+00:00

I would like to effectively monitor some of my MSDN or Visual Studio subscription within Azure and create a budget to receive alerts when my credit approaches the threshold. I recall previously, that I have configured this setup and set the reset period aligned to the billing month. But I am currently unable to locate this option. Could there have been a recent change or am I overlooking something?

Billing period

Configured with reset period set to Billingmonth:
with billingmonth

Regards,

Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,042 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SadiqhAhmed-MSFT 37,846 Reputation points Microsoft Employee
    2024-04-16T10:06:40.5666667+00:00

    Hello @Jim Milagrosa Thank you for reaching out to us on Microsoft Q&A platform. Sorry for the delayed response!

    Based on the information supplied in the original post, I understand that you want to monitor your MSDN and Visual Studio subscriptions to keep a tab on the spendings by creating budget alerts. However, Billing month in Azure Budget not shown/available in the Options.

    You can use the REST API to create budget with BillingMonth grain. 

    API doc https://learn.microsoft.com/en-us/rest/api/consumption/budgets/create-or-update?view=rest-consumption-2023-05-01&tabs=HTTP#timegraintype 

    Example request body:

    {

        "name": "test123",

        "eTag": null,

        "properties": {

            "category": "Cost",

            "amount": 100,

            "timeGrain": "BillingMonth",

            "timePeriod": {

                "startDate": "Mon, 01 Apr 2024 00:00:00 GMT",

                "endDate": "Tue, 31 Mar 2026 00:00:00 GMT"

            },

            "notifications": {

                "Actual_GreaterThan_10_Percent": {

                    "enabled": true,

                    "operator": "GreaterThan",

                    "threshold": 10,

                    "contactEmails": [

                        "test@contoso.com"

                    ],

                    "contactRoles": [],

                    "contactGroups": [],

                    "thresholdType": "Actual",

                    "locale": null

                }

            },

            "filter": {}

        }

    }

    Hope this helps. Please write back to us if you need further assistance.


    If the response helped, do "Accept Answer" and up-vote it

    0 comments No comments