Microsoft Graph Mail refers to the Outlook Mail APIs in Microsoft Graph. This tag should always be used in conjunction with the [microsoft-graph] tag.
Questions tagged [microsoft-graph-mail]
484 questions
2
votes
2 answers
Retrieving Mail via Microsoft Graph is slower than EWS
We want to retrieve emails from our Office365 Inbox from a C# Application.
We used to use EWS but want to change to Graph. However, if we retrieve an email via Graph it takes twice the time as with EWS (~400ms vs ~200ms).
Here is the EWS…

insiders_dev
- 71
- 3
2
votes
0 answers
Graph Delegated Impersonation
I have a C# solution that I use to retrieve Mails via Microsoft Graph API.
Currently I get the access token interactively via
var pcApplication = PublicClientApplicationBuilder.Create(clientId).Build();
AcquireTokenInteractiveParameterBuilder…

insiders_dev
- 71
- 3
2
votes
0 answers
internetMessageHeaders now available using graph api endpoint for messages in the sent items folder
Originally posted by @jasonjoh in https://github.com/microsoftgraph/microsoft-graph-docs/issues/2716
Regarding answer given by https://github.com/microsoftgraph/microsoft-graph-docs/issues/2716#issuecomment-580751583
No, internet headers just do not…

Ask
- 53
- 5
2
votes
0 answers
Get deleted event data using graph api
I have subscribed a room calendar using graph api and subscribing all the events like Create , Update and Delete.
In my scenario when user invited above room abc@onmicrosoft.com and then cancel original meeting then cancel event get fired in room…

Nitin Chopra
- 129
- 2
- 10
2
votes
0 answers
How to add large (>3MB) inline attachment using Microsoft Graph API?
I am trying to add a large inline attachment to the message, but I don't see a way to add ContentLocation information that is in FileAttachment. For small attachments I'm using FileAttachment, and it's work fine.
A simplified description of what I…

Fils
- 47
- 5
2
votes
1 answer
Microsoft Graph API calls from Python
I have a fairly simple task. I need to be able to create draft messages in my Outlook account from Python. I understand this entails registering an app in the Azure Active Directory and setting the respective permissions - that I have done. My…

student_123
- 23
- 1
- 3
2
votes
1 answer
Send Mail with mixed sized attachments (> 4MB) using Graph API (version 2.3.2)
I've following list of attachments to send in mail
210KBPDF.pdf
1MBPDF.pdf
4MBPDF.pdf
To send total file size under 4 MB(1MBPDF, 210KBPDF) I can use this approach and
To send large file (4MBPDF) I'm using solution provided here
But when I'm trying…

Vivek Buddhadev
- 197
- 1
- 22
2
votes
1 answer
Attach existing Office Meeting to Outlook Calendar Event
Is it possible to attach an existing Office Meeting (Teams or Skype) to a calendar event?
It appears the Event API currently only allows auto-generating a meeting, by setting isOnlineMeeting: true and e.g. "onlineMeetingProvider": "teamsForBusiness"…

Varun Singh
- 1,676
- 3
- 18
- 25
2
votes
1 answer
MS graph API for place always returning properties like "Building","Floor" as null
Hi I'm using the following API to fetch the resource mailbox details.
var place = await graphClient.Places["roomaddress@microsoft.com"]
.Request()
.GetAsync();
But Building, floor, etc such properties are always null. even it has value in the…

Sumith Jose
- 167
- 8
2
votes
0 answers
Cannot get an email with Microsoft Graph API due to encoding conversion failure on Microsoft side
Trying to get with Microsoft Graph API an email but get an error from Microsoft side:
Request: GET https://graph.microsoft.com/v1.0/Users/user_id/messages/message_id;
Request body size: 0; ReplyBodyError: { ErrorCode:
"ErrorInternalServerError",…

Alexander Zaitsev
- 31
- 1
2
votes
0 answers
Microsoft Graph API - Exchange Online Messages call returns ServiceUnavailable
I am fetching messages from Exchange in Office365 using Microsoft Graph API.
However, for some folders I seem to get intermittent exceptions.
What we are using:
Microsoft.Graph Version 3.9.0 - Microsoft Graph Client Library for…

Johan Mostert
- 111
- 1
- 4
2
votes
1 answer
Microsoft Graph's createUploadSession, Content-Range Header error
I'm trying to use the Microsoft Graph API's createUploadSession endpoint with the JavaScript SDK and attempting to test the upload with a small file that's just over 3MB. Whenever send a PUT request, I receive the following error response:
{
…

xsnvt
- 61
- 1
- 7
2
votes
0 answers
The "chunk" argument must be of type string or an instance of Buffer. Received an instance of ArrayBuffer
I have passed an image obtained from Microsoft Graph API to pictureURL() function.
But getting this error:
TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer. Received an instance of ArrayBuffer
…

Madhvi Mittal
- 67
- 1
- 8
2
votes
2 answers
Send email thru Azure AD Graph API as email alias
In the Graph API explorer, you can send an email with the endpoint
https://graph.microsoft.com/v1.0/me/sendMail
and a basic json payload of
"message": {
"subject": "Meet for lunch?",
"body": {
"contentType": "Text",
…

Jensen
- 199
- 2
- 11
2
votes
2 answers
Sending email using ClientCredentialProvider is failing to find tenant guid
I am using Microsoft Identity's OAuth 2.0 support to send email using Microsoft Graph.
Created a personal email account as XXXX@outlook.com. Using this account I login to Azure AD and create a tenant there. Used ClientCredentialProvider (From…

bibhutik
- 23
- 4