Hello @Francis Arvin Hallare,
There’s no direct fix for this, but there are ways to avoid it happening as often. Since Defender XDR tends to process alerts from Defender for Endpoint first, the best approach is to make sure alerts from both sources are properly linked.
You can check the incident correlation rules in XDR to see if it’s grouping related alerts correctly. Also, switching to the tenant-based Defender for Cloud connector (instead of the older subscription-based one) helps with better syncing between Defender for Cloud and XDR. If alerts in Defender for Cloud are still staying open after XDR marks the incident as resolved, you might need to close them manually or set up an automated playbook using Logic Apps to handle it for you.
Hope this helps!