outlook-web-addins

Block add-in for Gmail Accounts in Outlook for Mac

Deadly 提交于 2019-12-11 15:52:46
问题 Is there any way not to support a Gmail account type in Outlook for Mac? Since Gmail accounts support has been announced I need to support also this account types. However, EWS requests does not work for Gmail. I would like to temporary block Gmail users installing my add-in, until I will adjust by backend, and switch to REST. The only idea I have now is to detect accountType in JS and inform user that cannot use this add-in for now. 回答1: Add-in support for Gmail Accounts in Mac Outlook is

NuGet Office js is different (older) than CDN Office js

血红的双手。 提交于 2019-12-11 14:12:06
问题 The NuGet and the CDN versions are different. They have the same file version: /* Version: 16.0.6807.1000 /, but the CDN includes / Update: 2 */ in the header, and there are some changes in the code itself. Using the NuGet version, we receive "Permission Denied" when loading outlook-win32-16.01.js file in Outlook desktop. The file calls invokeHostMethod which itself calls window.external.Execute and that's when the exception is thrown. Office JS stops loading and the add-in does not work. 回答1

Disable Office 365 Outlook Add-in for desktop

喜夏-厌秋 提交于 2019-12-11 07:35:59
问题 I have developed an Office 365 Outlook Add-in for the web. It's automatically supported in desktop also. I want to disable the app only for the desktop. I guess we need to change something in Manifest file but I couldn't get any clue. Can anyone help me to achieve this?? 回答1: The Office add-in is aim to cross-platform developing for the Office solution. At present, it doesn't support to limit platform. Here is the specification of “Host“ element which used to specify the Office host

Audience URI validation failed. Audience does not match

我怕爱的太早我们不能终老 提交于 2019-12-11 07:17:26
问题 We want to validate the JWT token acquired using office.js Office.context.mailbox.getUserIdentityTokenAsync((result). We have implemented our own JwtSecurityTokenHandler for us to get the unique ID of the user and add it as claim to the request. So we could authorize the user in all our functions. But we are not able to authenticate the JWT token. It is throwing the following invalidAudienceURi exception. But when we decoded the token the URI which is used to generate the token is getting

Add Outlook Web Addin Function to context menu

我只是一个虾纸丫 提交于 2019-12-11 06:35:51
问题 Is it possible to add an Outlook Web Addin function to the context menu? As it was possible with the old VSTO Addins: I only find some examples with tab ribbons, like: <!--PrimaryCommandSurface==Main Office Ribbon--> <ExtensionPoint xsi:type="PrimaryCommandSurface"> <CustomTab id="Contoso.Tab1"> <Group id="Contoso.Tab1.Group1"> <Label resid="Contoso.Tab1.GroupLabel" /> <Icon> <bt:Image size="16" resid="Contoso.TaskpaneButton.Icon" /> <bt:Image size="32" resid="Contoso.TaskpaneButton.Icon" />

how to implement OAuth connection to 3rd party from Outlook Mobile App addin

点点圈 提交于 2019-12-11 05:39:47
问题 we tried opening a window, office dialogAsyncApi but they didnt work. the call never returned to the add-in running in outlook mobile app on both android & ios. what is the preferred approach? 回答1: Below are some resources on using the dialog API in Office.js. They should be supported in Outlook Mobile on iOS and Android. This is preferrable to window.open . Dialog API in Office Add-ins Dialog API doc 来源: https://stackoverflow.com/questions/53226711/how-to-implement-oauth-connection-to-3rd

Outlook Web App add in Dialog Api messageParent not working

北慕城南 提交于 2019-12-10 11:36:41
问题 I am developing a Outlook add in and was checking out the authentication flow (Microsoft login) for my app. I tried using the dialog api to achieve this but was not able to pass message from the dialog to the task pane after successful sign in. index.js: var fullUrl = 'https://localhost:3000/src/templates/auth.html' Office.context.ui.displayDialogAsync(fullUrl, {height: 40, width: 40}, function (result) { console.log("Dialog has initialized. Wiring up events"); _dlg = result.value; console

How to get working Dialog API of OfficeJS API with Outlook 2016 desktop client

◇◆丶佛笑我妖孽 提交于 2019-12-10 06:28:55
问题 I developed a outlook add-in which using OfficeJS API and want to implement OAuth within app, also API Documnetation says Outlook 2016(Desktop) supports requirements set 1.1, 1.2, 1.3 & 1.4 but in my case it remains silent not even throws an error. While running working dialog api sample for word add-in i am getting JavaScript run-time error: Unable to get property 'displayDialogAsync' of undefined or null reference . I am using Microsoft Office Professional Plus 2016. Code I wrote to launch

How to check an Outlook custom property is available via Microsoft Graph

亡梦爱人 提交于 2019-12-10 00:02:54
问题 I added a custom property to an Event using an office.js add-in. I tried to get that custom property's value using https://graph.microsoft.com/v1.0/me/events/AQMkADU2OWFjYTF..AAAA==?singleValueExtendedProperties($filter=id eq 'String 00020329-0000-0000-C000-000000000046 myCusPropId ') but it is return an error: { "error": { "code": "ErrorInvalidProperty", "message": "PropertyId values may only be in one of the following formats: 'MapiPropertyType namespaceGuid Name propertyName',

Outlook Add In - Side Loaded Custom Add In disappears after I close the Windows Store from Outlook

假装没事ソ 提交于 2019-12-09 23:45:57
问题 Very perplexing I am developing an Outlook Add-In to open a pane from a button on the compose email window. I have loaded into a test account on outlook.com, and it works perfectly. When I go to side-load the add into Outlook Desktop (by loading the manifest XML directly by file), the system accepts it. However, when I close the Microsoft Add-In Store window, the add-in is not in the compose email, AND when I go manage my add-ins, the manifest I loaded is not there. The add-in is designed to