microsoft-graph-api

Cannot pass “In-Reply-To” parameter to Microsoft Graph sendMail

自闭症网瘾萝莉.ら 提交于 2020-08-06 06:05:39
问题 I allow users to send emails with their Outlook account by using Microsoft Graph API, but it seems to be creating multiple threads on the other side. When using Mailgun API to send the user emails, I am able to pass the In-Reply-To message header that references the previous message Message-ID, and threads are clustered properly by clients on the other side (Outlook/Gmail etc) But when using Microsoft Graph API I try to pass the In-Reply-To and it is not accepted by the API graph_url = 'https

How to get equivalent of “User name” using Microsoft Graph

拈花ヽ惹草 提交于 2020-08-02 04:46:27
问题 I want to get the same value from Microsoft Graph that the Azure Portal displays as the user name (as shown below): userPrincipalName is close, but for guest users it has the #EXT and underscore encoding (e.g., jim.oneil_outlook.com#EXT#@redacted.onmicrosoft.com). mail is NOT populated for member users, so I can't rely on that, although it seems to be what I want for guests. To make matters worse, we do have a member user that also has a EXT address (where mail is not populated and

Microsoft Graph Error - Resource not found for the segment 'root:' when uploading file to OneDrive

ぃ、小莉子 提交于 2020-07-31 05:27:15
问题 When working on this tutorial on Uploading File to OneDrive from Microsoft Graph OneDrive team, I'm getting the following error at the last line of the code shown below: Remarks : There are some posts online with a related issue, (such as: This, or this, or this or this or this). But they all seem to have a different context or do not have a response. Question : What could be the issue, and how can we resolve it Resource not found for the segment 'root:' Relevant Code : GraphServiceClient

Microsoft Graph Error - Resource not found for the segment 'root:' when uploading file to OneDrive

自闭症网瘾萝莉.ら 提交于 2020-07-31 05:24:33
问题 When working on this tutorial on Uploading File to OneDrive from Microsoft Graph OneDrive team, I'm getting the following error at the last line of the code shown below: Remarks : There are some posts online with a related issue, (such as: This, or this, or this or this or this). But they all seem to have a different context or do not have a response. Question : What could be the issue, and how can we resolve it Resource not found for the segment 'root:' Relevant Code : GraphServiceClient

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:/

How to fetch all users from Azure Active Directory Group using C#

不想你离开。 提交于 2020-07-23 08:58:14
问题 We have an application developed in ASP.NET MVC. We also have Acitve Directory configured in Azure and it has some Groups into it. Requirement is, we need to fetch all users from Azure Active Directory's Group and add a new user into it. We are using code below and it is asking extra authentication I guess. we want to provide all authentication in code it self without giving popup wondow to authenticate. Can you please help with this // Build a client application. IPublicClientApplication

How to fetch all users from Azure Active Directory Group using C#

岁酱吖の 提交于 2020-07-23 08:56:05
问题 We have an application developed in ASP.NET MVC. We also have Acitve Directory configured in Azure and it has some Groups into it. Requirement is, we need to fetch all users from Azure Active Directory's Group and add a new user into it. We are using code below and it is asking extra authentication I guess. we want to provide all authentication in code it self without giving popup wondow to authenticate. Can you please help with this // Build a client application. IPublicClientApplication

How to handle deleted Recurring master events using Microsoft delta queries

 ̄綄美尐妖づ 提交于 2020-07-23 06:41:32
问题 I am trying to move from EWS to Microsoft graph and facing problem while implementing syncFolderItems flow. I need to track and update changes of all created, modified and deleted events using Microsoft graph apis. I went through Microsoft documentation and found they have delta Api which returns only the changes which occurred from last sync. But I am not sure how recurring events should be handled using delta queries api. Please help. Thanks in advance. 回答1: The current behavior is that