Skip to content

i cant create a resource group using cli with my sandbox even a VM #30800

@DataboyyYottabytes

Description

@DataboyyYottabytes

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.

Metadata

Metadata

Assignees

Labels

ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamSimilar-Issuecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions