Hay,
I have a problem when creating a custom Image in Microsoft Azure. I followed the steps in the Azure portal but nothing worked. I also worked on many workarounds from other blogs and forums but nothing works. Either I can't RDP into the virtual machine or the machine is in an endless state of provisioning (>2h).
Here are the steps I followed. Maybe someone can help me. Thanks in advance :)
Steps like in Azure Portal
1. New VM in Hyper-V
2. Installed Windows Server 2012 R2 with MSDN Image
3. Sysprepped the VM (sysprep.exe /generalize /oobe /shutdown)
4. Converted vhdx to vhd
5. Uploaded VHD to Azure with Azure Powershell
6. Created an Image in Microsoft Azure
7. Created VM with this Image
8. Wait for Provisioning end but nothing happens
9. RDP doesn't function while in provisioning state
Steps like I other articles and blogs
1. New VM in Hyper-V
2. Installed Windows Server 2012 R2 with MSDN Image
3. Enabled RDP-Role for Administrator and test
4. Shutdown of the virtual machine
5. Converted vhdx to vhd
6. Uploaded VHD to Azure with Azure Powershell
7. Made a new VM Disk with the VHD
8. Created VM with this disk
9. Provisioning ends but Azure Extensions can't be installed
10. Can't RDP into virtual machine
I also can't connect via another virtual machine in the same network. The RDP Certificate Thumbprint is all the time like "-" so I think the Virtual Machine can't connect to the operating system in the background because when I deploy a batch with the sysprep command as autostart the virtual machine turns off after a few minutes. So I think the virtual machine is working in the background.
I hope you can help me :)