Questions tagged [azure-devtest-labs]

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.

80 questions
0
votes
2 answers

How to apply-artifact "Run PowerShell" for azure devtest lab VM by Azure CLI?

I have a PowerShell script and would like to use az lab vm -apply-artifacts to add the artifacts to VM. Could anyone please give me an example artifact Json file and how to call it from Azure CLI? Thanks a lot!
Trung.Tr
  • 3
  • 1
0
votes
0 answers

How to create a windows x86 VM in DevTest Lab?

I tried to create a windows x86 VM in Azure, I followed this to prepare a VHD and upload it to Azure. Then I created a VM by this image in DevTest Lab, but it failed. Failure information: "statusMessage": …
yao123
  • 1
0
votes
1 answer

Azure DevTest Lab VM doesn't show up while configuring backup in Azure Recovery Vault

I've created a VM in an Azure DevTest Lab that - sits in a virtual network that uses a network security group with inbound and outbound rules. This enables only a selected set of users to be able to RDP to this VM. location is Australia…
0
votes
2 answers

Create Azure VM with artifact switch

I'm trying to create a VM via the CLI and add an artifact from the public repo in a dev test lab. Here is my script: az lab vm create --resource-group TestRG --lab-name TestLab --name 'ScriptVM' --image "Windows 10 Pro, Version 1809" --image-type…
DasDave
  • 801
  • 1
  • 9
  • 28
0
votes
1 answer

Is there an Powershell/Azure-CLI or even a portal option to copy a formula to creare VMs in Azure?

I have two azure subscriptions and I have a formula in one of them who is inside a Azure DevTest Labs I have searched for it on the documentation but I couldn't find anything what I found was scripts to copy VMs, however, that is not what I need…
Brian
  • 15
  • 7
0
votes
1 answer

Azure VM shutdown schedule via nodejs SDK

I’m writing an Azure Function (nodejs) that will create a VM shutdown schedule on VMs that don’t have one. I am having an issue however listing schedules. All of the list* methods of the Schedules interface require the labName parameter, however, I…
David O'Brien
  • 813
  • 1
  • 9
  • 18
0
votes
1 answer

Dev Test Lab Artifact files naming convention

I am trying to create a new custom artefact for my dev test lab, and I am following this documentation. What is unclear to me is the naming conventions used. If I go by the naming convention used in the example in the above link: the folder name…
Pranav Raj
  • 781
  • 1
  • 8
  • 19
0
votes
1 answer

Unable login when creating VM from non-deprovisioned Linux VM image in DevTest Lab

I tried to create a custom image from a VM without doing deprovisioned artifact. After new VM been created from the custom image. The VM is unable to login with original password. Is it a bug? Here is the steps to reproduce the problem: Create a…
Will Huang
  • 2,955
  • 2
  • 37
  • 90
0
votes
1 answer

DNS problem when creating VM from deprovisioned Linux VM image in DevTest Lab

I tried many times. It looks like a bug in Azure DevTest Labs. Here is the steps to reproduce the problem: Create a VM from Ubuntu Linux 18.04 LTS Create custom image from this VM with Run deprovision on virtual machine.. Create a new VM from this…
Will Huang
  • 2,955
  • 2
  • 37
  • 90
0
votes
1 answer

creating ServiceFabric-LabCluster in devtest lab using cicd pipeline

I am trying to create service fabric cluster in azure devtest lab for creating test environment of my service fabric application. Can someone please provide information on creating ServiceFabric-LabCluster in devtest lab using cicd pipeline
Pankaj kumar jha
  • 133
  • 2
  • 13
0
votes
1 answer

The 'Run PowerShell' artifact failed to install with CommandNotFoundException

I'm trying to download and run a PowerShell script (from blob storage) using the Run Powershell artifact on an existing VM in Azure DevTest labs. I get the following error and I assume I am doing something stupid. & : The term './script.ps1' is not…
drs9222
  • 4,448
  • 3
  • 33
  • 41
0
votes
1 answer

TFS 2017 on premise with jmeter and Azure DevTestLabs

Sorry for my verbosity, it is my first ever question here. We have an On Premise instance of TFS 2017, run our builds and releases through that. Setting up Functional test automation as a set of release steps. We want to also run automated…
0
votes
0 answers

Connectivity Issue

We are testing out DevTest Labs and having some issues related to connectivity. Our set up is a CentOS VM with shared IP with 3 more VMs. We installed MongoDB with port 37017 and trying to connect to it remotely. We checked and there is no firewall…
0
votes
1 answer

Azure DevTest Lab failing on creation

I'm trying to create a devtest-lab in azure but it keeps failing I tried another region (West US 2) and that didn't help either:
Batman
  • 5,563
  • 18
  • 79
  • 155
0
votes
1 answer

Using a local ARM Template with New-AzureRMResource (Microsoft.DevTestLab/labs/users/environments)

I am attempting to deploy a Microsoft.DevTestLab/labs/users/environments resource which will contain a Microsoft.Network/virtualNetworks resource and a Microsoft.Compute/virtualMachineScaleSets resource. I have those resources defined in an ARM…