We have recently migrated Windows server 2016 from Onprem to Azure Cloud. After that i notice that the "MDE.Windows" extension shows "Provisioning Failed" message. And below is the error message. Can someone help me on how to fix this?
[2022-10-18 13:19:05Z][Error] Failed to configure Microsoft Defender for Endpoint: Onboarding to MDE via Microsoft Defender for Cloud for this operating system is done using Microsoft Monitor Agent. If you would like to install the new MDE Unified Solution/Agent, please enable the Unified Solution setting in Microsoft Defender for Cloud (vNextEnabled parameter is not 'true')\r\n
As explained in the error message, Unified Agent MDE auto-provisioning setting must be turned on in order for the Unified Agent to be installed. Otherwise, the MDE.Windows extension will fail with that message , and MDE will only be onboarded using Log Analytics agent. The setting can be turned on using Auto Provisioning under Settings.