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 ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

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

                        Applications Manager can collect diagnostic metrics from Storage accounts in both public and private links, as long as the storage account is accessible from the machine where Applications Manager is installed. For additional information, please ...
                      • 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 - 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 ...
                      • Troubleshooting errors during data collection in Microsoft 365 monitor (For versions upto v16300)

                        Prerequisites: Ensure that you have met all the prerequisites for the Microsoft 365 monitor. From Applications Manager version 16300 onwards, Microsoft 365 monitor will use Microsoft Graph API as the primary mode of data collection. We have migrated ...