Skip to content

Commit a90d28a

Browse files
Merge pull request #239403 from SnehaSudhirG/26May-RemoveRenewRunAs
Removed a section and added note
2 parents 9a3aa29 + a3faea7 commit a90d28a

File tree

2 files changed

+8
-28
lines changed

2 files changed

+8
-28
lines changed

articles/automation/how-to/move-account.md

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Move your Azure Automation account to another subscription
33
description: This article tells how to move your Automation account to another subscription.
44
services: automation
55
ms.subservice: process-automation
6-
ms.date: 01/07/2021
6+
ms.date: 05/26/2023
77
ms.topic: conceptual
88
---
99

@@ -16,8 +16,7 @@ The Automation account is one of the resources that you can move. In this articl
1616
1. Disable your features.
1717
2. Unlink your workspace.
1818
3. Move the Automation account.
19-
4. Delete and re-create the Run As accounts.
20-
5. Re-enable your features.
19+
4. Re-enable your features.
2120

2221
## Remove features
2322

@@ -97,43 +96,25 @@ You can now move your Automation account and its runbooks.
9796

9897
2. Select the resources in your resource group that you want to move. Ensure that you include your Automation account, runbooks, and Log Analytics workspace resources.
9998

100-
## Re-create Run As accounts
101-
102-
[Run As accounts](../automation-security-overview.md#run-as-accounts) create a service principal in Azure Active Directory to authenticate with Azure resources. When you change subscriptions, the Automation account no longer uses the existing Run As account. To re-create the Run As accounts:
103-
104-
1. Go to your Automation account in the new subscription, and select **Run as accounts** under **Account Settings**. You'll see that the Run As accounts show as incomplete now.
105-
106-
![Screenshot of Run As accounts, showing incomplete](../media/move-account/run-as-accounts.png)
107-
108-
2. Delete the Run As accounts, one at a time, by selecting **Delete** on the **Properties** page.
109-
110-
> [!NOTE]
111-
> If you don't have permissions to create or view the Run As accounts, you see the following message: `You do not have permissions to create an Azure Run As account (service principal) and grant the Contributor role to the service principal.` For more information, see [Permissions required to configure Run As accounts](../automation-security-overview.md#permissions).
112-
113-
3. After you've deleted the Run As accounts, select **Create** under **Azure Run As account**.
114-
115-
4. On the Add Azure Run As account page, select **Create** to create the Run As account and service principal.
116-
117-
5. Repeat the steps above with the Azure Classic Run As account.
99+
> [!NOTE]
100+
> The movement of System assigned managed identity, and User-assigned managed identity takes place automatically with the Automation account.
118101
119102
## Enable features
120103

121-
After you re-create the Run As accounts, you must re-enable the features that you removed before the move:
104+
You must re-enable the features that you removed before the move:
122105

123106
1. To turn on Change Tracking and Inventory, select **Change Tracking and Inventory** in your Automation account. Choose the Log Analytics workspace that you moved over, and select **Enable**.
124107

125108
2. Repeat step 1 for Update Management.
126109

127110
![Screenshot of Re-enabling features in your moved Automation account](../media/move-account/reenable-solutions.png)
128111

129-
3. Machines that are enabled with your features are visible when you've connected the existing Log Analytics workspace. To turn on the Start/Stop VMs during off-hours feature, you must re-enable it. Under **Related Resources**, select **Start/Stop VMs** > **Learn more about and enable the solution** > **Create** to start the deployment.
112+
3. Machines that are enabled with your features are visible when you've connected the existing Log Analytics workspace.
130113

131114
4. On the Add Solution page, choose your Log Analytics workspace and Automation account.
132115

133116
![Screenshot of Add Solution menu](../media/move-account/add-solution-vm.png)
134117

135-
5. Configure the feature as described in [Start/Stop VMs during off-hours overview](../automation-solution-vm-management.md).
136-
137118
## Verify the move
138119

139120
When the move is complete, verify that the capabilities listed below are enabled.

articles/azure-resource-manager/management/move-support-resources.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,8 @@ Before starting your move operation, review the [checklist](./move-resource-grou
161161
## Microsoft.Automation
162162

163163
> [!IMPORTANT]
164-
> Runbooks must exist in the same resource group as the Automation Account.
165-
>
166-
> For information, see [Move your Azure Automation account to another subscription](../../automation/how-to/move-account.md?toc=/azure/azure-resource-manager/toc.json).
164+
> Runbooks must exist in the same resource group as the Automation Account.
165+
> The movement of System assigned managed identity, and User-assigned managed identity takes place automatically with the Automation account. For information, see [Move your Azure Automation account to another subscription](../../automation/how-to/move-account.md?toc=/azure/azure-resource-manager/toc.json).
167166
168167
> [!div class="mx-tableFixed"]
169168
> | Resource type | Resource group | Subscription | Region move |

0 commit comments

Comments
 (0)