Error Message on AZ900 Lab

Ahmed Nafizur Rahman 1 Reputation point


I get an error message when trying to do a lab in Cloud shell.
Task 2: Create a resource group and virtual machine.
In this task, we will use PowerShell to create a resource group and a virtual machine.

  1. Ensure PowerShell is selected in the upper-left drop-down menu of the Cloud Shell pane.
  2. Verify your new resource group by running the following command in the Powershell window. Press Enter to run the command.
  3. Create a virtual machine by pasting the following command into the terminal window.

PS /home/nafizur> New-AzVm `

> -ResourceGroupName "myRGPS" > -Name "myVMPS"
> -Location "East US" > -VirtualNetworkName "myVnetPS"
> -SubnetName "mySubnetPS" > -SecurityGroupName "myNSGPS"
> -PublicIpAddressName "myPublicIpPS"

cmdlet New-AzVM at command pipeline position 1
Supply values for the following parameters:
User: azureuser
Password for user azureuser: ************

No Size value has been provided. The VM will be created with the default size Standard_D2s_v3.
New-AzVM: 'VMCustomization' is not enabled for the Subscription. Please register the Subscription for 'Microsoft.Compute/VMCustomizationPreview' to use the feature.
PS /home/nafizur>

I am using Azure Pass to teach students.

Kindest regards,
Ahmed Nafizur Rahman

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,742 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous

    Microsoft Certification Program is supported on their own forums. I'd try asking for help with course issues in dedicated forums here. (Participate\Ask A Question)
    Courses and Course Content/Course Content Issue
    Troubleshooting known issues

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments