Detach VM from DevTest Lab

Phil Marland 1 Reputation point
2020-10-30T17:28:14.533+00:00

I've created a VM using a DevTest Lab, but no longer want to manage it as a DevTest Lab VM.

Primarily, I need to move it to another Azure region, but the main reason is that it is a build server and probably shouldn't have been created as a DTL VM in the first place.

Is there any way to unlink or detach the resulting VM from the DTL, such that if the DTL were removed, the VM would remain?

Alternatively if anyone can advise of a suitable way to move a DTL VM from one region to another then I'd have no reason to unlink them.

Right now, the processes I'm expecting to have to follow to move the VM don't seem to support it being part of a DTL.

Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
278 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 13,036 Reputation points
    2020-10-30T22:40:25.803+00:00

    Hello @Phil Marland - Thanks for reaching out.

    We don't support moving a VM. But we support importing a VM (which is a copy really).

    Here is the doc reference for the same : Import-virtual-machines-from-another-lab

    You cannot de-link the DTL VM so that it would become a Compute VM but you can always use the SIG route to create the compute VM which is similar to the current state of the specific DTL VM.

    I hope this information helps.

    If the above response helped please "Accept as Answer" and "Upvote" the same.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.