-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
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.