Preparing VMs for 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



Azure Migrate requires some VM changes to ensure that VMs can be migrated. If we don't address these requirements now, we could wind up with a VM in Azure that won't boot.

The things that we're most concerned about here in our environment are that the volumes on the eventually-replicated Azure VM use the same drive letter assignments as the on-prem VM. We also want to make sure that Windows Firewall isn't blocking RDP connections.

So to ensure that the Windows volumes on the eventual Azure VM use the same drive letters as the on-prem VM, I need to configure the SAN policy on the on-prem VM as Online All. To do this, I'm going to switch over to my on-prem APP01 server. And what I've done here is opened up a command prompt on it.

What I need to do here to set my SAN policy is type diskpart at the command prompt. Now, once I'm in diskpart, I need to set SAN policy equal to online all. So it's simple enough. SAN POLICY-OnlineAll. And we can see here diskpart tells me that it was successfully changed.

Now what this actually does is ensure that when the server comes up in the Azure environment that all of the disks are mounted, and they're mounted with the same drive letters that they have right now.

Now, I also want to make sure that remote desktop is enabled and that Windows Firewall isn't going to block RDP access. So what I'll do here is I'll minimize this, go to local server here, and we can see remote desktop is currently disabled. So what we'll do here is we'll enable it. And then from a firewall perspective, you can do one of two things: You can configure Firewall to allow RDP or what I'm going to do here is disable Windows Firewall. I know the security guys out there are going to have a bird by me telling you this. But we're going to turn this off for simplicity's sake. Now, this is going to ensure that I don't have any RDP issues trying to RDP to my VM, and then having those issues come over into Azure.

So, at this point, I can begin replicating my APP01 server into Azure. And we'll do that in the next lesson.

About the Author
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.