The following forum(s) have migrated to Microsoft Q&A (Preview): Azure Virtual Machines!
Visit Microsoft Q&A (Preview) to post new questions.

Learn More

 locked
Is it possible to upload (VHD)on-premise VM with Active Directory installed on it? RRS feed

  • Question

  • Is it possible to upload (VHD)on-premise VM with Active Directory installed on it? If, yes, kindly share the steps
    Monday, August 8, 2016 2:31 PM

All replies

  • Hello,

    Thank you for posting on the Azure forums!

    Yes, you can do so. You have to get storage account name and key (or create SA if it doesn't exist). Then you have to create image that you will use in VM deployment.

     Here is link for your reference :

    https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-create-upload-vhd-windows-server/

    Hope this helps.

    Regards,
    Monika
    -----------------------------------------------------------------------------------------------------------------------
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer so that other customers can benefit from it.

    Tuesday, August 9, 2016 10:48 AM
  • I am using ARM model. Do you have any reference model for ARM
    Wednesday, August 10, 2016 4:02 AM
  • Fro creation of ARM VM from uploaded VHD. Can follow below steps.

    > Upload the VHD to Azure RM Storage account inside container

    > Then Create a VM from that VHD directly (no need of any sysprep).

    you can use below template to create a VM.

    https://azure.microsoft.com/en-us/documentation/templates/201-vm-from-specialized-vhd/

    thank you.


    <p><span lang="EN-US" style="color:#0070c0; font-family:'Segoe UI','sans-serif'; font-size:10pt">Dharmesh Solanki</span></p> <span lang="EN-US" style="color:#0070c0; font-family:'Segoe UI','sans-serif'; font-size:10pt">Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.</span>

    Thursday, August 11, 2016 5:56 AM
  • Thank You Dharmesh

    Is it possible to directly upload on-premise VM-VHD to  Azure without being generalized (Sysprep). Currently I have VMWare running on premise and wanted to convert VMDK to VHD. Can you suggest me any Microsoft converter to convert VMDK to VHD.

    Thursday, August 11, 2016 12:56 PM
  • Yes, it's possible to directly upload the VHD to Azure Storage account for both Classic and ARM mode.

    And for deploying a VM, we can only create ARM VM from direct VHD.

    For Classic VM, we need to convert VHD to Disk.

    The Azure storage only accept .VHD format, please take note of it.

    below is the link\conversion kit:

    How to Convert a VMWare VMDK to Hyper-V VHD

    https://blogs.msdn.microsoft.com/timomta/2015/06/11/how-to-convert-a-vmware-vmdk-to-hyper-v-vhd/

    thank you.


    Dharmesh

    Friday, August 12, 2016 1:02 AM