Skip to content

Commit d632156

Browse files
authored
Merge pull request #229390 from SnehaSudhirG/03Mar-MigrateRunAstoMI
added new info in edit graphical runbook to use MI
2 parents 1e99a69 + bff0b72 commit d632156

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed
95.4 KB
Loading
95.4 KB
Loading

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Migrate from a Run As account to Managed identities
33
description: This article describes how to migrate from a Run As account to managed identities in Azure Automation.
44
services: automation
55
ms.subservice: process-automation
6-
ms.date: 02/15/2023
6+
ms.date: 03/03/2023
77
ms.topic: conceptual
88
ms.custom: devx-track-azurepowershell
99
---
@@ -194,7 +194,7 @@ The following steps include an example to show how a graphical runbook that uses
194194

195195
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.
196196

197-
1. Add identity support for use in the runbook by using the `Connect-AzAccount` activity from the `Az.Accounts` cmdlet that uses the PowerShell code to connect to the managed identity.
197+
1. Add identity support for use in the runbook by adding a new code activity as mentioned in the following step, which leverages the `Connect-AzAccount` cmdlet to connect to the Managed Identity.
198198

199199
:::image type="content" source="./media/migrate-run-as-account-managed-identity/add-functionality-inline.png" alt-text="Screenshot of adding functionality to a graphical runbook." lightbox="./media/migrate-run-as-account-managed-identity/add-functionality-expanded.png":::
200200

@@ -216,6 +216,8 @@ For example, in the runbook **Start Azure V2 VMs** in the runbook gallery, you m
216216

217217
For more information, see the sample runbook name **AzureAutomationTutorialWithIdentityGraphical** that's created with the Automation account.
218218

219+
> [!NOTE]
220+
> 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](https://learn.microsoft.com/powershell/azure/migrate-from-azurerm-to-az?view=azps-9.4.0).
219221
220222
## Next steps
221223

0 commit comments

Comments
 (0)