creds update for Azure are not working as expected.
Azure client secret was expired for a app registry. We have created a new client secret and used those credentials to run a pipeline job in jenkins, but it keeps failing with below error
Error on console output:
[Pipeline] sh
+ terraform apply --auto-approve
e[31m╷e[0me[0m
e[31m│e[0m e[0me[1me[31mError: e[0me[0me[1munable to build authorizer for Resource Manager API: could not configure AzureCli Authorizer: tenant ID was not specified and the default tenant ID could not be determined: obtaining tenant ID: obtaining account details: running Azure CLI: exit status 1: ERROR: Please run 'az login' to setup account.e[0m
e[31m│e[0m e[0m
e[31m│e[0m e[0me[0m with provider["registry.terraform.io/hashicorp/azurerm"],
e[31m│e[0m e[0m on rg.tf line 10, in provider "azurerm":
e[31m│e[0m e[0m 10: provider "azurerm" e[4m{e[0me[0m
e[31m│e[0m e[0m
e[31m╵e[0me[0m
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE