Mar 11 2023 05:36 AM
Mar 11 2023 05:36 AM
One goal but two issues. I've created a template and published it with a VM pool of three VMs in order to test the Template before finally publishing it for the class. I am now ready to do the final publication, but I am unable to increase the capacity of the lab to 25 VMs, or even increase it by 1. I get the error message "An error occurred while updating the lab capacity."
My second thought was to export it to the Azure Compute Gallery, and then just delete the old lab and create a new one with the appropriate number of VMs, but after selecting the Export option and waiting a day, I don't see where I can select the Template. It doesn't show up as an option when creating a new lab.
Mar 12 2023 01:21 AM
Are you using lab accounts or lab plans?
For the lab capacity issue:
If you are using lab accounts, try decreasing the lab capacity by 1, then increasing it again.
If you are using lab plans, try checking the Quota and Usages blade for Lab Services. You might need to request more core capacity.
Here are the instructions for requesting more cores quota: https://learn.microsoft.com/azure/lab-services/how-to-request-capacity-increase.
For the export issue, please verify:
Hope that helps,
Mar 12 2023 06:52 AM
Thanks Elizabeth, you're response has given me so info that allowed me to dig deeper into this. I believe I'm using Lab Plans, but I'm very new to Azure labs. I assume it's lap plans from the item in the red box.
Even though I think it's lab plans and not accounts, I did try decreasing the capacity by one and I still got the same error message.
I found the Azure compute gallery and I see the template that I exported, however it is disabled and I am unable to enable it. This may be a permissions group so I've put an internal ticket in with our service desk to see if permissions need to be changed to enable to image, or perhaps them need to do it upon request. I will post a response once I hear back from our internal server desk.
Mar 13 2023 01:26 PM
It does look like you are using lab plans. I can't tell from the screen capture what the issue is. At this point, I think you need to log a support request with Azure to get help. They'll be able to look up some logs and figure out what is going on.
Regarding enabling the image from your compute gallery, you will need the ability to edit the lab plan. So, something like Lab Services Contributor, Contributor or Owner on the lab plan would allow you to enable/disable images from a compute gallery. A lab creator will not have the necessary privileges.
Mar 14 2023 04:49 AM
Thanks for the reply. One of our admins was able to enable the template from the Azure Compute Gallery for me, so that was a permissions issue. They haven't been able to help with the lab capacity issue so I'll open a ticket with MS.