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 VM extensions and uninstall the Microsoft.insights.VMdiagnostics settings extension



  1. Then Re-enable the guest level monitoring by navigating to Diagnostics settings under Monitoring





                  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 you perform a delete operation on any of the supported Azure resources in the Azure portal, the respective monitor ...
                    • Azure Kubernetes Service(AKS) Troubleshooting FAQs

                      Azure Kubernetes Service (AKS) monitor can be configured only if you have already added a Microsoft Azure monitor in Applications Manager. Ensure that you have met all the prerequisites for the Microsoft Azure monitor before monitoring Azure ...