office365

Access Office 365 (sharepoint REST api) in Azure using Java

こ雲淡風輕ζ 提交于 2021-02-20 03:51:26
问题 I am new to Azure and sharepoint integration with Java. I am trying to integrate Java with Sharepoint. The Sharepoint-Office 365 is available in Azure ADFS. I need to write a Java program to authenticate and then access the files using the RESTful APIs provided by Sharepoint. Azure is using WS-Federation authentication process. I have been trying to look for the code that helps me to use the WS-F authentication and then access the files. I am not able to find any useful material. The basic

Access Office 365 (sharepoint REST api) in Azure using Java

ぐ巨炮叔叔 提交于 2021-02-20 03:50:44
问题 I am new to Azure and sharepoint integration with Java. I am trying to integrate Java with Sharepoint. The Sharepoint-Office 365 is available in Azure ADFS. I need to write a Java program to authenticate and then access the files using the RESTful APIs provided by Sharepoint. Azure is using WS-Federation authentication process. I have been trying to look for the code that helps me to use the WS-F authentication and then access the files. I am not able to find any useful material. The basic

Access Office 365 (sharepoint REST api) in Azure using Java

送分小仙女□ 提交于 2021-02-20 03:49:24
问题 I am new to Azure and sharepoint integration with Java. I am trying to integrate Java with Sharepoint. The Sharepoint-Office 365 is available in Azure ADFS. I need to write a Java program to authenticate and then access the files using the RESTful APIs provided by Sharepoint. Azure is using WS-Federation authentication process. I have been trying to look for the code that helps me to use the WS-F authentication and then access the files. I am not able to find any useful material. The basic

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

Optimizing the VBA Code and improve the performance

不问归期 提交于 2021-02-13 11:24:25
问题 I have developed a VBA macro which is used to refresh the 5 SAP AAO Queries and then copy those queries data into tables saperately by removing duplicates and then loaded into the power query. There i add some calculated columns and then load that data into the power pivots. I have also used the VBA code mentioned below to perform some actions in each of the sheets, however it is currently taking more than 4 minutes to run the code. In that 4 minutes at least 45 seconds are going for

Visual studio error connecting exchange email account

纵饮孤独 提交于 2021-02-11 15:59:08
问题 About two months ago I was given the task of making a outlook.com add-in. The basics worked perfectly but somthing with higher priorety came along. So the project layed still fit the last two months. I wanted to go on with the project yesterday and it didn't work anymore. The problem comes whem I go to start the project in visual studio and, need to sign in to my office account. If I sign in it will load for a while and then an error pops up. It says: An error occurred while connecting to the

DYNAMIC EXCEL REPORT - Make Excel Formula automatically add itself when new rows added

南楼画角 提交于 2021-02-11 12:13:03
问题 I have a table in Sheet1 that looks like this **Sport** Basketball Basketball Basketball Volleyball Volleyball Football Football Football Football Football Football Hockey Hockey Hockey I have a table in Sheet2 that looks like: SPORT Basketball Volleyball Football Hockey SCORE 3 2 6 3 I applied the following formula in B1: =TRANSPOSE(UNIQUE(FILTER(Sheet1!$A$2:$A$15,Sheet1!$A$2:$A$15<>""))) formula in B2: =COUNTIF(Sheet1!$A$2:$B$15,Sheet2!B1) However when the column in Sheet1 is updated. For

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

How to get document preview image using SharePoint CSOM

孤者浪人 提交于 2021-02-10 12:37:28
问题 I would like to programmatically retrieve thumbnails of documents from SharePoint. What I'm trying to do is the following: document.GetImagePreviewUrl(width, height, clientType); This just returns an empty ClientResult . I am not sure what to enter as clientType value. I have also tried to use this method programmatically (by using WebClient and downloading the file). But that just returns a 403 response. The possible solutions I see here are the following: Figure out what to enter as