Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

AzureVMaccessExtension version too high when performing passwor reset via powershell

$
0
0

Hi,

I'm going to reset my VM admin password by windows azure powershell, but failed with the error AzureVMaccessExtension version too high.

powershell command:

PS C:\> $vm1= Get-AzureVM -ServiceName "mikecloudservice" -Name "mikemachine"
VERBOSE: 2:17:14 PM - Completed Operation: Get Deployment
PS C:\> Set-AzureVMaccessExtension -VM $VM1 –UserName "mike" –Password "password.1" –ReferenceName "MyVMAccessAgent" | Update-AzureVM

and the results:

Update-AzureVM : BadRequest: Cannot downgrade resource extension reference VMAccessAgent, from version 2.0, to version
1.0.3 ,for Role: mikemachine
At line:1 char:112
+ ... AccessAgent" | Update-AzureVM
+                    ~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Update-AzureVM], CloudException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.UpdateAzureVMCommand

Do there anyone met the same issue as me and any solutions on this ?


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>