Microsoft Azure VM - Windows - [Unable to perform data collection as Diagnostics Extension is not enabled for the Virtual Machine in Azure Portal], even though diagnostics is enabled.

Microsoft Azure VM - Windows - [Unable to perform data collection as Diagnostics Extension is not enabled for the Virtual Machine in Azure Portal], even though diagnostics is enabled.

Steps to be done on the Azure VM by remoting into it:

Delete all the tsf files on the machine with the problem. They are located here:


C:\WindowsAzure\Logs\Plugins\Microsoft.Azure.Diagnostics.IaaSDiagnostics<DiagnosticsVersion>\WAD0107\Tables


 

Deletion should work if Monitoring Agent has already shut down. However, if deletion is not possible because of some files holding the lock, then disabling WAD first may help.

 

You can either uninstall the diagnostics settings extension from the portal and reinstall once you delete the files or stop the "Windows Azure guest Agent" service from the VM and perform the deletion action and then restart the "Windows Azure guest Agent" Service.

 

Please refer the below screen shots to disable diagnostic settings extension:

 

  • Go to the Diagnostic settings and remove Azure Diagnostics agent.


  1. Then Re-enable the guest level monitoring by navigating to Diagnostics settings under Monitoring. Install python 2 if needed - learn more





                  New to ADSelfService Plus?

                    • Related Articles

                    • Microsoft Azure VM - Enabling Diagnostics extension for Windows & Linux VMs

                      Diagnostic Extension is now considered a legacy approach and it is limited to some server distributions. It is recommended to switch to Azure Monitor Agent (AMA). From Applications Manager v171400, Azure monitor agent is supported. Refer here to know ...
                    • Azure Virtual Machine - FAQ

                      1. How is data collection happening for Azure Virtual Machine monitors? Microsoft Azure monitor discovery modes in AppManager: AD Application mode Organizational Account mode OAuth mode Azure VM monitor - Data collection methods: Azure Monitor Azure ...
                    • Microsoft Azure VM - Enabling Azure Monitor Agent for Windows & Linux VMs

                      Purpose of Diagnostics Agent and Azure Monitor Agent Additional metrics from Azure Virtual Machine can be fetched via Diagnostic Extensions (DE) or Azure Monitor Agent (AMA). In Diagnostic Extensions, data is pushed to Azure Storage Account to which ...
                    • Microsoft Azure - FAQ

                      1. What happens to the Azure monitor in Applications Manager when you delete any of the supported services from the Azure portal? When a resource is deleted in Azure portal, the monitor status depends on the 'Action on Deleted Resources' option. ...
                    • Microsoft Azure VM (Windows) - Powershell Remoting Failure

                      To resolve the issue, follow the steps given below: Go to Monitor Actions -> Edit Monitor page and check if Enable Guest OS Monitoring option is enabled. Verify if the Username and Password are correct. Verify whether all the prerequisites are done ...