Unable to use VM Insight or anything related to AMA

Lethos 0 Reputation points
2025-03-09T16:35:03.03+00:00

Tit seems to be stuck on deploying and i do not see the activity.

I see the message "Enabling change tracking with AMA is underway" for the last 2 hrs without any change or progress

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,502 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Ashok Gandhi Kotnana 4,310 Reputation points Microsoft External Staff
    2025-03-10T03:12:33.2533333+00:00

    Hi @Lethos ,

    Welcome to Microsoft Q&A Forum, thank you for posting your query here!

    If you're experiencing issues with enabling change tracking with the Azure Monitor Agent (AMA) and it seems to be stuck, here are some troubleshooting steps you can take:

    1. Check the Deployment Status: Sometimes, the deployment status may show "Deployment in progress" even if it has been successfully provisioned. If the status indicates successful provisioning, you can safely ignore the message.
    2. Verify Extension Installation: Ensure that the necessary extensions for the AMA are installed correctly. You can check this in the Azure portal under the Extensions pane for your virtual machine. Look for the Azure Monitor Agent and Dependency Agent extensions.
    3. Review Logs: Check the extension logs located in C:\\WindowsAzure\\Logs\\Plugins\\Microsoft.Azure.Monitor.AzureMonitorWindowsAgent\\<version> for any errors that might indicate what went wrong during the deployment.
    4. Network Requirements: Ensure that there are no network issues preventing the AMA from communicating with Azure services. Review the network requirements for the Azure Monitor Agent.
    5. Reboot the VM: If you haven't done so already, try rebooting the virtual machine to resolve any potential glitches or pending updates that might be affecting the deployment.
    6. Wait for Completion: Sometimes, the process can take longer than expected. If you just started the deployment, it might be worth waiting a bit longer.

    Refer below MS documents for troubleshooting: -

    https://learn.microsoft.com/en-us/troubleshoot/azure/azure-monitor/azure-monitor-agent/ama-windows-installation-issues-detailed-troubleshooting-steps#verify-vm-gust-agent-install-ama

    https://learn.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-troubleshoot

    https://learn.microsoft.com/en-us/services-hub/unified/health/assessments-troubleshooting-ama#most-common-troubleshooting-issues

    Feel free to reach out if you have any further questions or need additional information—I’m happy to assist!

    Please provide your valuable comments User's image

    Please do not forget to "Accept the answer” and “upvote it” wherever the information provided helps you, this can be beneficial to other community members.it would be greatly appreciated and helpful to others.


  2. Ashok Gandhi Kotnana 4,310 Reputation points Microsoft External Staff
    2025-03-11T08:47:24.4466667+00:00

    Hi @Lethos

    Thanks for letting me know

    Below are the services that need to be restarted on the effected VM. along with azcmagent, restarting them will likely resolve the issue.

    Step1: -

    1.himds

    2.gc_extension_service

    3.extensionservice

    4.azcmagent

    Step2: -

    Go to Control Panel → Uninstall a program, then uninstall and reinstall Azure Monitor Agent (or AzureMonitor).

    This should resolve the issue.

    Let me know how it goes.

    Feel free to reach out if you have any further questions or need additional information—I’m happy to assist!

    Please provide your valuable comments User's image

    Please do not forget to "Accept the answer” and “upvote it” wherever the information provided helps you, this can be beneficial to other community members.it would be greatly appreciated and helpful to others.


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.