outlook-web-addins

Outlook Add-In on 2016 ProPlus MSI Version (MSO 16.0.4549.1000) gives “Permission Denied” error for displayDialogAsync

拟墨画扇 提交于 2021-02-04 21:44:31
问题 I'm developing a new Outlook Add-In that uses displayDialogAsync to do authentication. We have several different client verions. It works fine on Outlook for Mac 2016 and Office 365 ProPlus Click-To-Run Version 1808 on Windows. But on Office 2016 ProPlus MSI Version (MSO 16.0.4549.1000) for windows, it gives the error "Permission Denied". Dialog API requirements sets page at https://docs.microsoft.com/en-us/office/dev/add-ins/reference/requirement-sets/dialog-api-requirement-sets says for

Outlook Add-in file download

时光怂恿深爱的人放手 提交于 2021-01-27 06:56:01
问题 What I'm trying to do Download a file from an Office Outlook add-in inside Outlook application in MacOS X "El Capitan" ( not the web portal ) How I tried to do it I have tried with: Blob data URL btoa - atob A tag with download variable internal window.open ( in a allowed domain ) Applying Office Dev tutorial Office-Add-in-JavaScript-FileDownload ( with a modification to make it work in outlook due to OfficeExtension class) But result is always the same: or it shows the file (i.e. images or

Office.context.mailbox.item.body.getAsync() method does not work in outlook mac 2016

做~自己de王妃 提交于 2021-01-27 04:41:19
问题 In office 365 outlook add-in, Office.context.mailbox.item.body.getAsync() method does not work in outlook Mac . But it works fine in safari and chrome . office js reference is "https://appsforoffice.microsoft.com/lib/1/hosted/office.js" here is the code of add-in read app var _item = Office.context.mailbox.item; var body = _item.body; // Get the body asynchronous as text body.getAsync(Office.CoercionType.Text, function (asyncResult) { if (asyncResult.status !== Office.AsyncResultStatus

User's mailbox API returning different emails when on OWA vs desktop client, or pre/post SSO sign in

拈花ヽ惹草 提交于 2021-01-01 06:43:34
问题 In our 365 add-in, we're using the Office.context.mailbox.userProfile.emailAddress API to get the user's email address, for authentication/data retrieval with our own backend (e.g. get the user's data). It returns inconsistent results depending on the user's 365 setup. Some users who have SSO setup with their org will have a completely different email returned from that API after they go through the OAuth process - meaning that it will return something like jon.smith@domain.com pre-OAuth,

Uploading a file crashes Desktop App Web Viewer

馋奶兔 提交于 2020-12-30 04:19:45
问题 We are facing problems while uploading files via our o365 addin on Windows. In the compose mode, we launch a iframed app via a ribbon button. This iframed app which launches in a Desktop App Web Viewer allows users to upload files. The problem is that as soon as the users are done selecting the files they want to upload, the Desktop App Web Viewer crashes and we are back to the compose view. This happens intermittently but is frequent enough to be problematic. I looked at some Office JS

Uploading a file crashes Desktop App Web Viewer

痞子三分冷 提交于 2020-12-30 04:19:31
问题 We are facing problems while uploading files via our o365 addin on Windows. In the compose mode, we launch a iframed app via a ribbon button. This iframed app which launches in a Desktop App Web Viewer allows users to upload files. The problem is that as soon as the users are done selecting the files they want to upload, the Desktop App Web Viewer crashes and we are back to the compose view. This happens intermittently but is frequent enough to be problematic. I looked at some Office JS