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
1 answer
Unable to retrieve guest users calendar events in Microsoft Graph
I have created an app in azure AD, in my company tenant.
In application permissions, I have added Calendars.Read and Calendars.ReadWrite (Read and write calendars in all mailboxes) with application permission type, and I have grant admin consent.
In…

Ivan Damnjanovic
- 21
- 2
2
votes
1 answer
Microsoft graph API - empty bccRecipients list
This is the Scenario:
In the same Azure tenant, I used one account (user_1_address) to send emails to the other account (user_2_address) using outlook (o365).
I sent 3 emails, one where user_2_address is BCCed, one CCed, and one when it's the TO…

lmaayanl
- 378
- 1
- 2
- 15
2
votes
0 answers
CreateUploadSession returns "The OData request is not supported"
I am attempting to do step 1 in C#, according to Attach large files to Outlook messages as attachments from the Microsoft Graph documentation.
The GraphServiceClient and message id I'm using works fine when uploading small attachments. When…

nmvision
- 89
- 1
- 1
- 9
2
votes
0 answers
How Microsoft graph detect content type for attachments (not inline attachments in .NET Core 3.1)
I would like to know how Microsoft graph API determine content type for attachments.
Problem is I get the wrong content-type and I would like to know who is to blame:
My code for get attachments:
var client = await GetClientAsync();
var attachments…

Makla
- 9,899
- 16
- 72
- 142
2
votes
1 answer
How to send s/mime messages through Microsoft Graph API?
I searched the documentations. It appears that Microsoft Graph API supports downloading S/MIME messages, but not sending S/MIME messages. Could anyone confirm if this is supported?

user12728301
- 21
- 1
2
votes
1 answer
Retrieve contacts along with profile pic in batches using Graph API
With the query below, we can get contact's profile pictures using Microsoft Graph:
https://graph.microsoft.com/v1.0/users/{user-name}/contacts/{id}/photo/$value
Using the above query is taking a bit longer time to retrieve a large number of…

Rohit Kumar
- 89
- 1
- 7
2
votes
2 answers
Is there a way to check logs for a particular request-id?
I have been working on subscriptions to notify my application whenever I receive an email. In order to activate the Subscription, I send a POST request to https://graph.microsoft.com/v1.0/subscriptions. Whenever I send a request I received the…

pranav pranu
- 19
- 3
2
votes
1 answer
Can't create a draft using Graph, but direct sending mail works fine
Recently Microsoft announced that it is possible to send emails with attachments larger than 4MB.
With smaller attachments, we were able to do everything in a single request.
Now we must create a draft, upload attachments and then send the file.
I…

Misiu
- 4,738
- 21
- 94
- 198
2
votes
1 answer
Stream Attachments from Microsoft Graph API to SOAP WebService
First I would like to describe our architecture, it consists of:
Outlook Web Addin (hosted on IIS on-prem)
an ASP.NET Web API (hosted on-prem)
the Microsoft Graph REST API in the cloud
a SOAP WebService (not under my control, on-prem).
The flow…

Mario Semper
- 511
- 1
- 3
- 17
2
votes
1 answer
How to get "msExchMailboxGuid" from O365 using Microsoft Graph
I'm currently getting an Exchange Identity-Token via an Outlook Add-In. To validate this, I check if the part "msExchUid" of the token matches the field "msExchMailboxGuid" of my Active Directory.
Now I'm trying to do a similar check against the…

André Frings
- 119
- 1
- 5
- 15
2
votes
0 answers
setting forwarding email address for user
Is there anyway at this time to update a users forwarding email address using graph api in O365.
If not are there any plans in place to allow this in the future.

Andrew Day
- 21
- 1
2
votes
1 answer
Microsoft Graph - Invalid filter clause
I am trying to filter by conversationId to get messages and replies for mail, but I am getting an error each time:
Unexpected error value:
{
statusCode: 400,
code: "BadRequest",
message: "Invalid filter clause"
Example code:
let response…

vemund
- 1,667
- 4
- 29
- 43
2
votes
0 answers
Persistent "503 UnknownError" when syncing messages in specific mailFolders (via deltas)
While syncing messages via the mailFolder delta endpoint, specific mailFolders will provide @odata.deltaLinks that when requested return 503 errors.
This affects 4 of roughly 6500 mailFolders that we are currently syncing. Each of these 4 is in a…

Arlan Jaska
- 21
- 3
2
votes
1 answer
Error while configuring redirect URL for Azure AD aplicattion to http://web/path through Azure Portal
I am developing a website in php / javascript to send emails through Microsoft Outlook.
In the test server it works well because it is in localhost, but in the production server it does not work for me because it has http protocol.
When registering…
2
votes
2 answers
Cannot read full user profiles MS Graph while having the needed scopes
I am using the GraphServiceClient in my code to access multiple endpoints for data. I have a service account who logs in with Azure AD, with the following scopes: Group.Read.All, User.Read.All, Mail.Read.
However, with these needed scopes I cannot…

NLErik
- 45
- 6