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

Error: building account: could not acquire access token to parse claims: running Azure CLI: exit status 2: ERROR: az: error: unrecognized arguments: --scope https://graph.microsoft.com/.default │ usage: az [-h] [--verbose] [--debug] │ [--output {json,jsonc,table,tsv,yaml,none}] [--query JMESPATH] │ {account} ... #40041

Closed
wail-senna opened this issue May 5, 2024 · 2 comments
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. issue-addressed The Azure SDK team member assisting with this issue believes it to be addressed and ready to close. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@wail-senna
Copy link

Describe the bug
i'm working with terraform and azure cloud, after i run the commandes "terraform init" and "az login" everything goes well, but when i run "terraform plan" i get this error :
############################################################################################
Error: building account: could not acquire access token to parse claims: running Azure CLI: exit status 2: ERROR: az: error: unrecognized arguments: --scope https://graph.microsoft.com/.default
│ usage: az [-h] [--verbose] [--debug]
│ [--output {json,jsonc,table,tsv,yaml,none}] [--query JMESPATH]
│ {account} ...
############################################################################################
i verified the account login with "az account show" and "az account get-access-token --output json --resource https://management.core.windows.net" and everything seems correct, i don't know where is the problem

@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels May 5, 2024
@joshfree
Copy link
Member

joshfree commented May 6, 2024

Hi @wail-senna this is a GitHub repo for Java SDK questions, feedback, and feature requests. At first glance, this question doesn't appear related to Java client libraries for Azure. Please apologize if I misunderstood. Based on what was shared, I'd recommend checking out the resources listed in https://github.com/Azure/azure-sdk-for-java/blob/main/SUPPORT.md for getting general purpose support from Azure which isn't related to Java SDKs.

@joshfree joshfree added the issue-addressed The Azure SDK team member assisting with this issue believes it to be addressed and ready to close. label May 6, 2024
@github-actions github-actions bot removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label May 6, 2024
Copy link

github-actions bot commented May 6, 2024

Hi @wail-senna. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. issue-addressed The Azure SDK team member assisting with this issue believes it to be addressed and ready to close. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

2 participants