Adam Sandor
Adam Sandor
This test is failing, please verify it fails in Playback mode locally and re-record it: Microsoft.Azure.Commands.Compute.Test.ScenarioTests.VirtualMachineScaleSetTests.TestVirtualMachineScaleSetReimageUpdate [FAIL] 2022-11-07T20:05:28.8355706Z X Microsoft.Azure.Commands.Compute.Test.ScenarioTests.VirtualMachineScaleSetTests.TestVirtualMachineScaleSetReimageUpdate [1s 78ms] 2022-11-07T20:05:28.8779376Z EXEC : error Message: [D:\a\1\s\build.proj] 2022-11-07T20:05:28.8812934Z System.Management.Automation.ActionPreferenceStopException...
@pselugar another test is fialing. Verify it fails locally in playback mode and re-record it: Microsoft.Azure.Commands.Compute.Test.ScenarioTests.VirtualMachineScaleSetTests.TestVirtualMachineScaleSetSecurityTypeWithoutConfig [FAIL] 2022-11-07T20:05:48.7333976Z X Microsoft.Azure.Commands.Compute.Test.ScenarioTests.VirtualMachineScaleSetTests.TestVirtualMachineScaleSetSecurityTypeWithoutConfig [1s 232ms] 2022-11-07T20:05:48.7339555Z EXEC : error Message: [D:\a\1\s\build.proj] 2022-11-07T20:05:48.7342799Z System.Management.Automation.ActionPreferenceStopException...
@grizzlytheodore to take a look at this.
As Travis said, and the New-AzVM [docs ](https://learn.microsoft.com/en-us/powershell/module/az.compute/new-azvm?view=azps-12.1.0) show, the UserData parameter cannot be passed in with the VMConfig parameter. You either set it on the VMConfig object with New-AzVMConfig,...
This was a bug in the docs, the new alias to use is Win2022AzureEdition. The docs are being updated.
The docs should be updated in a couple of days.
Rebased this branch to another that is up to date with main, seeing if that resolves the build error stating the code is out of date.
@ArcturusZhang , edits made, please re-review!
@YanaXu , please consider this for this breaking change release.
@Elina-L , needs the changelog update.