A cloud-native solution that protects workloads across hybrid and multi-cloud environments with threat detection and security recommendations
@Vinod Survase, Thanks for posting in Q&A.
According to your description, I know that you want to block/remove adware and pop-up ads via Intune or M365 Defender.
Based on my researching, Intune do not have the related functions. Here is one link I searched for that may be helpful to you.
Remove Adware, pop-ups, and browser redirects from Windows (bitdefender.com)
And you can contact Microsoft Defender for Endpoint support to check if they have related functions.
Contact Microsoft Defender for Endpoint support | Microsoft Learn
Thanks for your kind understanding.