Forum Discussion
hiddenjinchuriki
Feb 13, 2022Copper Contributor
'VMCustomization' is not enabled for the Subscription. Error trying to create vm from command line
I'm trying to setup my first Linux VM following: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/quick-create-cli?toc=/azure/virtual-machines/linux/toc.json I first ran: az vm creat...
hardikchudasama
Apr 05, 2022Copper Contributor
This is now resolved for MS Learn Module
One your Active Sandbox Try Running
Install-Module -Name Az.Compute -RequiredVersion 4.24.1
OR
Install-Module -Name Az.Compute -RequiredVersion 4.25
Then
Pwsh
That starts a new powershell session
New-AzVm -ResourceGroupName learn-d2a8d1e3-0259-4d64-a7ec-8348a719b240 -Name "testvm-eus-01" -Credential (Get-Credential) -Location "East US" -Image UbuntuLTS -OpenPorts 22 -PublicIpAddressName "testvm-01"
will work successfully now!