I have an Azure VM with a data disk attached and mounted in a folder in c:\ - the VM is bricked after uninstalling .NET 4.5 (don't do that on 2012 R2).
I have created a new VM. Now how do I detach my data disk and reattach it to the new VM?
The detach disk option for the VM only lists its primary C: system disk.
Alexus pointed towards a link with the solution, though for StackOverflow, we should always pull out the salient points and post them here.
You can use following guide to do that:
Recover Azure VM by attaching OS disk to another Azure VM - Microsoft Azure Support Team Blog - Site Home - MSDN Blogs