File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ title: Migrate from a Run As account to a managed identity
3
3
description : This article describes how to migrate from a Run As account to a managed identity in Azure Automation.
4
4
services : automation
5
5
ms.subservice : process-automation
6
- ms.date : 04/27 /2022
6
+ ms.date : 10/17 /2022
7
7
ms.topic : conceptual
8
8
ms.custom : devx-track-azurepowershell
9
9
---
@@ -107,6 +107,7 @@ The following examples of runbook scripts fetch the Resource Manager resources b
107
107
> Enable appropriate RBAC permissions for the system identity of this Automation account. Otherwise, the runbook might fail.
108
108
109
109
``` powershell
110
+ try
110
111
{
111
112
"Logging in to Azure..."
112
113
Connect-AzAccount -Identity
@@ -133,6 +134,7 @@ The following examples of runbook scripts fetch the Resource Manager resources b
133
134
# [ User-assigned managed identity] ( #tab/ua-managed-identity )
134
135
135
136
``` powershell
137
+ try
136
138
{
137
139
138
140
"Logging in to Azure..."
You can’t perform that action at this time.
0 commit comments