Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel21
maxLevel2
outlinefalse
typelist
printablefalse

...

In case you get the following error , you can fix it by setting subscription for your account
The client XYZ with object id 'ABCD' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope or the scope is invalid. If access was recently granted, please refresh your credentials.
Code: AuthorizationFailed

Steps to fix the error:
1. go to subscriptions under your azure account and look for subscription ID
2. Run the following command to set subscription for your account:
az account set --subscription subscriptionID

...