Skip to content

Commit 4839cae

Browse files
Merge pull request #227084 from SnehaSudhirG/11Feb-MigrateMIDocUpdate
Added about classic run as account
2 parents 0c7b7b8 + 9e17377 commit 4839cae

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Migrate from a Run As account to a managed identity
33
description: This article describes how to migrate from a Run As account to a managed identity in Azure Automation.
44
services: automation
55
ms.subservice: process-automation
6-
ms.date: 10/17/2022
6+
ms.date: 02/11/2023
77
ms.topic: conceptual
88
ms.custom: devx-track-azurepowershell
99
---
@@ -23,7 +23,7 @@ A managed identity can be [system assigned](enable-managed-identity-for-automati
2323

2424
## Prerequisites
2525

26-
Before you migrate from a Run As account to a managed identity:
26+
Before you migrate from a Run As account or Classic Run As account to a managed identity:
2727

2828
1. Create a [system-assigned](enable-managed-identity-for-automation.md) or [user-assigned](add-user-assigned-identity.md) managed identity, or create both types. To learn more about the differences between them, see [Managed identity types](../active-directory/managed-identities-azure-resources/overview.md#managed-identity-types).
2929

@@ -38,9 +38,11 @@ Before you migrate from a Run As account to a managed identity:
3838

3939
For example, if the Automation account is required only to start or stop an Azure VM, then the permissions assigned to the Run As account need to be only for starting or stopping the VM. Similarly, assign read-only permissions if a runbook is reading from Azure Blob Storage. For more information, see [Azure Automation security guidelines](../automation/automation-security-guidelines.md#authentication-certificate-and-identities).
4040

41+
1. If you are using Classic Run As accounts, ensure that you have [migrated](../virtual-machines/classic-vm-deprecation.md) resources deployed through classic deployment model to Azure Resource Manager.
42+
4143
## Migrate from an Automation Run As account to a managed identity
4244

43-
To migrate from an Automation Run As account to a managed identity for your runbook authentication, follow these steps:
45+
To migrate from an Automation Run As account or Classic Run As account to a managed identity for your runbook authentication, follow these steps:
4446

4547
1. Change the runbook code to use a managed identity.
4648

0 commit comments

Comments
 (0)