Forum Discussion
JohnWickXV
Oct 29, 2024Copper Contributor
Issue in Uninstallation of AMA for Arc Enabled Windows server
Dear Community, As a troubleshooting, I want to uninstall the AMA agent from Azure arc enabled server, I tried "Uninstall" from Azure arc machine - Extension - Uninstall but it went into "Deleti...
- 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>"
MHenshaw
Oct 29, 2024Brass Contributor
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 21, 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.