migrate vm machines

Hasan Özkaya 0 Reputation points
2025-11-12T12:09:37.03+00:00

Destination subs Id: <PII Removed>

(all resource groups which i mentioned below will move here)

Move resource group name: vsenterprice

Resource group active subs Id: <PII Removed>


Move resource group name: yeni_partner_hesabi

Resource group active subs Id: <PII Removed>


Move resource group name: mpn

Resource group active subs Id: <PII Removed>

Also these are the machines which have websites online. So while moving or after that everything should be the same settings. like cname, dns, ip ext.

Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Q&A Assist
    2025-11-12T12:09:58.1033333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To migrate your virtual machines (VMs) to a new subscription in Azure, you need to follow these steps:

    1. Ensure Active Subscriptions: Verify that both the source subscription (<PII Removed>) and the destination subscription (<PII Removed>) are active.
    2. Same Microsoft Entra Tenant: Confirm that both subscriptions are under the same Microsoft Entra tenant. You can check this using Azure CLI or PowerShell to ensure both subscriptions have the same tenant ID.
    3. Resource Group and Dependencies: Make sure that the resources you want to move (in this case, the VMs) are in the same resource group (vsenterprice) and that any dependent resources are also included in the move operation. For example, if your VMs have managed disks, you need to move the VMs and their associated disks together.
    4. Supported Resource Types: Verify that the VMs you want to move support the move operation. You can find a list of supported resource types for move operations in Azure documentation.
    5. Using Azure Resource Mover: To initiate the move, you can use the Azure Resource Mover service. In the Azure portal, search for "resource mover" and follow the steps to select your source and destination subscriptions and regions, then select the resources to move.
    6. Review and Proceed: After selecting the resources, review the settings and proceed with the move.

    By following these guidelines, you should be able to successfully migrate your VMs to the new subscription.


    References:

    0 comments No comments

  2. Siva shunmugam Nadessin 3,255 Reputation points Microsoft External Staff Moderator
    2025-11-12T15:09:16.19+00:00

    Hello Hasan Özkaya,

    It looks like you're trying to migrate virtual machines (VMs) and resource groups between Azure subscriptions, while ensuring that the settings for your websites remain intact, such as CNAME, DNS, and external IPs. Here’s a step-by-step approach to help guide you through the migration process effectively.

    Here’s what you can do to migrate your VMs and resource groups:

    Prepare Your Environment:

    • Ensure all VMs are properly shut down before migration. This can prevent issues during the process.

    Use Azure Storage Explorer:

    • Leverage Azure Storage Explorer to copy the VM disks from the source resource group to the target resource group.
    • Navigate to the storage account containing the VM disks, select the disks you wish to move, and use the Copy function.

    Create New VMs:

    • After copying the disks, create new VMs in the destination subscription using the copied disks.
    • Make sure to configure the new VMs to match the settings of the original ones to maintain consistency.

    DNS and IP Configuration:

    • Verify and ensure that all DNS records (CNAME and others) are updated to point to the new IPs if they change during the migration.
    • If you're using static IP addresses, make sure they’re re-assigned correctly in the new environment.

    Test Everything:

    • Before decommissioning the old VMs, conduct thorough testing to validate that everything is functioning properly in the new setup.

    Additional Considerations:

    • Install IaaS Agent Extension: Upon migration to a new resource group, a fresh installation of the IaaS Agent Extension may be required on the destination VMs for optimal performance.
    • SQL Database Migration: If your websites depend on SQL databases, ensure proper migration of databases as detailed in the resources listed below.

    Reference Links for Further Guidance:

    By following these guidelines, you should be able to successfully migrate your VMs and resource groups while keeping everything operational. Hope this helps, and feel free to ask if you have any more questions!

     

     


  3. Hasan Özkaya 0 Reputation points
    2025-11-14T10:56:08.8666667+00:00

    Hello, i moved all vm's to my subs by contact support. thanks

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.