Create a transport rule (or mail flow rule as they are called nowadays) to configure the message header: X-MS-Exchange-Organization-SkipSafeAttachmentProcessing. Reference: https://docs.microsoft.com/en-gb/archive/blogs/office365labs/eo-atp-considerations-reports-demonstrations