Login to Azure login and follow prompts az login TENTANT_ID= view and select your subscription account az account list -o table get the current default subscription using show az account show --output table SUBSCRIPTION= az account set --subscription $SUBSCRIPTION