When you try to create resourse in Azure CLI and you get this error message:
You does not have authorization to perform action. ‘Microsoft.Storage/register/action’ over scope.
This error happened because your account is not set as default.
Get a list of your subscriptions with the az account list command:
az account list –output table
Use az account set with the subscription ID or name you want to set as default account:
az account set –subscription