Attachment Block.

Microsoft Q & A 386 Reputation points
2023-04-19T18:46:20.9366667+00:00

from where in EOP we can block the file type. What are the options we have.

Exchange Online
Exchange Online
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
{count} votes

Answer accepted by question author
  1. Xuyan Ding - MSFT 7,601 Reputation points
    2023-04-20T07:40:15.5966667+00:00

    Hi  @Microsoft Q & A ,

    You can block a file type in Exchange Online Protection using the Malware Filter Policy.

    See this article for details: Anti-malware policies. User's image

    It is worth noting the -FileTypeAction and -FileTypes parameters in the New-MalwareFilterPolicy or Set-MalwareFilterPolicy commands.

    The FileTypeAction parameter specifies what's done to messages that contain one or more attachments where the file extension is included in the FileTypes parameter.

    The FileTypes parameter specifies the file types that are automatically blocked by the common attachments filter.

    To add or remove file types without affecting other file type entries, you can refer to Example 2 and Example 3 in the Set-MalwareFilterPolicy cmdlet.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.