Skip to content

Commit 8972ac4

Browse files
committed
added about the webpage
1 parent 4e9a7da commit 8972ac4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/automation/learn/automation-tutorial-runbook-textual.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,10 @@ You've tested and published your runbook, but so far it doesn't do anything usef
195195
Disable-AzContextAutosave -Scope Process
196196
197197
# Connect to Azure with system-assigned managed identity
198-
$AzureContext = (Connect-AzAccount -Identity).context
198+
Connect-AzAccount -Identity
199199
200200
# set and store context
201-
$AzureContext = Set-AzContext -SubscriptionName $AzureContext.Subscription -DefaultProfile $AzureContext
201+
$AzureContext = Set-AzContext –SubscriptionId “<SubscriptionID>”
202202
}
203203
```
204204

0 commit comments

Comments
 (0)