Proposed Pull Request Change

title description services ms.subservice ms.date ms.topic ms.service ms.author author
Move your Azure Automation account to another subscription This article tells how to move your Automation account to another subscription. automation process-automation 11/17/2025 how-to azure-automation v-rochak2 RochakSingh-blr
📄 Document Links
GitHub View on GitHub Microsoft Learn View on Microsoft Learn
Content Truncation Detected
The generated rewrite appears to be incomplete.
Original lines: -
Output lines: -
Ratio: -
Raw New Markdown
Generating updated version of doc...
Rendered New Markdown
Generating updated version of doc...
+0 -0
+0 -0
--- title: Move your Azure Automation account to another subscription description: This article tells how to move your Automation account to another subscription. services: automation ms.subservice: process-automation ms.date: 11/17/2025 ms.topic: how-to ms.service: azure-automation ms.author: v-rochak2 author: RochakSingh-blr --- # Move your Azure Automation account to another subscription Azure Automation allows you to move some resources to a new resource group or subscription. You can move resources through the Azure portal, PowerShell, the Azure CLI, or the REST API. To learn more about the process, see [Move resources to a new resource group or subscription](../../azure-resource-manager/management/move-resource-group-and-subscription.md). The Automation account is one of the resources that you can move. In this article, you'll learn to move Automation accounts to another resource or subscription. The high-level steps for moving your Automation account are: 1. Disable your features. 2. Unlink your workspace. 3. Move the Automation account. 4. Re-enable your features. ## Remove features To unlink your workspace from your Automation account, you must remove the feature resources in your workspace: - Change Tracking and Inventory - Update Management - Start/Stop VMs during off-hours 1. In the Azure portal, locate your resource group. 2. Find each feature, and select **Delete** on the **Delete Resources** page. ![Screenshot of deleting feature resources from the Azure portal](../media/move-account/delete-solutions.png) If you prefer, you can delete the resources by using the [Remove-AzResource](/powershell/module/Az.Resources/Remove-AzResource) cmdlet: ```azurepowershell-interactive $workspaceName = <myWorkspaceName> $resourceGroupName = <myResourceGroup> Remove-AzResource -ResourceType 'Microsoft.OperationsManagement/solutions' -ResourceName "ChangeTracking($workspaceName)" -ResourceGroupName $resourceGroupName Remove-AzResource -ResourceType 'Microsoft.OperationsManagement/solutions' -ResourceName "Updates($workspaceName)" -ResourceGroupName $resourceGroupName Remove-AzResource -ResourceType 'Microsoft.OperationsManagement/solutions' -ResourceName "Start-Stop-VM($workspaceName)" -ResourceGroupName $resourceGroupName ``` ### Remove alert rules for Start/Stop VMs during off-hours For Start/Stop VMs during off-hours, you also need to remove the alert rules created by the feature. 1. In the Azure portal, go to your resource group and select **Monitoring** > **Alerts** > **Manage alert rules**. ![Screenshot of Alerts page, showing selection of Manage alert rules](../media/move-account/alert-rules.png) 2. On the Rules page, you should see a list of the alerts configured in that resource group. The feature creates these rules: * AutoStop_VM_Child * ScheduledStartStop_Parent * SequencedStartStop_Parent 3. Select the rules one at a time, and select **Delete** to remove them. ![Screenshot of Rules page, requesting confirmation of deletion for selected rules](../media/move-account/delete-rules.png) > [!NOTE] > If you don't see any alert rules on the Rules page, change the **Status** field to **Disabled** to show disabled alerts. 4. When you remove the alert rules, you must remove the action group created for Start/Stop VMs during off-hours notifications. In the Azure portal, select **Monitor** > **Alerts** > **Manage action groups**. 5. Select **StartStop_VM_Notification**. 6. On the action group page, select **Delete**. ![Screenshot of Action group page](../media/move-account/delete-action-group.png) If you prefer, you can delete your action group by using the [Remove-AzActionGroup](/powershell/module/az.monitor/remove-azactiongroup) cmdlet: ```azurepowershell-interactive Remove-AzActionGroup -ResourceGroupName <myResourceGroup> -Name StartStop_VM_Notification ``` ## Unlink your workspace Now you can unlink your workspace: 1. In the Azure portal, select **Automation account** > **Related Resources** > **Linked workspace**. 2. Select **Unlink workspace** to unlink the workspace from your Automation account. ![Screenshot of Unlinking a workspace from an Automation account](../media/move-account/unlink-workspace.png) ## Move your Automation account You can now move your Automation account and its runbooks. 1. In the Azure portal, browse to the resource group of your Automation account. Select **Move** > **Move to another subscription**. ![Screenshot of Resource group page, move to another subscription](../media/move-account/move-resources.png) 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. > [!NOTE] > The movement of System assigned managed identity, and User-assigned managed identity takes place automatically with the Automation account. ## Enable features You must re-enable the features that you removed before the move: 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**. 2. Repeat step 1 for Update Management. ![Screenshot of Re-enabling features in your moved Automation account](../media/move-account/reenable-solutions.png) 3. Machines that are enabled with your features are visible when you've connected the existing Log Analytics workspace. 4. On the Add Solution page, choose your Log Analytics workspace and Automation account. ![Screenshot of Add Solution menu](../media/move-account/add-solution-vm.png) ## Verify the move When the move is complete, verify that the capabilities listed below are enabled. |Capability|Tests|Troubleshooting| |---|---|---| |Runbooks|A runbook can successfully run and connect to Azure resources.|[Troubleshoot runbooks](../troubleshoot/runbooks.md) |Source control|You can run a manual sync on your source control repository.|[Source control integration](../source-control-integration.md)| |Change tracking and inventory|Verify that you see current inventory data from your machines.|[Troubleshoot change tracking](../troubleshoot/change-tracking.md)| |Update management|Verify that you see your machines and that they're healthy.</br>Run a test software update deployment.|[Troubleshoot update management](../troubleshoot/update-management.md)| |Shared resources|Verify that you see all your shared resources, such as [credentials](../shared-resources/credentials.md) and [variables](../shared-resources/variables.md).| ## Next steps To learn how to move Automation to a new region, see [Move Automation account to another region](../../operational-excellence/relocation-automation.md). To learn about moving resources in Azure, see [Move resources in Azure](../../azure-resource-manager/management/move-support-resources.md).
Success! Branch created successfully. Create Pull Request on GitHub
Error: