Getting this error this morning with no changes fr...
# azure
e
Getting this error this morning with no changes from last week:
Copy code
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
Does
az account show
work? Maybe try
az login
again?
e
Yes,
az account show
works
az login
seems to have cleared it up... weird
t
Access token file broken somehow?
e
Dunno, it's working now
l
@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
Hmm… Try wiping your access tokens file?
l
@tall-librarian-49374 in the end, it was a misconfiguration on the customer side: mismatch between AD and tenant & subscription.