The Microsoft Defender XDR connector and the Microsoft Defender for Cloud connector serve different purposes. The Defender for Cloud connector synchronizes you to the Defender for Cloud service. In contrast, the Microsoft Defender XDR connector connects you to many products in the Defender family (except Defender for Cloud).
To connect Defender for Servers to your Log Analytics Workspace, you need to configure integration with the Log Analytics agent. Here are the steps:
- From the Defender for Cloud’s menu, open Environment settings.
- Select the relevant subscription.
- In the Monitoring Coverage column of the Defender plans, select Settings.
- From the configuration options pane, define the workspace to use.
https://learn.microsoft.com/en-us/azure/defender-for-cloud/working-with-log-analytics-agent
If you find this response helpful and it resolves your issue, please consider marking it as “Accepted” or giving it an upvote. This will help others in the community find the solution more easily.