Office-js
3 TopicsHow to remove add-in in new Outlook
Hi, in old outlook I used https://aka.ms/olksideload to remove an Outlook add-in I'm developing. There is a big delay, but eventually the add-in is deactivated. In the new Outlook, this method still works. However, if I try to remove it using the menu provided in the new outlook client (apps>manage your apps>remove), it makes a request to https://teams.microsoft.com/api/apps/emea/beta/users/apps/entitlements/(id (followed by an ID string), and I get the response 403 forbidden. It is difficult for me because I am not an admin, but what can I suggest our admin check out to allow the app remove privilege to work in the new Outlook? Thanks.297Views0likes1CommentHow to get token to fire ews soap request using fetch in exchange onprem setup?
I am currently developing an Outlook add-in for an Exchange On-Premises environment and have encountered a limitation with attachment management, specifically around deleting attachments. Context: Environment: Exchange On-Premises (On-Prem) Target: Outlook Web App (OWA) Office.js Version Supported: <= 1.5 (limited feature set) Problem Details: Limitation of makeEWSRequestAsync: The makeEWSRequestAsync method in Office.js does not support the DeleteAttachment SOAP operation, which is required for my scenario. Attempted Workaround - Using fetch with EWS SOAP Request: I tried invoking the DeleteAttachment operation manually via a fetch call to the EWS endpoint. However, this requires a valid authentication token. The challenge is: I am unable to retrieve a valid token from Office.js in the Exchange On-Premises setup. Methods like Office.context.mailbox.getCallbackTokenAsync do not seem to provide usable tokens for this purpose. OWA Limitation: As OWA in this environment only supports Office.js up to version 1.5, the modern attachment 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? If direct deletion is not supported in this environment, are there known workarounds or roadmap plans for better attachment handling in on-premises setups? 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.116Views0likes1CommentGet Status date by office-Js api in ms project add in
How to get the status date by using office-Js api in a ms project add in. this is status date: https://support.microsoft.com/en-us/office/set-the-status-date-for-project-reporting-ef4ad175-b219-456a-8f62-2eef97a3c8ce https://images.app.goo.gl/WdJSbN61fc8RQC8PA also I put this issue: https://github.com/OfficeDev/office-js-docs-reference/issues/1694#issuecomment-1736044029455Views0likes0Comments