Could not connect to Azure VM with RDP. An internal error has occurred

EeroW 0 Reputation points
2023-09-14T06:23:03.1966667+00:00

This server has been up and running for a couple years for only one program listens to port 8080. We don't try to log in to this server except once or twice a year. We can't connect to the server with RDP as it has been for a long time. Azure portal says: "Agent status is not ready". This error message has disappeared when server rebooted. Still we get error when try to RDP: An internal error has occurred.

We have paid for this service (Azure Basic support plan), but is it our responsible to resolve problems if we pay for the service what should be up and running.

Who in Microsoft is responsible for resolve this and what we can do?

BR

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,802 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,943 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,508 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Manu Philip 18,156 Reputation points MVP
    2023-09-14T07:45:31.5+00:00

    As you are unable to rdp the machine, it will be difficult to resolve the VM Agent issue also. In-order to re-install the agent, I suggest the following method. Check RDP again, after re-installing the agent.

    1. Create a new VM in the same virtual network and with a local IP in the similar range of the VM
    2. Access the VM from the new VM through RDP using the local IP address
    3. Check the files under the following folders and see the exact issue for this error and troubleshoot accordingly
      C:\WindowsAzure\Logs\WaAppAgent.log
      C:\WindowsAzure\Logs\TransparentInstaller.log
    4. If that doesn't help, I suggest to re-install the package as explained the following article:
      windows-azure-guest-agent
    5. If the rdp connectivity is not working, you can try accessing the folders within the VM by accessing the files like <computer-name or IP>\C$ and check the above logs indicated in the step 3

    --please don't forget to upvote and Accept as answer if the reply is helpful--


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.