outlook-web-addins

addFileAttachmentAsync Appends Invalid Authorization Header

白昼怎懂夜的黑 提交于 2019-12-23 05:50:47
问题 I work on an application that as part of one of its features attaches files to outgoing emails with Office.context.mailbox.item.addFileAttachmentAsync . In the most recent update Outlook for Windows Version 1811 (Build 11029.20079 Click-to-Run) the files are failing to attach to the mailbox item with a "Download Error" displayed in the UI. To inspect this further I user Fiddler and discovered that this method has started appending the following header Authorization: Bearer . Since no header

Outlook web addin is not loading in Outlook webApps using MVC

帅比萌擦擦* 提交于 2019-12-23 05:01:53
问题 I am developing outlook addin for Outlook 2016 , Outlook web App and Outlook 2016 mac. It is Loading for outlook desktop 2016 and MAC. It is not loading in Outlook Web apps. Home is controller name Outlook Web apps (OWA) shows And My MVC view is @model TEALWebApps.Models.IMAPParam <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1,maximum

Outlook web addin is not loading in Outlook webApps using MVC

我们两清 提交于 2019-12-23 05:01:37
问题 I am developing outlook addin for Outlook 2016 , Outlook web App and Outlook 2016 mac. It is Loading for outlook desktop 2016 and MAC. It is not loading in Outlook Web apps. Home is controller name Outlook Web apps (OWA) shows And My MVC view is @model TEALWebApps.Models.IMAPParam <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1,maximum

Microsoft Web Addins “Office.context.mailbox.getCallbackTokenAsync” returns response “Failed” on my Exchange 2016 but works in office 365 online

ぐ巨炮叔叔 提交于 2019-12-23 04:40:43
问题 We have exchange 2016 sever which we have updated to CU-12 recently because we thought it might be the sever update thing, but now it seems it don't works with update too I am simply using Rest API with the help of passing token to get some fields from the current mail using Addin. But It throws an response "failed" every time when the function "Office.context.mailbox.getCallbackTokenAsync" is called. Code: 1 Office.context.mailbox.getCallbackTokenAsync({isRest: true, "asyncContext" : this._

addFileAttachmentAsync error with files from azure blob storage

左心房为你撑大大i 提交于 2019-12-23 04:26:09
问题 I am developing an Outlook Add-in where I also want to attach some files to an Outlook Appointment. I am able to upload files to the Azure blob/file storage successfully but if I want to attach these files via the addFileAttachmentAsync method I'll get a Download failed message in Outlook, the status of the result of the method is 'Succeeded' though. The file is public available via the URL https://menatwork.blob.core.windows.net/outlookattachments/Icon80.png (tried both https and http) If I

Access to the attachment in Outlook web add-in

◇◆丶佛笑我妖孽 提交于 2019-12-23 03:24:17
问题 I know I can access to the attachments via Office.context.mailbox.item.attachments Also for each of the attachment I get to access to its members like name But can I actually access to its content and send it to a external server to show it? For example I want to send a pdf attachment to a server, and on the server I want to show the content of that pdf file. 回答1: Turns out that An Outlook Add-in cannot pass the attachments of a selected item directly to the remote service that runs on your

Office.js dialog API and multiple displays with high DPI

别说谁变了你拦得住时间么 提交于 2019-12-23 01:47:13
问题 I noticed a problematic behavior of the Office.js dialogAPI. Indeed, I use two monitors one being an high DPI (3840*2160) with 250% zoom. The second one is 1920*1080 (zoom 100%). If Office is set in monitor 1 and if I open the dialogAPI (let us say with 80% default values), then the size of the dialog is computed using the extension of the two monitors. Therefore, the dialog windows becomes gigantic, span the two displays and cannot be used without resizing. 回答1: Thank you Benoit. Yes this is

Expanding singleValueExtendedProperty not working when retrieving Event details

谁说胖子不能爱 提交于 2019-12-22 20:43:30
问题 I am trying to retrieve custom property value for an event using Microsoft Graph. The custom property was created by an Outlook Office.js Add-ing Here is request /v1.0/me/events/{id}?$expand=singleValueExtendedProperties($filter=id eq 'String {00020329-0000-0000-C000-000000000046} Name myCusProp') This returns a successful response from Graph but it does not return the singleValueExtendedProperty . The Outlook add-in, however, is still able to retrieve the property value from the same Event.

Expanding singleValueExtendedProperty not working when retrieving Event details

两盒软妹~` 提交于 2019-12-22 20:43:01
问题 I am trying to retrieve custom property value for an event using Microsoft Graph. The custom property was created by an Outlook Office.js Add-ing Here is request /v1.0/me/events/{id}?$expand=singleValueExtendedProperties($filter=id eq 'String {00020329-0000-0000-C000-000000000046} Name myCusProp') This returns a successful response from Graph but it does not return the singleValueExtendedProperty . The Outlook add-in, however, is still able to retrieve the property value from the same Event.

getCallbackTokenAsync returns “An internal error has occurred”

*爱你&永不变心* 提交于 2019-12-22 17:51:57
问题 I have created an Outlook add-in, which uses mailbox.getCallbackTokenAsync() function to authenticate with EWS API. For the majority of the add-in users, this works without issues. However, for some users, calling this function results in the "An internal error has occurred" error. This seems to occur just once, and subsequent calls to this function return token successfully. Users that experience issues use various Outlook versions - Outlook 16.0.6965.2115, Outlook 16.0.7571.2109, Outlook