If I am using a service principal to authenticate, should I need to run az login? I am getting this error:
Building AzureAD Client: obtain tenant() from Azure CLI: Error parsing json result from the Azure CLI: Error waiting for the Azure CLI: exit status 1: Please run 'az login' to setup account.
I have tried two different service principals with the same issue