office365

POP3 Authentication with OAuth gives “Err Protocol error. Connection is closed”

老子叫甜甜 提交于 2020-08-10 18:57:30
问题 My company needs to upgrade an application to integrate two-legged OAuth 2.0 for POP3. I'm testing with an outlook online account and trying to authenticate on outlook.office365.com (I've also tried pop3.live.com). I registered for an Exchange Online trial using my test outlook account. I've registered my app on Azure and have enabled API Application Permissions for MS Graph (Mail.ReadWrite, Mail.Send) and Exchange (full_access_as_app). The same outlook account I used for the Exchange

Detect if file is open and being edited

[亡魂溺海] 提交于 2020-08-10 16:41:02
问题 Is there a way to detect within a 365 Addin, if a file is currently being edited before deleting from OneDrive? I checked documentations for Microsoft Graph, Office Dev and OneDrive but didn't find anything. If there currently isn't way, is Microsoft considering to make a call or service for the future? Thank you, 回答1: unfortunately there isn't a way to do this right now. However, if a file is currently being edited, then DELETE will return an error, since the file is effectively locked by

Detect if file is open and being edited

江枫思渺然 提交于 2020-08-10 16:39:25
问题 Is there a way to detect within a 365 Addin, if a file is currently being edited before deleting from OneDrive? I checked documentations for Microsoft Graph, Office Dev and OneDrive but didn't find anything. If there currently isn't way, is Microsoft considering to make a call or service for the future? Thank you, 回答1: unfortunately there isn't a way to do this right now. However, if a file is currently being edited, then DELETE will return an error, since the file is effectively locked by

Microsoft Graph get filename

。_饼干妹妹 提交于 2020-07-23 16:07:54
问题 Currently stuck with getting the filename of a ressource from SharePoint online aka Office 365. Authentication and refresh token is from the Unified Api example aka Microsoft Graph. var authResult = await authContext.AcquireTokenByAuthorizationCodeAsync( ... var imgBytes = await httpClient.GetByteArrayAsync(parameters.FileGet); return File(imgBytes, "application/specialFormat", "File1.specialFormat"); At the moment I have to define my own filename. I' ve already seen the example at http:/

Microsoft Graph get filename

删除回忆录丶 提交于 2020-07-23 16:07:02
问题 Currently stuck with getting the filename of a ressource from SharePoint online aka Office 365. Authentication and refresh token is from the Unified Api example aka Microsoft Graph. var authResult = await authContext.AcquireTokenByAuthorizationCodeAsync( ... var imgBytes = await httpClient.GetByteArrayAsync(parameters.FileGet); return File(imgBytes, "application/specialFormat", "File1.specialFormat"); At the moment I have to define my own filename. I' ve already seen the example at http:/

Microsoft Graph get filename

早过忘川 提交于 2020-07-23 16:06:45
问题 Currently stuck with getting the filename of a ressource from SharePoint online aka Office 365. Authentication and refresh token is from the Unified Api example aka Microsoft Graph. var authResult = await authContext.AcquireTokenByAuthorizationCodeAsync( ... var imgBytes = await httpClient.GetByteArrayAsync(parameters.FileGet); return File(imgBytes, "application/specialFormat", "File1.specialFormat"); At the moment I have to define my own filename. I' ve already seen the example at http:/

office addin dev 2016 and newer: how to add insert new page / slide button in the task pane app

六眼飞鱼酱① 提交于 2020-07-23 06:52:20
问题 I am looking for directions (API reference / samples) to create a insert new page buttons along with Slide number grid view for quick navigation to slides in Powerpoint 2013 and newer additions with an addin For this I guess we would need the Office JS Api to i) Read the current number of slides, ii) Event listeners for add / remove slide iii) Insert / Duplicate particular slide into presentation iv) Navigate to particular slide So, to begin with I started following - https://docs.microsoft