From 5c5f4b85a9d5bf7c0a19f8d6e10ef528bc9b2429 Mon Sep 17 00:00:00 2001 From: "David R. Williamson" Date: Fri, 20 Sep 2019 17:37:51 -0700 Subject: [PATCH] Fix azcli sub instructions --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 87332e8..5f9d03c 100644 --- a/README.md +++ b/README.md @@ -168,7 +168,8 @@ In order to automate the steps to deploy to Azure, consider reading the followin # Initialize these variables: $subscriptionId, $resourceGroupName, $location, $iotHubName, $consumerGroupName, $deviceId, $appServicePlanName, $webAppName, $iotHubConnectionString # Login and set the specified subscription -az login --subscription $subscriptionId +az login +az account set -s $subscriptionId # Create the resource group in the specified location az group create -n $resourceGroupName --location $location