i cant create a resource group using cli with my sandbox even a VM #30800
Labels
ARM
az resource/group/lock/tag/deployment/policy/managementapp/account management-group
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Similar-Issue
Milestone
Describe the bug
this is the error
brukate [ ~ ]$ az group create --name myResourceGroup --location eastus
(AuthorizationFailed) The client 'live.com#[email protected]' with object id '8597a987-9608-4583-9082-5ee81471fc59' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope '/subscriptions/18974119-7a45-4077-9932-f95c83cee0e3/resourcegroups/myResourceGroup' or the scope is invalid. If access was recently granted, please refresh your credentials.
Code: AuthorizationFailed
Message: The client 'live.com#[email protected]' with object id '8597a987-9608-4583-9082-5ee81471fc59' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope '/subscriptions/18974119-7a45-4077-9932-f95c83cee0e3/resourcegroups/myResourceGroup' or the scope is invalid. If access was recently granted, please refresh your credentials.
Related command
az group create --name myResourceGroup --location eastus
Errors
this is the error
brukate [ ~ ]$ az group create --name myResourceGroup --location eastus
(AuthorizationFailed) The client 'live.com#[email protected]' with object id '8597a987-9608-4583-9082-5ee81471fc59' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope '/subscriptions/18974119-7a45-4077-9932-f95c83cee0e3/resourcegroups/myResourceGroup' or the scope is invalid. If access was recently granted, please refresh your credentials.
Code: AuthorizationFailed
Message: The client 'live.com#[email protected]' with object id '8597a987-9608-4583-9082-5ee81471fc59' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope '/subscriptions/18974119-7a45-4077-9932-f95c83cee0e3/resourcegroups/myResourceGroup' or the scope is invalid. If access was recently granted, please refresh your credentials.
Issue script & Debug output
this is the error
brukate [ ~ ]$ az group create --name myResourceGroup --location eastus
(AuthorizationFailed) The client 'live.com#[email protected]' with object id '8597a987-9608-4583-9082-5ee81471fc59' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope '/subscriptions/18974119-7a45-4077-9932-f95c83cee0e3/resourcegroups/myResourceGroup' or the scope is invalid. If access was recently granted, please refresh your credentials.
Code: AuthorizationFailed
Message: The client 'live.com#[email protected]' with object id '8597a987-9608-4583-9082-5ee81471fc59' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope '/subscriptions/18974119-7a45-4077-9932-f95c83cee0e3/resourcegroups/myResourceGroup' or the scope is invalid. If access was recently granted, please refresh your credentials.
Expected behavior
this is the error
brukate [ ~ ]$ az group create --name myResourceGroup --location eastus
(AuthorizationFailed) The client 'live.com#[email protected]' with object id '8597a987-9608-4583-9082-5ee81471fc59' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope '/subscriptions/18974119-7a45-4077-9932-f95c83cee0e3/resourcegroups/myResourceGroup' or the scope is invalid. If access was recently granted, please refresh your credentials.
Code: AuthorizationFailed
Message: The client 'live.com#[email protected]' with object id '8597a987-9608-4583-9082-5ee81471fc59' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope '/subscriptions/18974119-7a45-4077-9932-f95c83cee0e3/resourcegroups/myResourceGroup' or the scope is invalid. If access was recently granted, please refresh your credentials.
Environment Summary
this is the error
brukate [ ~ ]$ az group create --name myResourceGroup --location eastus
(AuthorizationFailed) The client 'live.com#[email protected]' with object id '8597a987-9608-4583-9082-5ee81471fc59' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope '/subscriptions/18974119-7a45-4077-9932-f95c83cee0e3/resourcegroups/myResourceGroup' or the scope is invalid. If access was recently granted, please refresh your credentials.
Code: AuthorizationFailed
Message: The client 'live.com#[email protected]' with object id '8597a987-9608-4583-9082-5ee81471fc59' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope '/subscriptions/18974119-7a45-4077-9932-f95c83cee0e3/resourcegroups/myResourceGroup' or the scope is invalid. If access was recently granted, please refresh your credentials.
Additional context
this is the error
brukate [ ~ ]$ az group create --name myResourceGroup --location eastus
(AuthorizationFailed) The client 'live.com#[email protected]' with object id '8597a987-9608-4583-9082-5ee81471fc59' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope '/subscriptions/18974119-7a45-4077-9932-f95c83cee0e3/resourcegroups/myResourceGroup' or the scope is invalid. If access was recently granted, please refresh your credentials.
Code: AuthorizationFailed
Message: The client 'live.com#[email protected]' with object id '8597a987-9608-4583-9082-5ee81471fc59' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope '/subscriptions/18974119-7a45-4077-9932-f95c83cee0e3/resourcegroups/myResourceGroup' or the scope is invalid. If access was recently granted, please refresh your credentials.
The text was updated successfully, but these errors were encountered: