An Azure service that is used to provision Windows and Linux virtual machines.
Hello Wayne Lawson,
From an Azure perspective, the password reset operations you performed (SSH password change, VMAccessForLinux, Run Command) all target the local Linux user accounts on the virtual machine.
If those actions are not taking effect, the issue is most likely related to how the VM is processing credential updates rather than a known Azure platform issue.
Here are some key points and recommended steps:
- Scope clarification
- Azure can only reset operating system–level user credentials.
- If your WHM/cPanel access relies on the underlying Linux user (for example, the
rootaccount), then resetting that OS user password should allow access. - If WHM maintains its own authentication layer or is out of sync, additional application-level reset steps may be required within the VM.
2. Verify VMAccess / reset password functionality
- Password reset through the Azure portal or VMAccess extension requires:
- The Azure Linux Agent to be installed and running
- The VM agent status to be Ready
- If the extension or Run Command is stuck or not completing, it can indicate:
- VM agent issues
- Extension execution failure
- VM agent issues
- The Azure Linux Agent to be installed and running
Recommended action:
- Re-run the password reset from the Azure portal using the Reset password option.
- Ensure you specify the correct existing username (for example,
rootor your admin user).
3. If password reset is not applying If the reset methods are not working or appear stuck, use one of the following supported recovery methods:
Serial Console (recommended for access issues)
- This works independently of SSH and network configuration.
- You can access the VM and reset the password in single-user mode.
- Repair VM method (last resort).
These methods are commonly used when:
- VM extensions are not functioning
- SSH or password authentication is misconfigured
- The OS user password cannot be updated through normal channels
4. Additional checks
- Ensure password authentication is enabled in SSH configuration (
sshd_config) - Confirm that you are resetting the correct user account
- After reset, attempt login again via SSH to validate the new credentials
References:
- https://learn.microsoft.com/troubleshoot/azure/virtual-machines/reset-password
- https://learn.microsoft.com/troubleshoot/azure/virtual-machines/linux/serial-console-linux
- https://learn.microsoft.com/troubleshoot/azure/virtual-machines/linux/serial-console-grub-single-user-mode
- https://learn.microsoft.com/troubleshoot/azure/virtual-machines/linux/repair-linux-vm-using-azure-virtual-machine-repair-commands
- https://learn.microsoft.com/troubleshoot/azure/virtual-machines/linux/troubleshoot-ssh-connection