terraform-provider-azurerm: Error obtaining Authorization Token from the Azure CLI

Community Note

  • Please vote on this issue by adding a πŸ‘ reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave β€œ+1” or β€œme too” comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform (and AzureRM Provider) Version

Terraform v0.11.14

  • provider.azuread v0.4.0
  • provider.azurerm v1.30.1

Debug Output

(Nothing suspicious)

Actual Behavior

A few days ago, both azurerm and azuread started to fail with the following:

Error obtaining Authorization Token from the Azure CLI: Error waiting for the Azure CLI: exit status 1

If I do az logout/az login, azuread seems to refresh fine on the first run after that, but azurerm still fails. From the second run, azuread starts to fail again.

Important Factoids

No changes to the environment had been made, no firewall or anything unusual.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 8
  • Comments: 20 (8 by maintainers)

Most upvoted comments

@tombuildsstuff I even restarted the machine