Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 3da3875

Browse files
author
David R. Williamson
authored
Merge pull request #32 from Azure-Samples/drwill/cli
Fix azcli sub instructions
2 parents b3382fd + 5c5f4b8 commit 3da3875

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ In order to automate the steps to deploy to Azure, consider reading the followin
168168
# Initialize these variables: $subscriptionId, $resourceGroupName, $location, $iotHubName, $consumerGroupName, $deviceId, $appServicePlanName, $webAppName, $iotHubConnectionString
169169

170170
# Login and set the specified subscription
171-
az login --subscription $subscriptionId
171+
az login
172+
az account set -s $subscriptionId
172173

173174
# Create the resource group in the specified location
174175
az group create -n $resourceGroupName --location $location

0 commit comments

Comments
 (0)