Forum Discussion
Issue in Uninstallation of AMA for Arc Enabled Windows server
- Oct 29, 2024
hey! Try these command's there from the MS Docs regarding uninstalling the extension so may work
PowerShell "Remove-AzConnectedMachineExtension -MachineName <arc-server-name> -ResourceGroupName <resource-group-name> -Name AzureMonitorWindowsAgent"
Azcli -- "az connectedmachine extension delete --name AzureMonitorWindowsAgent --machine-name <arc-server-name> --resource-group <resource-group-name>"
hey! Try these command's there from the MS Docs regarding uninstalling the extension so may work
PowerShell "Remove-AzConnectedMachineExtension -MachineName <arc-server-name> -ResourceGroupName <resource-group-name> -Name AzureMonitorWindowsAgent"
Azcli -- "az connectedmachine extension delete --name AzureMonitorWindowsAgent --machine-name <arc-server-name> --resource-group <resource-group-name>"
- JohnWickXVJan 22, 2025Copper Contributor
It didn't work 1st time, it again went to deleting state only. After restarting the server it worked. Thank you for the solution.