https://pulumi.com logo
Title
e

enough-kite-69616

06/30/2020, 1:16 PM
Getting this error this morning with no changes from last week:
error: Running program '/Users/jason/projects/cluster-config/pulumi' failed with an unhandled exception:
    Error: Invoke of 'azure:core/getClientConfig:getClientConfig' failed: rpc error: code = Unknown desc = invocation of azure:core/getClientConfig:getClientConfig returned an error: Error building account: Error getting authenticated object ID: Error parsing json result from the Azure CLI: Error waiting for the Azure CLI: exit status 1 ()
t

tall-librarian-49374

06/30/2020, 1:19 PM
Does
az account show
work? Maybe try
az login
again?
e

enough-kite-69616

06/30/2020, 1:20 PM
Yes,
az account show
works
az login
seems to have cleared it up... weird
t

tall-librarian-49374

06/30/2020, 1:25 PM
Access token file broken somehow?
e

enough-kite-69616

06/30/2020, 2:38 PM
Dunno, it's working now
l

limited-rainbow-51650

09/08/2020, 1:16 PM
@tall-librarian-49374 picking up my work for a customer with a pause of a few months and now bumping in this exact error. I ran
az login
again, and
az account show
shows the details of the correct user, but a
pulumi preview
still errors on:
error: Error building account: Error getting authenticated object ID: Error parsing json result from the Azure CLI: Error waiting for the Azure CLI: exit status 1
t

tall-librarian-49374

09/08/2020, 1:21 PM
Hmm… Try wiping your access tokens file?
l

limited-rainbow-51650

09/08/2020, 1:38 PM
@tall-librarian-49374 in the end, it was a misconfiguration on the customer side: mismatch between AD and tenant & subscription.