I am writing a script to set azure consumption budget and notification alert to subscription owner.
Everything is working fine except setting up an action group.
Below is the command i am using
Set-AzureRmConsumptionBudget : Operation returned an invalid status code ‘Unauthorized’
At line:1 char:1
Can any one tell me the proper format or the solution to this?