Unable to create new lab in Azure Lab Services

Joe Harrison 6 Reputation points
2020-03-22T23:09:29.517+00:00

I tried all of yesterday and today to create a classroom lab. I tried with Windows Server 2019, Windows 10 1903, Windows 10 1909, and Ubuntu Linux 19.10. Every single time it fails on Creating Template Virtual Machine and all I can do at that point is delete the lab and try to create a new one. Basically, what shows is this:
Cannot load template
Your template is in a failed state. Please try to create a new lab or contact your lab account administrator for assistance.

Then back in the Azure console, looking at the new lab's activity log, I get the following error message:

Operation name: Get the pricing and availability for the lab
Time stamp: Sun Mar 22 2020 12:59:46 GMT-0500 (Central Daylight Time)
Event initiated by: Azure Lab Services
Error code: ResourceIsNotInValidState
Message: Resource 'default' is not in a valid state 'Failed' for operation 'getLabPricingAndAvailability'.

I have tried this with my MSDN subscription, and also with my Pay-As-You-Go subscription. Same result either way. The process seems like it should be fairly straightforward. What am I missing???

JeHarry

Azure Lab Services
Azure Lab Services
An Azure service that is used to set up labs for classrooms, trials, development and testing, and other scenarios.
278 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. BhargaviAnnadevara-MSFT 5,446 Reputation points
    2020-04-01T11:04:39.653+00:00

    @Joseph Harrison

    As deduced from investigating internal telemetry, it turns out that the issue was with the Address range specifying fewer potential addresses than the Lab actually required, resulting from overlapping address spaces.

    Creating a new lab account with an appropriate address range fixed the issue.

    I've worked up a PR and added information about the Address Ranges field so it helps readers be aware of and remember this when configuring VNet peering for their Lab Account.

    6963-download.png

    Let us know if there is anything else related to this thread that we can assist you with, else please feel free to mark and close this out. Thank you for your cooperation and understanding!

    1 person found this answer helpful.
    0 comments No comments

  2. BhargaviAnnadevara-MSFT 5,446 Reputation points
    2020-03-23T07:26:54.35+00:00

    Hello JeHarry,

    We're really sorry for the experience you've had.

    Unfortunately, I haven't been able to reproduce the said error. Here are the steps I tried:

    • Created a Lab Account from the Azure Portal.
    • Added a user to the Lab Creator role.
    • Created two new labs on https://labs.azure.com/ using Windows 10 Pro, Version 1903 and Windows Server 2019 Datacenter images
    • Each operation took about 20 minutes. I was also able to connect to them via RDP.

    However, I have reached out to the Product Group to help with further investigation and shall keep you posted on my findings.

    Thanks for your patience.