You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-local/migrate/migrate-troubleshoot.md
+44-1Lines changed: 44 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Troubleshoot issues when migrating VMs to Azure Local using Azure Migrate
3
3
description: Learn about how to troubleshoot issues when migrating Windows VMs to your Azure Local instance using Azure Migrate (preview).
4
4
author: alkohli
5
5
ms.topic: how-to
6
-
ms.date: 05/14/2025
6
+
ms.date: 06/04/2025
7
7
ms.author: alkohli
8
8
ms.reviewer: alkohli
9
9
ms.custom: linux-related-content
@@ -375,6 +375,49 @@ Complete the following steps:
375
375
1. Verify that the intended IP address isn't currently assigned to another network interface.
376
376
1. Update the logical network configuration as needed to ensure no IP conflicts exist before retrying the migration.
377
377
378
+
### Clean up resources from failed migrations
379
+
380
+
**Root cause**
381
+
382
+
In some cases, migrations to Azure Local may fail during the migration phase, such as during planned failover, not during initial replication. When this occurs, manual cleanup of partially created resources may be required to ensure future migration attempts are successful.
383
+
384
+
**Recommended resolution**
385
+
386
+
To determine where the failure occurred, open the Planned failover job in the Azure Migrate portal. Use the job details to identify whether the failure occurred before or after VM creation on the Azure Local instance.
387
+
388
+
*If the failure occurred before VM creation*
389
+
390
+
Task failures listed above the red line (above the **Preparing protected entities** task) indicate that no target VM was created. No cleanup is required and you can retry migration directly.
391
+
392
+
:::image type="content" source="./media/migrate-troubleshoot/before-vm-creation.png" alt-text="Screenshot of Planned failover page before creation." lightbox="./media/migrate-troubleshoot/before-vm-creation.png":::
393
+
394
+
*If the failure occurred during or after VM creation*
395
+
396
+
Task failures listed below the red line (**Preparing protected entities** task and below) indicate that a target VM was partially or fully created. Manual cleanup is required before retrying migration.
397
+
398
+
:::image type="content" source="./media/migrate-troubleshoot/after-vm-creation.png" alt-text="Screenshot of Planned failover page after creation." lightbox="./media/migrate-troubleshoot/after-vm-creation.png":::
399
+
400
+
1. In Azure portal, navigate to the target Azure Local instance.
401
+
402
+
1. Locate and verify if a VM corresponding to the failed migration exists.
1. Connect to the Azure Local instance directly (via Hyper-V Manager) and confirm that the associated VM was also removed from the local Hyper-V host. If it wasn't removed, manually delete the VM resource.
409
+
410
+
1. Don't delete any of the following resources that may have been created:
411
+
412
+
- Migrated (target) disk.
413
+
414
+
- Seed disk.
415
+
416
+
- Network interfaces.
417
+
418
+
These resources will be reused automatically by Azure Migrate during subsequent migration attempts.
419
+
420
+
378
421
## Next steps
379
422
380
423
Depending upon the phase of migration you are in, you may need to review one of the following articles to troubleshoot issues:
0 commit comments