I have a similar problem. I have a script to upload an attachment to hdisk and run this script by setting the rule in outlook. However, our IT service has an activated ATP protocol that scans attachments, and the script downloads irrelevant data instead of the actual file attached. So I decided to run the scheduled script instead. So that by the time the script starts, the attachment has already been scanned.
Have you already found any solution?
source share