Skip to content

Commit 4668391

Browse files
committed
feedback incorporated
1 parent 1ed8b44 commit 4668391

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

articles/automation/migrate-run-as-accounts-managed-identity.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,7 @@ The following steps include an example to show how a graphical runbook that uses
205205

206206
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.
207207

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.
213209

214210
:::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":::
215211

@@ -235,19 +231,16 @@ The following steps include an example to show how a graphical runbook that uses
235231
throw $_.Exception
236232
}
237233
```
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+
242235
1. Connect the new activity to the activities that were connected by **Connect to Azure** earlier and save the runbook.
243236

244237
:::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":::
245238

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.
248241

249242
> [!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).
251244
252245
## Next steps
253246

0 commit comments

Comments
 (0)