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?