Mar 17 2020
01:07 AM
- last edited on
Apr 08 2022
10:20 AM
by
TechCommunityAP
Mar 17 2020
01:07 AM
- last edited on
Apr 08 2022
10:20 AM
by
TechCommunityAP
Hi
I'm having trouble connecting an Azure VM to a new Log Analytics Workspace.
It's in error state and i if i try and disconnect it just starts disconnecting but never ends.
Extension status for MicrosoftMonitoringAgent is "Unavailable"
Tried to uninstall the extension but that fails with "Error"
Tried to manually install the agent and but the connection status was still "Error" after giving it the night to get the right status"
Anyone got an idea of what to do next?
Mar 17 2020 04:48 AM
Is it a supported OS? https://docs.microsoft.com/en-us/azure/azure-monitor/platform/log-analytics-agent
Have you followed the Extension guides for Windows?
and https://docs.microsoft.com/en-us/azure/azure-monitor/platform/vmext-troubleshoot
If this is your first machine, if so it could be a proxy/port or issue like that.
Mar 17 2020 05:20 AM
Yes, it is supported OS.
I hade it reporting to a Workspace, but now I'm trying to move it to another but it seems that something didn't go as planned when I tried disconnecting it.
If i use the powershell do try and connect it
i get
Operation 'PUT Extension' is not allowed on VM extension 'MicrosoftMonitoringAgent' since it is marked for deletion. You can only retry the Delete operation (or wait for an
ongoing one to complete).
I'v opened a support case.