I'm trying to figure out if i deploy something from my powershell, that it is deploying to the wrong subscription which is in no way connected to eachother, except for that i have previously been logged in with it in powershell.
I have used
az logout and
az account clear to make sure it doesn't have any knowledge of the other account.
If i list any resources it would do it on the correct account, but creating would be on the second account.
If i do a
az account list it only shows the correct account.
Any ideas of how to fix this ?