Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Hello. Aishwarya Ganesh
Thanks for using Microsoft products and posting in the community .
I realize that you've encountered a problem of microsoft defender endpoint.
Since your question is related to defender endpoint, the Microsoft community mainly provides technical support for the personal version of Office and Windows, it is difficult for us to give a precise solution for defender endpoint, please post in Microsoft Defender for Cloud - Microsoft Q&A, the forum is in English only. to get more helpful help. I hope you understand.
Best regards.
Petter.Y - MSFT | Microsoft Community Support Specialist