https://pulumi.com logo
#dotnet
Title
# dotnet
s

swift-island-2275

08/22/2023, 9:11 AM
Hi, We have computers which are part of our corporate network. We try to run a very simple C# Azure Pulumi stack. It seems something doesn't work when Pulumi tries to use az cli. It seems it's related to our machine setup (as everything works ok from home), but we cannot figure out what. Can anyone help ? Logs attached
m

melodic-tomato-39005

08/22/2023, 9:59 AM
The root cause is
could not determine az version: running az: exit status 1
“1” means authentication required. Did you run
az login
? If you did, maybe on the wrong Azure account? This SO question has some more hints, even though Terraform is not involved here.
s

swift-island-2275

08/22/2023, 11:53 AM
yes, I've run az login and I can use az without any issues.
but thanks for the link, our setup has a self-signed certificate so I will try some of the hints from the link
m

melodic-tomato-39005

08/22/2023, 11:55 AM
Cool. I haven’t had the self-signed cert scenario yet myself so I’m curious what you find.
b

bored-activity-40468

08/23/2023, 1:34 PM
Sometimes .plugins directory can be monitored by anti-virus and cause problems. There is and env var to change the location.
4 Views