Tag not monitored by Microsoft.
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!