Line 323 $subDetails = az account set --subscription $tenantId
This line causes the error text in the following:
==================== Selecting Tenant ====================
ERROR: The subscription of '' doesn't exist in cloud 'AzureCloud'.
Enter the domain name for your web server (e.g. intranet.acme.com):
$subDetails isn't even re-used.
I'm not sure if the "az account set....." section is supposed to modify my login, or can this line just be deleted?