https://pulumi.com logo
Title
p

polite-shoe-79877

04/14/2021, 7:19 AM
Hey, iam trying to create an azuread.Application with a Service Principal, but iam 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: No subscription found. Run 'az account set' to select a subscription.
I can create other resoruces but not an AzureAd Application, It works on Linux not Windows. Anyone know how to fix?
w

wet-noon-14291

04/14/2021, 8:21 AM
@clever-sunset-76585, it sounds like this could be the same thing I experienced a while back: https://github.com/pulumi/pulumi/issues/4840
c

clever-sunset-76585

04/19/2021, 4:52 PM
@wet-noon-14291 it sort of looks like that to me as well. @polite-shoe-79877 you might want to start a fresh project on your Windows machine (not using WSL, please) and see if you can reproduce it.
p

polite-shoe-79877

06/16/2021, 2:19 PM
i know this was a long time ago, but found the solution, i was missing the azuread config in the stack yaml
👍 1