Set default resource group az config set defaults.group=MyResourceGroup Set default subscription az account set --subscription <name or id>