Share via

The solution cannot be enabled on this VM because the VM already has the management agent but the workspace associated with the agent cannot be found within the subscription

youngsik Ahn 81 Reputation points
2023-12-14T10:18:17.76+00:00

I set up change tracking on the virtual machine, but the following message appears.

User's image

Which settings do I need to recheck?

Please help me. Thanks.

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments

Answer accepted by question author

v-vvellanki-MSFT 4,920 Reputation points Microsoft External Staff
2023-12-14T11:16:23.9366667+00:00

Hi @youngsik Ahn,

Thanks for contacting Microsoft Q&A platform.

 When you add a Virtual Machine to a Workspace, or Azure Automation, the server is then automatically linked to the OMS that is linked to Azure Automation, the Virtual Machine receives a new Extension: “Microsoft Monitoring Agent”.

 If you remove the Microsoft Monitoring Agent extension from the VM, the Virtual Machine is disconnected from the Workspace (OMS), and you can then link the Virtual Machine with Azure Automation Update Management.

Follow below steps to link your VM to correct Automation Update Management

·       Go to the virtual machine in Azure “Virtual Machines.”

·       Search in the VM menu for Extensions.

·       Here you can see the Microsoft Monitoring Agent.

·       Click on the 3 dots and choose to uninstall.

·       Click Yes to remove the extension. The Extension will now be removed.

·       When you now go back to Azure Automation – Update Management, or go to Update Management via the VM, you will see that you can add the VM to Azure Automation.

Hope this helps you.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.