exchangewebservices

Get delegate permission in MSAL for EWS without PublicClientApplicationBuilder and AcquireTokenInteractive

限于喜欢 提交于 2021-02-17 05:14:09
问题 In EWS OAuth flow we can get delegate permissions by following: var pcaOptions = new PublicClientApplicationOptions { ClientId = ConfigurationManager.AppSettings["appId"], TenantId = ConfigurationManager.AppSettings["tenantId"] }; var pca = PublicClientApplicationBuilder .CreateWithApplicationOptions(pcaOptions).Build(); // The permission scope required for EWS access var ewsScopes = new string[] { "https://outlook.office.com/EWS.AccessAsUser.All" }; // Make the interactive token request var

Get delegate permission in MSAL for EWS without PublicClientApplicationBuilder and AcquireTokenInteractive

[亡魂溺海] 提交于 2021-02-17 05:13:04
问题 In EWS OAuth flow we can get delegate permissions by following: var pcaOptions = new PublicClientApplicationOptions { ClientId = ConfigurationManager.AppSettings["appId"], TenantId = ConfigurationManager.AppSettings["tenantId"] }; var pca = PublicClientApplicationBuilder .CreateWithApplicationOptions(pcaOptions).Build(); // The permission scope required for EWS access var ewsScopes = new string[] { "https://outlook.office.com/EWS.AccessAsUser.All" }; // Make the interactive token request var

Internal server error with UpdateItem EWS call from Mail Addin

我们两清 提交于 2021-02-11 12:09:47
问题 I'm using makeEwsRequestAsync to issue an UpdateItem call on an email I just made a copy of through another makeEwsRequestAsync I used with CopyItem. However, the response for UpdateItem is as follows: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">*</Action></s:Header><s:Body><s:Fault><faultcode xmlns:a="http://schemas.microsoft.com

https://graph.microsoft.com/v1.0/places/microsoft.graph.room Api is not giving updated data

拜拜、爱过 提交于 2021-02-10 14:56:06
问题 I am Using Microsoft Graph to fetch list of rooms available for a tenant. As per Documentation, List Palace Api (https://docs.microsoft.com/en-us/graph/api/place-list?view=graph-rest-1.0&tabs=http) should be used for this. Now, I am facing problem with getting updated data using List Places api. I have added few rooms to the tenant but those are not reflected as part of response for List places api. However, findRooms api which is in Beta gives the updated response. https://graph.microsoft

https://graph.microsoft.com/v1.0/places/microsoft.graph.room Api is not giving updated data

此生再无相见时 提交于 2021-02-10 14:55:10
问题 I am Using Microsoft Graph to fetch list of rooms available for a tenant. As per Documentation, List Palace Api (https://docs.microsoft.com/en-us/graph/api/place-list?view=graph-rest-1.0&tabs=http) should be used for this. Now, I am facing problem with getting updated data using List Places api. I have added few rooms to the tenant but those are not reflected as part of response for List places api. However, findRooms api which is in Beta gives the updated response. https://graph.microsoft

Attachments with the ReferenceAttachment type ( ATTACH_BY_WEB_REF) from O365 mailbox are not returned using EWS

流过昼夜 提交于 2021-02-08 11:34:36
问题 I have a mailbox on Exchange 365 and when I share a picture from OneDrive using the Share as OneDrive Link , then the attachment is not returned using the latest EWS API. The list of attachments is simple empty although the HasAttachments property is true. The fallback for this type of attachment (ATTACH_BY_WEB_REF) should be a FileAttachment but the list is empty. I did some tests with both MFCMApi and EWSEditor and here are the results: EWSEditor (in case when the file is shared as Onedrive

Outlook web add-in How to save info to customer properties in EWS

我是研究僧i 提交于 2021-02-07 10:24:09
问题 Using Office.js API we can easily save extra info to the CustomProperties object via customProps.set . The information is specific to the mail item. The is the doc Save to custom properties using office.js Can I achieve the same thing using EWS API? I tried Creating custom extended properties by using the EWS Managed API 2.0 But whatever info saved via this method I cannot retrieve it using Office.js 's customProps.get . The User case is that my add-in will save the email body and its

Outlook web add-in How to save info to customer properties in EWS

百般思念 提交于 2021-02-07 10:23:21
问题 Using Office.js API we can easily save extra info to the CustomProperties object via customProps.set . The information is specific to the mail item. The is the doc Save to custom properties using office.js Can I achieve the same thing using EWS API? I tried Creating custom extended properties by using the EWS Managed API 2.0 But whatever info saved via this method I cannot retrieve it using Office.js 's customProps.get . The User case is that my add-in will save the email body and its

Getting emails after a specific date with php-ews (Exchange Web Services)

怎甘沉沦 提交于 2021-02-07 08:53:55
问题 In my PHP script, I need to figure out how to retrieve all emails that are either after a specified message ID or after a specific date (Either will work, I just need to retrieve emails that are new since the last time I scraped the inbox). This inbox is getting thousands of emails a day, and I can't delete any emails for 30 days. For the initial import I was just doing an offset from the beginning of the inbox, but obviously that won't work once we start cleaning out emails. I think I have

Getting emails after a specific date with php-ews (Exchange Web Services)

时光总嘲笑我的痴心妄想 提交于 2021-02-07 08:47:18
问题 In my PHP script, I need to figure out how to retrieve all emails that are either after a specified message ID or after a specific date (Either will work, I just need to retrieve emails that are new since the last time I scraped the inbox). This inbox is getting thousands of emails a day, and I can't delete any emails for 30 days. For the initial import I was just doing an offset from the beginning of the inbox, but obviously that won't work once we start cleaning out emails. I think I have