DEV Community

Cover image for Allow specific data file in Office365 for external recipients (Status code: 550 5.0.350)
Katrina Aquino
Katrina Aquino

Posted on

Allow specific data file in Office365 for external recipients (Status code: 550 5.0.350)

Image description

Are you admin and someone of the organization need to send a specific data file the must be attached in email rathen uploading it to onedrive and keep receiving this even you deploy this command in powershell?
_
$policy = Get-OwaMailboxPolicy [policy name]
$allowedFileTypes = $policy.AllowedFileTypes
$allowedFileTypes.Add(".foo")
Set-OwaMailboxPolicy $policy -AllowedFileTypes $allowedFileTypes*_*

or this

Set-OwaMailboxPolicy -Identity "" -AllowedFileTypes @{Add=".foo"}

Reference: https://techcommunity.microsoft.com/t5/exchange-team-blog/changes-to-file-types-blocked-in-outlook-on-the-web/ba-p/874451

Due of MS keeps blocking data file to secure the the tenants Worldwide. If your organization requires to receive and send specific file types that attached from Outlook then how we allow data files to not stop our users productivity and still keep our organization.

Solution:

Part 1: Change and add file type in Office365

  1. Go to security portal or https://security.microsoft.com/ to our browser.

Image description

  1. Look to your right panel, search for Email & collaboration and tap the arrow down to show the underling setting.

Image description

  1. Under of email & collaboration, tap the policies and rules > threat policies > Anti-Malware > click the default policy

Image description

  1. Default policy UI will be prompt, scroll-down and tap the edit protection settings

Image description

  1. Once we clicked, the edit protection settings will be prompt. make sure the enable the common attachments filter is enable and under of this just tap the select file types.

Image description

  1. Under of the select file types, Microsoft have default file types and add the specific file type such as .dat and done

Image description

  1. You go back to edit protection settings, look for the when these file types are found then select the Quarantine the message and save.

Image description

Part 2: try to send email with the specific file type attached in email.

Take note: You must not receive any NDR in outlook.

Part 3:

Top comments (0)