Skip to content

Commit 9671067

Browse files
committed
feedback incorporated
1 parent e427ca7 commit 9671067

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
@@ -299,8 +299,8 @@ You can use the `ForEach -Parallel` construct to process commands for each item
299299
```
300300
301301
1. If you want the runbook to execute with the system-assigned managed identity, leave the code as-is. If you prefer to use a user-assigned managed identity, then:
302-
1. From line 13, remove `$AzureContext = (Connect-AzAccount -Identity).context`,
303-
1. Replace it with `$AzureContext = (Connect-AzAccount -Identity -AccountId <ClientId>).context`, and
302+
1. From line 9, remove `(Connect-AzAccount -Identity)`,
303+
1. Replace it with `(Connect-AzAccount -Identity -AccountId <ClientId>)`, and
304304
1. Enter the Client ID you obtained earlier.
305305
306306
1. Select **Save**, then **Publish**, and then **Yes** when prompted.

0 commit comments

Comments
 (0)