Error building AzureRM Client: Azure CLI Authorization Profile was not found

I am able to create Azure VM successfully using terraform CLI.
Now i have created a workspace in terraform cloud and uploaded the same terraform configuration and pulling it from VCS.

As described in Azure provider document - https://www.terraform.io/docs/providers/azurerm/index.html
following variables are defined correctly -
ARM_SUBSCRIPTION_ID, ARM_CLIENT_ID,ARM_CLIENT_SECRECT,ARM_TENANT_ID
and created a Service Principal.

This is the error i am getting after submitted the plan -
Terraform v0.13.2
.
.
Error building AzureRM Client: Azure CLI Authorization Profile was not found. Please ensure the Azure CLI is installed and then log-in with az login.e
on main.tf line 1, in provider “azurerm”:
1: provider “azurerm”

Am i missing any configuration in terraform cloud? How to troubleshoot this error. I have tried many solutions suggested in the web but no luck.

Any help would be highly appreciated.
Thanks.

Never mind :grinning:. There was a typo in the variable name - ARM_CLIENT_SECRET

It’s working fine now.
Thanks.