You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/automation/migrate-run-as-accounts-managed-identity.md
+5-12Lines changed: 5 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -205,11 +205,7 @@ The following steps include an example to show how a graphical runbook that uses
205
205
206
206
1. Replace the Run As connection that uses `AzureRunAsConnection` and the connection asset that internally uses the PowerShell `Get-AutomationConnection` cmdlet with the `Connect-AzAccount` cmdlet.
207
207
208
-
1. Select **Delete** to delete the `Get-Run As Connection`.
209
-
210
-
:::image type="content" source="./media/migrate-run-as-account-managed-identity/graphical-runbook-delete-get-runas-connection-inline.png" alt-text="Screenshot to delete the get run as connection." lightbox="./media/migrate-run-as-account-managed-identity/graphical-runbook-delete-get-runas-connection-expanded.png":::
211
-
212
-
1. Connect to the Azure activities.
208
+
1. Select **Delete** to delete the `Get-Run As Connection` and connect to the Azure activities.
213
209
214
210
:::image type="content" source="./media/migrate-run-as-account-managed-identity/connect-azure-graphical-runbook-inline.png" alt-text="Screenshot to connect to the Azure activities." lightbox="./media/migrate-run-as-account-managed-identity/connect-azure-graphical-runbook-expanded.png":::
215
211
@@ -235,19 +231,16 @@ The following steps include an example to show how a graphical runbook that uses
235
231
throw $_.Exception
236
232
}
237
233
```
238
-
239
-
For example, in the runbook **Start Azure V2 VMs** in the runbook gallery, you must replace the `Get Run As Connection` and `Connect to Azure` activities with the `Connect-AzAccount` cmdlet activity.
240
-
For more information, see the sample runbook name **AzureAutomationTutorialWithIdentityGraphical** that's created with the Automation account.
241
-
234
+
242
235
1. Connect the new activity to the activities that were connected by **Connect to Azure** earlier and save the runbook.
243
236
244
237
:::image type="content" source="./media/migrate-run-as-account-managed-identity/connect-activities-graphical-runbook-inline.png" alt-text="Screenshot to connect new activity to activities." lightbox="./media/migrate-run-as-account-managed-identity/connect-activities-graphical-runbook-expanded.png":::
245
238
246
-
247
-
239
+
For example, in the runbook **Start Azure V2 VMs** in the runbook gallery, you must replace the `Get Run As Connection` and `Connect to Azure` activities with the `Connect-AzAccount` cmdlet activity.
240
+
For more information, see the sample runbook name **AzureAutomationTutorialWithIdentityGraphical** that's created with the Automation account.
248
241
249
242
> [!NOTE]
250
-
> AzureRM PowerShell modules are retiring on 29 February 2024. If you are using AzureRM PowerShell modules in Graphical runbooks, you must upgrade them to use Az PowerShell modules. [Learn more](/powershell/azure/migrate-from-azurerm-to-az?view=azps-9.4.0&preserve-view=true).
243
+
> AzureRM PowerShell modules are retiring on **29 February 2024**. If you are using AzureRM PowerShell modules in Graphical runbooks, you must upgrade them to use Az PowerShell modules. [Learn more](/powershell/azure/migrate-from-azurerm-to-az?view=azps-9.4.0&preserve-view=true).
0 commit comments