Azure AKS - Error Resource Group ‘rg-name’ could not be found.

less than 1 minute read

Pretty stupid error here. But just incase someone else is experiencing the same thing.

az account list --output table
az account set --subscription "My Demos"

Alternatively, you can run a single command with a different subscription by using the –subscription option on the command.