Running a Test Migration

Start course
1h 34m

With the push to the cloud accelerating, it’s critical to understand how to migrate on-premises servers to Microsoft Azure. As an IT professional, you are likely to encounter situations where you need to plan and execute such migrations.

This course provides an overview of the Azure Migrate offering and the various Azure Migrate integrations that are available, before moving on to assessing and migrating VMware virtual machines, Hyper-V machines, and physical machines.

After preparing for migration, this course will walk you through a guided demonstration of an actual assessment and migration of a VMware virtual machine to Microsoft Azure. By the time you finish this course, you should have a full understanding of the Azure Migrate Service and the different options that are available for using it to migrate servers to Microsoft Azure.

If you have any feedback, comments, or questions about this course, please write to us at

Learning Objectives

  • Assess and migrate VMware virtual machines, Hyper-V machines, and physical machines
  • Set up and prepare Azure and VMware for Azure Migrate
  • Learn about the Azure Migrate Server Migration tool, appliance VMs, and continuous discovery
  • Understand all the steps necessary to carry out the migration of a VMware virtual machine to Microsoft Azure

Intended Audience

  • IT professionals interested in becoming Azure cloud architects or preparing for Microsoft’s Azure certification exams
  • IT professionals tasked with managing and supporting Azure virtual machines


  • General knowledge of IT infrastructure
  • General knowledge of the Azure environment and VMware



Hi everyone and welcome back. I'm glad to see you're still with me.

Once my Delta replication begins, I can run a Test Migration, and we can see that here for Migration phase, Test migration pending. This is always a good idea before attempting a full migration to Azure. As a matter of fact, Microsoft actually recommends doing this at least once for each VM that you plan to migrate.

Running a test migration will allow you to ensure that a real migration is going to work as expected, without impacting the on-prem machines. During a test migration, an Azure VM is created using the replicated data. You can then use the replicated test Azure VM to validate the migration and perform any kind of application testing that you need to do.

I should note that this test migration should be done using an isolated test network in Azure. Generally speaking in a production environment, you don't want your on-prem production machine running while your replicated machine is also running on the same network.

So what we're going to do here is perform a test migration. To make that happen from this replicating machine screen, what I can do is click the ellipses over here and select Test migration. In this test migration screen here I need to tell Azure which VNET should host the Azure VM after the migration.

Now like I mentioned previously, when you do this in a real environment you should use an isolated non-production VNET. So I'll just go ahead and select my Azure VNET here. And at this point, I can click Test Migration to begin the test migration job.

Now what I'll do here is refresh the screen and we can see the test migration is in progress. So we'll let this test migration complete and then we'll come back and check on it. Once it completes, I'll be able to view the migrated Azure VM in Virtual Machines in my Azure portal. And I'll show you that as soon as this completes.

While we're waiting, if we click on Test migration in progress here, we can actually see the different properties of the migration. We can see the Prerequisites check, the Preparation, the Creation of the test machine, and the Start up of the test machine. And we can see the status of each of these steps. So right now we've only completed the prerequisites check, and the preparation for test is now in progress. So I'm going to pause the video here and when I come back I'll show you the VM in our Azure portal as it would normally look like any other VM. 

So our test migration status has now gone to Test clean up pending. So what this means is the test migration has completed. If we click on our APP01 server here, we can see all of the details regarding our migration status. We can see that we have a Healthy status with no configuration issues, and we can see when it was last synchronized, and when that last status was reported.

If we bounce to our Resource group and Refresh here, we can see APP01 test. The test suffix is appended to the VM name to let us know that this is our test machine. And then from here I can open up my VM and do any kind of testing of my app or functionality of the migrated VM. And then what I'll do is I'll switch back over to my Azure migrate, and when I'm done doing my testing with my application, or anything that the migrated VM would be doing, I can Clean up test migration link here, and just make some notes here, test successful.

And then what I'll do is I'll check the box indicating that testing is complete and that we want to delete the Test virtual machine, and then we'll clean up. And then up in the right corner here we get a status that the test migration is being cleaned up. If we bounce back out to the overall status page and do a refresh, we can that Test clean up is now in progress. Now what this will do is clean up any of the test resources that were deployed during the test migration.

In the next lesson, we'll perform the final migration of APP01.

About the Author
Thomas Mitchell
Learning Paths

Tom is a 25+ year veteran of the IT industry, having worked in environments as large as 40k seats and as small as 50 seats. Throughout the course of a long an interesting career, he has built an in-depth skillset that spans numerous IT disciplines. Tom has designed and architected small, large, and global IT solutions.

In addition to the Cloud Platform and Infrastructure MCSE certification, Tom also carries several other Microsoft certifications. His ability to see things from a strategic perspective allows Tom to architect solutions that closely align with business needs.

In his spare time, Tom enjoys camping, fishing, and playing poker.