Hello @Luigi F ,
Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.
It appears there is an additional configuration done to auto provision the log analytics OMS agent on your VM. Mostly either it is Microsoft Defender for Cloud or Azure Policy
I would recommend checking the settings under microsoft defender for cloud(MDC)
Toggle the status to Off for the relevant agent.
Toggles to disable auto provisioning per agent type.
Select Save. When auto provisioning is disabled, the default workspace configuration section is not displayed:
Note: When auto provisioning is disabled, the configuration cell is empty
Please "Accept as Answer" and Upvote if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.