Share via


VM has reported a failure when processing extension 'enablevmaccess'

Question

Monday, January 22, 2018 3:36 PM

Hi,

I can't connect to one of our VM's.

When I try to reset the password inside Azure portal, this message is provided:

"VM has reported a failure when processing extension 'enablevmaccess'. Error message: "VMAccess Extension does not support Domain Controller.".

I've tried reset the password with PowerShell with "net ent" command. But that didn't work.

How can I reset the user login?

All replies (6)

Monday, January 22, 2018 4:36 PM

You may refer the below articles and let us know:

For Windows VM,

/en-us/azure/virtual-machines/windows/reset-rdp?toc=/azure/virtual-machines/windows/toc.json

You can also refer the thread link which discusses similar issue.

For Linux VM:

https://github.com/Huachao/azure-content/blob/master/articles/virtual-machines/virtual-machines-linux-use-vmaccess-reset-password-or-ssh.md

Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members


Tuesday, January 23, 2018 9:18 AM

Hi,

I've tried to reset the password with PowerShell scripts but every time I run the script it fails with the message: "Failed to download all specified files. The remote name could not be resolved "iaasvtempstoreeurope.blob.core.windows.net"?


Tuesday, January 23, 2018 3:22 PM

You tried with the script we shared above? If not, then could you help us with the script.

Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members


Wednesday, January 24, 2018 8:01 AM

Hi,

I tried this PowerShell script:

Set-AzureRmVMAccessExtension -ResourceGroupName "X" -Location "North Europe" -VMName "X" -Name "X" -TypeHandlerVersion "2.0" -UserName "X" -Password "X"

Wednesday, January 24, 2018 3:12 PM

Hi,

I tried this PowerShell script:

Set-AzureRmVMAccessExtension -ResourceGroupName "X" -Location "North Europe" -VMName "X" -Name "X" -TypeHandlerVersion "2.0" -UserName "X" -Password "X"

I tried the function "Reset password" inside the Azure portal today again. But it's still not working for this Virtual Machine. "VM has reported a failure when processing extension 'enablevmaccess'. Error message: "VMAccess Extension does not support Domain Controller.".


Thursday, January 25, 2018 3:07 PM

You may refer the below SO link and let us know:

https://stackoverflow.com/questions/48149387/reset-azure-vm-pw-for-domain-controller

Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members