Outlook Mac
2 TopicsHow to Delete a Composing Email Attachment via Outlook Add-in?
Context: Server: Exchange Server 2019 on premise Client: OWA Category: Outlook Add-in Office JS API Set: Supported up to 1.5 only Problem Details: Delete an attachment added manually or through EWS API to an email item. Limitations: 1. Limitation of makeEWSRequestAsync() Office JS method: The makeEWSRequestAsync method in Office.js does not support the DeleteAttachment SOAP operation, which is required from outlook add in. -> Attempted Workaround - Using fetch with EWS SOAP Request: I tried invoking the DeleteAttachment operation via a fetch call to the EWS endpoint. However, EWS response states "requested web method is not allowed for this application". 2. OWA Limitation: As OWA in this environment only supports Office.js up to version 1.5, the modern attachment Office JS APIs and Graph APIs are not an option. Question: In an Exchange On-Premises scenario, how can I programmatically delete attachments via my add-in? Specifically, is there a recommended approach to obtain a valid token for EWS requests, or any supported alternative to perform DeleteAttachment? Any way to convert EWS attachment ID to Office JS attachment UUID? Additional Notes: I am aware that Exchange Online supports more modern APIs (Graph/REST), but my current deployment is strictly Exchange On-Premises. The add-in works well for reading attachments and other operations, except for deletion. Any guidance or recommendations would be highly appreciated! Thank you in advance.112Views0likes1CommentContacts Photos Don't Sync using Outlook for Mac 16.32
On my iMac using Outlook for Mac 16.32 (running Catalina or Mojave -- makes no difference), connected to my ISP using Exchange protocols, I created a number of contacts with photos. I can use a web browser to my ISP (mail.his.com) to confirm that the photos are there on the server. However, when I log on using my MacBook Air (running Mojave), most of the contacts photos aren't there. The text information -- names, phone numbers, and email addresses -- is updated and correct. But the Contacts photos weren't transferred from the server to the Outlook 16.32 client. This also happened with versions of Outlook for Mac before 16.32. Examples are attached -- the first photo shows a public figure who directs a museum in Washington, DC. I created a Contacts entry on my iMac using Outlook 16.32. I copied his photo into the Contacts entry. Outlook transferred his photo to the ISP's server, as the first attached screenshot server confirms. However, even though (after awhile) the MacBook Air Outlook 16.32 shows that all contacts have been updated, the second attached upload shows that while the text information was transferred, the Contacts photo was not. I tried Spotlight re-indexing -- no change. I tried clearing the Outlook cache on the MacBook Air and re-loading contacts from the server -- no change. I tried setting up a new profile in Outlook on the MacBook Air -- no change. I tried deleting and re-installing Outlook for Mac 16.32 on the MacBook Air -- no change. I checked with my ISP, which says they are running the open-source Zimbra emulator of Exchange. Somewhere between Zimbra and Outlook 16.32, the photos are not getting transferred. Help from both Microsoft Level 1 and Level 2 technical support could not solve the problem. Does anyone have a solution? Or is this just a bug that needs to be fixed?1.6KViews0likes1Comment