For questions about Microsoft Azure DevTest Labs, for provisioning self-service dev/test environments on Azure. DevTest Labs has tools for setting policies on the kinds and sizes of VMs that can be created, for customising them with additional installation scripts, and for controlling costs and user access to the resulting dev/test environments.
Questions tagged [azure-devtest-labs]
80 questions
0
votes
1 answer
Catching az lab failures
Need a way to catch az lab * failures.
One example where I need to do this is when I am creating a lab using az lab vm create. This is failing at times (probably because of unavailability of resources) and I want to catch it right away and not…

Pranav Raj
- 781
- 1
- 8
- 19
0
votes
1 answer
DevTestLab: Running sysprep artifact not deallocating the VM
I am running sysprep artifact on my VM through my code -
az lab vm apply-artifacts ...
It is showing up as succeeded when I check it from the portal.
When I check more details about the artifact, it doesn't show me any error. The only extension…

Pranav Raj
- 781
- 1
- 8
- 19
0
votes
0 answers
DevTest Labs Virtual Machine Auto-start
Is there a way to enable the Auto-start feature on a DevTest Labs virtual machine as part of the creation i.e. can it be added to the VM's ARM template?
I enable this manually via the Azure portal currently, but I'm finding that it gets disabled…

smd
- 352
- 3
- 15
0
votes
1 answer
Azure DevTestLab Artifacts - Folder not accessible
I created an artifact - "TempArtifact". I added a sub-folder inside it called scripts, which contains all scripts which i will call from my main script. But it looks like this folder is not accessible.
When I add a "ls" command in my main script,…

Pranav Raj
- 781
- 1
- 8
- 19
0
votes
1 answer
Remove-AzureRmResourceGroupDeployment not removing the azure dev test lab
I created a dev test lab from powershell using the command :
New-AzureRmResourceGroupDeployment -Name MyLab -ResourceGroupName MyLabRG -TemplateUri…

Pranav Raj
- 781
- 1
- 8
- 19
0
votes
2 answers
Creating a custom image using python Azure SDK in DevTestLabs
I am trying to create a custom image from a VHD which I uploaded to the devtest lab.
I am using the following code to do that:
from azure.mgmt.storage import StorageManagementClient
....
credentials = ServicePrincipalCredentials( client_id = '##',…

Pranav Raj
- 781
- 1
- 8
- 19
0
votes
1 answer
Download the VHD after running sysprep on Azure in DevTest labs
I ran sysprep artifact on my VM in DevTest lab using az lab vm apply-artifacts
command.
After that, when I run az lab vm show, I get back a computeId, which contains the resource id
compute ID looks like : "computeId":…

Pranav Raj
- 781
- 1
- 8
- 19
0
votes
1 answer
Azure DevTest lab VM artifacts
I have created a lab VM and have tried to apply some custom artifacts. But I have seen that out of the 3 artifacts, one of them has failed (1st screenshot below). How do I rerun the failed artifact for the VM from the portal? I tried using the…

mantadt
- 101
- 1
- 15
0
votes
1 answer
How do I set Automatic Updates on Azure DevTest Lab VM
I have a Windows VM set up in a Azure DevTest lab running Windows Server 2016, based on the Windows Server 2016 Datacenter Gallery Image. This is serving as a Custom Build Agent for VSTS.
I cannot find how to set it to automatically apply Windows…

John Seghers
- 3
- 2
0
votes
1 answer
Captured DevTest Labs is not working
I have pressed the capture button on a VM in dev test labs. Now it looks like I have a generalized VM that looks useless to me. For example, I can not start the VM anymore. It just displays the following error message.
Failed to start virtual…

Rıfat Erdem Sahin
- 1,738
- 4
- 29
- 47
0
votes
1 answer
Azure Dev Test labs assigned user can not start the machine
The start button is not activated for the user even I gave him the owner role + contributor role. I can start it as an admin but he can't

Rıfat Erdem Sahin
- 1,738
- 4
- 29
- 47
0
votes
0 answers
Azure Devtest Lab VM is failing to download artifacts from VSTS
When creating a Azure DevTest lab VM, I am doing the following
Selected a ""Windows Server R2 Datacenter " Image
In artifacts I added
i. Firefox Browser to install
ii. Download VSTS Drop and Run Script (created and used a Personal secure Token…

Bibek Acharya
- 1
- 1
0
votes
1 answer
how to create custom image from blob storage hvd in azure dev test labs?
When I try creating custom image using arm template
https://github.com/Microsoft/azure-docs/blob/master/articles/devtest-lab/devtest-lab-create-custom-image-from-vhd-using-powershell.md
I am getting
{
"error": {
"code":…
0
votes
3 answers
Get private IP of VM in Azure Dev Test Lab using Powershell
Just now I started with Azure DevTest Lab. I created a VM in lab using a json template. I want to use the public IP of the VM using powershell or may be I would like to return the same using template, if I can.
The challenge here is as per DTL…

Aatif Akhter
- 2,126
- 1
- 25
- 46
0
votes
1 answer
Throttling/errors when attaching data disks to VM in Azure?
I am trying to performance test each of the different size tiers (A, D, DS, F...etc) of virtual machines in Azure devtest labs. In doing so, I need to attach the maximum number of data disks that each size will accept, however I keep getting two…

J. Ray
- 3
- 2