Hi, I'm trying to install azure+pulumi on a new la...
# general
Hi, I'm trying to install azure+pulumi on a new laptop. Getting "Azure CLI Authorization Profile not found" even after successful CLI login. What else should I check?
This is strange. What does
az account list
show you? Is it possible there isn't a valid Default Subscription, and you need to explicitly choose it via
az account set --subscription=<id>
az account list
shows 1 subscription
az account set
hasn't changed anything
The one subscription has isDefault=true
I remember it worked last time I tried on another pc. The login was giving code which I had to paste to browser. Now the browser just pops up and everything works automatically on login side (nice!) but not on pulumi side...
Have they changed something?
They did change this just recently. But I've been using it successfully. Am guessing from subsequent posts you managed to get this working? If so, curious for future reference, what ended up being the issue?
Nope, that was from another laptop with different versions of cli and pulumi (if that matters)
Hi Joe. I got back to that machine with failing azure login and was able to workaround this by doing
robocopy "$env:userprofile\.azure" "$env:homeshare\.azure"
, found here https://github.com/terraform-providers/terraform-provider-azurerm/issues/417#issuecomment-368952526