@Nur Alia Bizaini (EXT) - Welcome to Microsoft Q&A and thanks for reaching out to us.
The error message you're seeing indicates that an instance of the Azure Monitor Agent for Windows extension is already in progress for the same resource. This could be because the extension is still being provisioned or because there is an issue with the extension. To remove the extension, try below:
- Open the Azure portal and navigate to the virtual machine that you're having trouble with.
- Click on "Extensions" in the left-hand menu.
- Find the "Azure Monitor Agent for Windows" extension and click on it.
- Click on "Uninstall" and follow the prompts to remove the extension.
Once you have removed the extension, you can try re-installing it by following the steps outlined in the Azure Monitor Agent for Windows documentation. If you continue to experience issues, you may want to try waiting for a few minutes and then attempting to install the extension again. If the issue persists, you can file a ticket with Microsoft support for further assistance.
Hope this helps. and please feel free to reach out if you have any further questions.
Please don't forget to "Accept as Answer" and click "Yes" if the above response is helpful, so it can be beneficial to the community.