I am trying to create a virtual machine as per the prescribed instructions, which require selecting the B1s VM size. However, it is showing a request quota error, and because of this, I am unable to complete the Day 2 task. Kindly resolve this issue at the earliest.
I am faing the same issue as well. only D2s_v3 is available
Am facing the similar issue too, where the mentioned SKU is not allowed for the region. Tried using different SKUs, still its failing. Please have a look at the error below and assist in proceeding with the task.
az vm create
âresource-group kml_rg_main-2b732461ecc84fb8
âname devops-vm
âlocation westus
âimage Ubuntu2204
âsize Standard_B1ls
âadmin-username devops
âgenerate-ssh-keys
âos-disk-size-gb 30
âstorage-sku Standard_LRS
(AuthorizationFailed) The client âkk_lab_user_main-b6462f7d91ff4cbb@azurefreekmlprod7.onmicrosoft.comâ with object id âfe650693-beae-4fe9-9087-6ac92ecd929câ does not have authorization to perform action âMicrosoft.Network/virtualNetworks/readâ over scope â/subscriptions/63828282-77d5-4979-924e-647a074ce8ae/resourceGroups/kml_rg_main-2b732461ecc84fb8/providers/Microsoft.Networkâ or the scope is invalid. If access was recently granted, please refresh your credentials.
Code: AuthorizationFailed
Message: The client âkk_lab_user_main-b6462f7d91ff4cbb@azurefreekmlprod7.onmicrosoft.comâ with object id âfe650693-beae-4fe9-9087-6ac92ecd929câ does not have authorization to perform action âMicrosoft.Network/virtualNetworks/readâ over scope â/subscriptions/63828282-77d5-4979-924e-647a074ce8ae/resourceGroups/kml_rg_main-2b732461ecc84fb8/providers/Microsoft.Networkâ or the scope is invalid. If access was recently granted, please refresh your credentials.
~
az group list
[
{
âidâ: â/subscriptions/63828282-77d5-4979-924e-647a074ce8ae/resourceGroups/kml_rg_main-b6462f7d91ff4cbbâ,
âlocationâ: âwestusâ,
âmanagedByâ: null,
ânameâ: âkml_rg_main-b6462f7d91ff4cbbâ,
âpropertiesâ: {
âprovisioningStateâ: âSucceededâ
},
âtagsâ: null,
âtypeâ: âMicrosoft.Resources/resourceGroupsâ
}
]
~ â az vm create --resource-group kml_rg_main-b6462f7d91ff4cbb --name nautilus-vm --location westus --image Ubuntu2204 --size Standard_B1ls --a
dmin-username devops --generate-ssh-keys --os-disk-size-gb 30 --storage-
sku Standard_LRS
SSH key files â/root/.ssh/id_rsaâ and â/root/.ssh/id_rsa.pubâ have been generated under ~/.ssh to allow SSH access to the VM. If using machines without permanent storage, back up your keys to a safe location.
{âerrorâ:{âcodeâ:âInvalidTemplateDeploymentâ,âmessageâ:âThe template deployment failed because of policy violation. Please see details for more information.â,âdetailsâ:[{âcodeâ:âRequestDisallowedByPolicyâ,âtargetâ:ânautilus-vmâ,âmessageâ:âResource ânautilus-vmâ was disallowed by policy. Reasons: âGlobal: This virtual machine SKU is not allowed. Please use one of the approved SKUs. Allowed SKUs [ âStandard_D2s_v3â, âStandard_B2sâ, âStandard_B1sâ, âStandard_DS1_v2â]â. See error details for policy resource IDs.â,âadditionalInfoâ:[{âtypeâ:âPolicyViolationâ,âinfoâ:{âevaluationDetailsâ:{âevaluatedExpressionsâ:[{âresultâ:âTrueâ,âexpressionKindâ:âFieldâ,âexpressionâ:âtypeâ,âpathâ:âtypeâ,âexpressionValueâ:âMicrosoft.Compute/virtualMachinesâ,âtargetValueâ:âMicrosoft.Compute/virtualMachinesâ,âoperatorâ:âEqualsâ},{âresultâ:âFalseâ,âexpressionKindâ:âFieldâ,âexpressionâ:âMicrosoft.Compute/virtualMachines/sku.nameâ,âpathâ:âproperties.hardwareProfile.vmSizeâ,âexpressionValueâ:âStandard_B1lsâ,âtargetValueâ:[âStandard_D2s_v3â,âStandard_B2sâ,âStandard_B1sâ,âStandard_DS1_v2â],âoperatorâ:âInâ}],âreasonâ:âGlobal: This virtual machine SKU is not allowed. Please use one of the approved SKUs. Allowed SKUs [ âStandard_D2s_v3â, âStandard_B2sâ, âStandard_B1sâ, âStandard_DS1_v2â]â},âpolicyDefinitionIdâ:â/subscriptions/63828282-77d5-4979-924e-647a074ce8ae/providers/Microsoft.Authorization/policyDefinitions/vm-kmlâ,âpolicySetDefinitionIdâ:â/subscriptions/63828282-77d5-4979-924e-647a074ce8ae/providers/Microsoft.Authorization/policySetDefinitions/global-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicyDefinitionReferenceIdâ:âvm-kml_refâ,âpolicySetDefinitionNameâ:âglobal-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicySetDefinitionDisplayNameâ:âglobal-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicySetDefinitionVersionâ:â1.0.0â,âpolicyDefinitionNameâ:âvm-kmlâ,âpolicyDefinitionDisplayNameâ:âvm-kmlâ,âpolicyDefinitionVersionâ:â1.0.0â,âpolicyDefinitionEffectâ:âdenyâ,âpolicyAssignmentIdâ:â/subscriptions/63828282-77d5-4979-924e-647a074ce8ae/providers/Microsoft.Authorization/policyAssignments/global-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicyAssignmentNameâ:âglobal-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicyAssignmentDisplayNameâ:âglobal-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicyAssignmentScopeâ:â/subscriptions/63828282-77d5-4979-924e-647a074ce8aeâ,âpolicyAssignmentParametersâ:{},âpolicyExemptionIdsâ:[],âpolicyEnrollmentIdsâ:[]}}]}]}}
~
az vm create --resource-group kml_rg_main-b6462f7d91ff4cbb --name nautilus-vm --location westus --image Ubuntu2204 --size Standard_B1ls --admin-username devops --generate-ssh-keys --os-disk-size-gb 30 --storage-sku Standard_D2s_v3
{âerrorâ:{âcodeâ:âInvalidTemplateDeploymentâ,âmessageâ:âThe template deployment failed because of policy violation. Please see details for more information.â,âdetailsâ:[{âcodeâ:âRequestDisallowedByPolicyâ,âtargetâ:ânautilus-vmâ,âmessageâ:âResource ânautilus-vmâ was disallowed by policy. Reasons: âGlobal: This virtual machine SKU is not allowed. Please use one of the approved SKUs. Allowed SKUs [ âStandard_D2s_v3â, âStandard_B2sâ, âStandard_B1sâ, âStandard_DS1_v2â]â. See error details for policy resource IDs.â,âadditionalInfoâ:[{âtypeâ:âPolicyViolationâ,âinfoâ:{âevaluationDetailsâ:{âevaluatedExpressionsâ:[{âresultâ:âTrueâ,âexpressionKindâ:âFieldâ,âexpressionâ:âtypeâ,âpathâ:âtypeâ,âexpressionValueâ:âMicrosoft.Compute/virtualMachinesâ,âtargetValueâ:âMicrosoft.Compute/virtualMachinesâ,âoperatorâ:âEqualsâ},{âresultâ:âFalseâ,âexpressionKindâ:âFieldâ,âexpressionâ:âMicrosoft.Compute/virtualMachines/sku.nameâ,âpathâ:âproperties.hardwareProfile.vmSizeâ,âexpressionValueâ:âStandard_B1lsâ,âtargetValueâ:[âStandard_D2s_v3â,âStandard_B2sâ,âStandard_B1sâ,âStandard_DS1_v2â],âoperatorâ:âInâ}],âreasonâ:âGlobal: This virtual machine SKU is not allowed. Please use one of the approved SKUs. Allowed SKUs [ âStandard_D2s_v3â, âStandard_B2sâ, âStandard_B1sâ, âStandard_DS1_v2â]â},âpolicyDefinitionIdâ:â/subscriptions/63828282-77d5-4979-924e-647a074ce8ae/providers/Microsoft.Authorization/policyDefinitions/vm-kmlâ,âpolicySetDefinitionIdâ:â/subscriptions/63828282-77d5-4979-924e-647a074ce8ae/providers/Microsoft.Authorization/policySetDefinitions/global-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicyDefinitionReferenceIdâ:âvm-kml_refâ,âpolicySetDefinitionNameâ:âglobal-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicySetDefinitionDisplayNameâ:âglobal-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicySetDefinitionVersionâ:â1.0.0â,âpolicyDefinitionNameâ:âvm-kmlâ,âpolicyDefinitionDisplayNameâ:âvm-kmlâ,âpolicyDefinitionVersionâ:â1.0.0â,âpolicyDefinitionEffectâ:âdenyâ,âpolicyAssignmentIdâ:â/subscriptions/63828282-77d5-4979-924e-647a074ce8ae/providers/Microsoft.Authorization/policyAssignments/global-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicyAssignmentNameâ:âglobal-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicyAssignmentDisplayNameâ:âglobal-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicyAssignmentScopeâ:â/subscriptions/63828282-77d5-4979-924e-647a074ce8aeâ,âpolicyAssignmentParametersâ:{},âpolicyExemptionIdsâ:[],âpolicyEnrollmentIdsâ:[]}}]}]}}
~
az vm create --resource-group kml_rg_main-b6462f7d91ff4cbb --name nautilus-vm --location westus --image Ubuntu2204 --size Standard_B1ls --admin-username devops --generate-ssh-keys --os-disk-size-gb 30 --storage-sku Standard_B1s
{âerrorâ:{âcodeâ:âInvalidTemplateDeploymentâ,âmessageâ:âThe template deployment failed because of policy violation. Please see details for more information.â,âdetailsâ:[{âcodeâ:âRequestDisallowedByPolicyâ,âtargetâ:ânautilus-vmâ,âmessageâ:âResource ânautilus-vmâ was disallowed by policy. Reasons: âGlobal: This virtual machine SKU is not allowed. Please use one of the approved SKUs. Allowed SKUs [ âStandard_D2s_v3â, âStandard_B2sâ, âStandard_B1sâ, âStandard_DS1_v2â]â. See error details for policy resource IDs.â,âadditionalInfoâ:[{âtypeâ:âPolicyViolationâ,âinfoâ:{âevaluationDetailsâ:{âevaluatedExpressionsâ:[{âresultâ:âTrueâ,âexpressionKindâ:âFieldâ,âexpressionâ:âtypeâ,âpathâ:âtypeâ,âexpressionValueâ:âMicrosoft.Compute/virtualMachinesâ,âtargetValueâ:âMicrosoft.Compute/virtualMachinesâ,âoperatorâ:âEqualsâ},{âresultâ:âFalseâ,âexpressionKindâ:âFieldâ,âexpressionâ:âMicrosoft.Compute/virtualMachines/sku.nameâ,âpathâ:âproperties.hardwareProfile.vmSizeâ,âexpressionValueâ:âStandard_B1lsâ,âtargetValueâ:[âStandard_D2s_v3â,âStandard_B2sâ,âStandard_B1sâ,âStandard_DS1_v2â],âoperatorâ:âInâ}],âreasonâ:âGlobal: This virtual machine SKU is not allowed. Please use one of the approved SKUs. Allowed SKUs [ âStandard_D2s_v3â, âStandard_B2sâ, âStandard_B1sâ, âStandard_DS1_v2â]â},âpolicyDefinitionIdâ:â/subscriptions/63828282-77d5-4979-924e-647a074ce8ae/providers/Microsoft.Authorization/policyDefinitions/vm-kmlâ,âpolicySetDefinitionIdâ:â/subscriptions/63828282-77d5-4979-924e-647a074ce8ae/providers/Microsoft.Authorization/policySetDefinitions/global-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicyDefinitionReferenceIdâ:âvm-kml_refâ,âpolicySetDefinitionNameâ:âglobal-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicySetDefinitionDisplayNameâ:âglobal-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicySetDefinitionVersionâ:â1.0.0â,âpolicyDefinitionNameâ:âvm-kmlâ,âpolicyDefinitionDisplayNameâ:âvm-kmlâ,âpolicyDefinitionVersionâ:â1.0.0â,âpolicyDefinitionEffectâ:âdenyâ,âpolicyAssignmentIdâ:â/subscriptions/63828282-77d5-4979-924e-647a074ce8ae/providers/Microsoft.Authorization/policyAssignments/global-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicyAssignmentNameâ:âglobal-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicyAssignmentDisplayNameâ:âglobal-limits_63828282-77d5-4979-924e-647a074ce8ae-kmlâ,âpolicyAssignmentScopeâ:â/subscriptions/63828282-77d5-4979-924e-647a074ce8aeâ,âpolicyAssignmentParametersâ:{},âpolicyExemptionIdsâ:[],âpolicyEnrollmentIdsâ:[]}}]}]}}
I too, am facing the same issue. I have turned in a bug report for the last 2 days and still no resolution. Hopefully they will get this fixed soon. Already 2 days behind now.
I am also experiencing similar issue
same issue for me unable move further
i am also facing same issue.
Well seems that issue was fixed as of this morning but now there are 2 problems with adding the disk. First, Azure will not allow me to create a disk of less than 32GB and the exercise requires a 30GB drive, and secondly, I get an error that says:
Resource âdevops-vm_disk1_2f91685cb2244563b72c0567d082d5aeâ was disallowed by policy. Reasons: âGlobal: This storage configuration is not allowed. Ensure the disk size is 128 GB or less and the SKU is not Premium for Compute disks. For Storage accounts, use Standard_LRS or Standard_RAGRS SKUs.â. See error details for policy resource IDs. Target: â/subscriptions/f0c3bcdd-5ce2-4fa0-8cf3-41559747512b/resourceGroups/kml_rg_main-66bbc39d50014863/providers/Microsoft.Compute/disks/devops-vm_disk1_2f91685cb2244563b72c0567d082d5aeâ.Learn more about common virtual machine error codes.
Problem is that the disk was created (Standard HDD as required) but it will not attach to the VM either initially or as âadd an existing diskâ.
also facing same issue. any resolution for us??