Windows 10 virtual machine powershell error 409 RRS feed

  • Question

  • Hello,

    While I'm trying to deploy a Windows 10 image in Azure I get an error and can not continue the deployment.

    Inside this commandline I create credentials

    Set-AzureRmVMOperatingSystem -Windows -ComputerName $name -Credential $cred | `

    Next when trying to deploy with

    New-AzureRmVM -ResourceGroupName $rg -Location $location -VM $vmConfig

    I get below error

    New-AzureRmVM : Changing property 'adminUsername' is not allowed.
    ErrorCode: PropertyChangeNotAllowed
    ErrorMessage: Changing property 'adminUsername' is not allowed.
    ErrorTarget: adminUsername
    StatusCode: 409
    ReasonPhrase: Conflict

    Thursday, December 20, 2018 12:47 PM

All replies