Help with errors¶
Error starts with [LAB-...]¶
Your request broke one of the lab rules. The message says what to change, and ends with your group name. If you can't fix it, send your trainer the code (for example LAB-P03A-VM-SIZE) or a screenshot of the whole message.
Example:
[LAB-P03B-VM-SPOT] Azure Spot / low-priority VMs are not allowed. Turn off 'Run with Azure Spot discount' and remove any eviction policy or max price. Group: rg-CLOUD-LAB-GRP-12. Send this code to your trainer if you need help.
| Code | Meaning | Usual fix |
|---|---|---|
LAB-P01A-REGION |
Region not allowed | Use Southeast Asia or Southeast Asia 3 |
LAB-P01B-VMONLY-REGION-TYPE |
This resource can't go in Australia East or Malaysia West | Create it in Southeast Asia or Southeast Asia 3 |
LAB-P02-RESOURCE-TYPE |
This Azure service isn't part of the lab | Check the lab steps, or ask your trainer |
LAB-P03A-VM-SIZE |
VM size not allowed in that region | Pick a size from the VM size table |
LAB-P03B-VM-SPOT |
Azure Spot VM | Turn off Run with Azure Spot discount |
LAB-P03C-VM-DEDICATED |
Capacity reservation or dedicated host | Remove that setting |
LAB-P03D-VM-DISK |
VM disk is Premium, Ultra or too large | Standard HDD or Standard SSD, max 128 GB |
LAB-P04A-DISK |
Managed disk type or size | Standard HDD or Standard SSD, max 128 GB |
LAB-P04B-SNAPSHOT |
Snapshot type | Standard HDD |
LAB-P05A-STORAGE-SKU |
Storage redundancy | LRS or ZRS |
LAB-P05B-STORAGE-KIND |
Storage account kind | StorageV2 (general purpose v2) |
LAB-P05C-STORAGE-SFTP |
SFTP is on | Turn off SFTP |
LAB-P06-APP-PLAN |
App Service plan tier | F1, D1, B1 or S1 |
LAB-P17-APP-PLAN-CAPACITY |
App Service plan has more than 4 instances | Set the instance count to 4 or less |
LAB-P07-SQL-SKU |
SQL database tier | Basic, S0, S1 or S2 |
LAB-P08A-PUBLIC-IP |
Public IP SKU | Standard, Regional |
LAB-P08B-LOAD-BALANCER |
Load balancer SKU | Standard, Regional |
LAB-P08C-APP-GATEWAY |
Application Gateway tier | Standard V2 |
LAB-P08D-DDOS |
DDoS protection | Turn off DDoS protection |
LAB-P09A-CONTAINER-INSTANCE |
Container size or type | Max 2 CPU, 4 GB, no GPU |
LAB-P09B-CONTAINER-APPS |
Container Apps workload profile | Consumption only |
LAB-P10-LOG-ANALYTICS |
Log Analytics tier or retention | Pay-as-you-go, max 30 days |
LAB-P10B-LA-DAILY-CAP |
Log Analytics workspace with no daily cap, or a cap above 1 GB | Set the daily cap to 1 GB or less |
LAB-P11-BACKUP-VAULT |
Recovery Services vault SKU | Standard |
LAB-P18-VAULT-SECURITY |
Vault with locked immutability or always-on soft delete | Leave immutability Disabled or Unlocked, soft delete Enabled |
LAB-P12-RESERVED |
Reservations, dedicated hosts, Batch | Not available in the lab |
LAB-P15A-VMSS-SIZE |
Scale set VM size not allowed in that region | Pick a size from the VM size table |
LAB-P15B-VMSS-CAPACITY |
Scale set has more than 4 instances | Set the instance count to 4 or less |
LAB-P15C-VMSS-MODE |
Scale set isn't Uniform | Choose Uniform orchestration |
LAB-P15D-VMSS-SPOT |
Spot scale set | Turn off Spot |
LAB-P15E-VMSS-DISK |
Scale set disk is Premium, Ultra or too large | Standard HDD or Standard SSD, max 128 GB |
LAB-P15F-VMSS-IMAGE |
Scale set image | Use an allowed image |
LAB-P15G-VMSS-EXTENSION |
Scale set extension | Microsoft extensions only |
LAB-P16-AUTOSCALE |
Autoscale maximum above 4 | Set the maximum to 4 or less |
LAB-P13A-VM-IMAGE |
VM image | Use an allowed image (see Lab rules) |
LAB-P13B-VM-EXTENSION |
VM extension | Microsoft extensions only |
LAB-P14-PEERING |
VNet peering | Only between VNets in your own group |
Error says AuthorizationFailed¶
You don't have permission for that action. Common causes:
- The step creates a resource group: use your existing group instead.
- The step changes access control (IAM), policy or locks: these are trainer-only.
- You just joined: wait 10 minutes and try again.
A resource disappeared¶
Your group went over a limit, and the newest extra resource was deleted automatically. Delete something you no longer need, then create it again.
Something else¶
Send your trainer a screenshot of the full error, your group number, and the lab and step you were on.