Problem: When creating a VM from the Azure Gallery the job fails with

Job:CreateVM:slvda
Info:
Completed
Errors:
The value of parameter securityProfile.securityType is invalid.
Initially the job status will be 'Running - Error' before timing out and the status changes to 'Completed - Error'.
No VM is created and when the job completes, the VM Nic will be deleted.
Cause: Your version of Az.Compute is higher than the current version 9.0.0
PS C:\Windows\system32> get-module -Name Az.Compute
ModuleType Version Name
---------- ------- ----
Script 10.1.0 az.compute
Resolution:
Open Powershell and run
Get-Module -Name Az.Compute -ListAvailable
to confirm the installed version(s) of Az.Compute
Remove all Az.Compute powershell modules and install Az.Compute 9.0.0 (Current Version)
uninstall-module -Name Az.Compute -AllVersions
install-module -Name AZ.Compute -RequiredVersion 9.0.0
This issue will be resolved in AVDManage 2.0.
PowerShell Gallery | Az.Compute 9.0.0
27 July 2025 |