An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
The issue was due to the missing routes for IMDS. Adding route for IMDS 169.254.169.254 issue was resolved.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi All,
We are facing a peculiar issue where all the Windows servers don't send heartbeat to Log Analytics Workspace whereas all Linux servers send the data fine . AMA agent is installed properly on the servers, no issues with agent extension and even uninstalled and reinstalled the agent multiple times on the server. AgentTroubleshooter also doesn't run on the server and fails with error "Failed to detect Azure Monitor Agent running on the system. Please make sure Azure Monitor Agent is running". This is expected since I don't see any MonAgent processes running on the server, it's only AMAExtHealthMonitor process running.
I see error logs for IMDS connectivity in the Extension Health and it could be the root cause of the issue.
“[QueryIMDSEndpoint] ErrorCode:1601 ERROR: IMDS appears to not be present on this machine. Error: 12029; Message: A connection with the server could not be established”.
Testing connectivity to IMDS also returns the Computer not reachable error.
Could anyone help me fix this IMDS issue on the servers? If this had been a connectivity issue then it should be for the Linux Servers as well which are in the same subnet as windows servers.
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
The issue was due to the missing routes for IMDS. Adding route for IMDS 169.254.169.254 issue was resolved.
Hi Daya Ram,
Thanks for sharing your question in Microsoft Q&A
To test the connectivity, refer below documents
If testing connectivity to IMDS also returns the computer not reachable error while Linux servers on the same subnet do not face this issue could be related to network or configuration differences specific to the Windows machines.
Find troubleshooting insights and steps:
text
curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2021-01-01"
Ensure the VM can access IMDS directly at 169.254.169.254 without being blocked by a proxy. Successful response means connectivity is fine, otherwise investigate network or firewall issues.
Refer document: Advanced troubleshooting for AMA installation issues on Windows VMs - Azure | Microsoft Learn
Addressing these points should help resolve the IMDS connectivity issue on Windows servers while Linux servers remain unaffected despite being on the same subnet.
To get more details refer document: https://learn.microsoft.com/en-us/azure/virtual-machines/instance-metadata-service?tabs=windows
I hope the provided answer is helpful, do let me know if you have any further questions on this Please accept as Yes and upvote if the answer is helpful so that it can help others in the community.