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
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
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
The text was updated successfully, but these errors were encountered: