Office 365 Outlook Add-in - getAttachmentContentAsync method gives 5001-Internal Error
Hello,
We have an Office 365 Outlook Add-in, which supports Message read and Message compose modes. We have an issue with attachment content retrieving in Message compose mode, when starting from Adobe Acrobat Reader. The scenario is in Adobe Acrobat Reader we use send email functionality, which opens compose email screen in Outlook with already attached PDF document. When we use our add-in to process the email it gives error "'5001-Internal Error' An internal error has occurred." when we try to get the attachment content using getAttachmentContentAsync(attachmentId, callback) method on the Office.context.mailbox.item. Please see the attached screenshots. We couldn't find what is the problem and when we compose email on our own and attach the same document there is no problem. Thank you for your help in advance!
Application versions:
- Adobe Acrobat Reader - 2024.003.20112
- Outlook - Microsoft® Outlook® for Microsoft 365 MSO (Version 2408 Build 16.0.17928.20114) 32-bit