Resource Limits deserialization has failed with exception The data contract type 'Microsoft.WindowsAzure.GuestAgent.ExtensionStateMachine.Processes' cannot be deserialized because the required data member 'path' was not found.

Abhishek _ 0 Reputation points
2024-08-19T09:01:07.8666667+00:00

Resource Limits deserialization has failed with exception The data contract type 'Microsoft.WindowsAzure.GuestAgent.ExtensionStateMachine.Processes' cannot be deserialized because the required data member 'path' was not found.

Getting below error while installing Azure monitoring agent (AMA ) on the windows 2019 server could you please help to resolve this issue

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,315 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jim Riekse 0 Reputation points Microsoft Employee
    2024-09-07T21:00:48.33+00:00

    I ran into this same error with AMA. I updated the Azure Windows VM Agent which then allowed the AMA agent to install. This agent is automatically updated when you use Azure marketplace images, but is not updated after that point.

    Here's a reference to the agent information: https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/agent-windows

    Following the link on the page will get you t9 the download link for the latest .msi which at this time is the following which you can install with admin rights on the VMs with the issue: https://github.com/Azure/WindowsVMAgent/releases/download/2.7.41491.1139AMD64/WindowsAzureVmAgent.amd64_2.7.41491.1139_2408131139.fre.msi

    From there just ensure that a previous failed AMA agent extension is uninstalled and then re-install the AMA agent.

    0 comments No comments

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.