Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DataboyyYottabytes opened this issue Feb 10, 2025 · 2 comments
Open
Assignees
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

Comments

@DataboyyYottabytes
Copy link

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.

@DataboyyYottabytes DataboyyYottabytes added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Feb 10, 2025
@yonzhan
Copy link
Collaborator

yonzhan commented Feb 10, 2025

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group labels Feb 10, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Feb 10, 2025
Copy link

Here are some similar issues that might help you. Please check if they can solve your problem.

@yonzhan yonzhan removed the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Feb 10, 2025
@yonzhan yonzhan added this to the Backlog milestone Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants