Hello @kumar kaushal
Best practice is that the DC is blocked from RECEIVING any traffic from unknown internet sources. this is the root cause, if this is fixed all the rest will be fine. You can check the discussion on the Topic in the https://techcommunity.microsoft.com/t5/microsoft-defender-for-identity/atp-sensor-consume-most-server-cpu-60/m-p/306097
Hope this helps with your query!
---------
--If the reply is helpful, please Upvote and Accept as answer--