Block attaching documents

Laxson Paradza 20 Reputation points
2023-11-28T13:43:01.42+00:00

Is there a way to disable attachments while sending documents in Outlook, both desktop and online, and only allow links to be sent?

Outlook | Windows | Classic Outlook for Windows | For business
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
{count} votes

1 answer

Sort by: Most helpful
  1. Yuki Sun-MSFT 41,376 Reputation points Moderator
    2023-11-29T02:10:31.9833333+00:00

    Hi @Laxson Paradza ,

    Is there a way to disable attachments while sending documents in Outlook, both desktop and online, and only allow links to be sent?

    You can create a mail flow rule similar like blow to block mails with attachments from being sent:
    User's image

    Tick "Stop processing more rules" after clicking Next:
    User's image

    From the Exchange admin center, we can only set the attachment size limit to "1KB", to block smaller attachments as well, we'll need to connect to Exchange Online PowerShell and run the command below:

    Set-TransportRule -Identity <RuleName> -AttachmentSizeOver 1B
    
    

    User's image

    I tried testing in my lab tenant and below is the NDR I received when attempting to send out a mail with an attachment(1byte):
    User's image


    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 comments No comments

Your answer

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