ContentType of an Item Attachment (Outlook Item - Message) is always coming as null while reading using Graph API

Sundaramoorthy, Srinivasan 1 Reputation point
2021-08-11T23:16:04.68+00:00

We are facing an issue while reading an email with item attachment (message outlook Item) using Graph API. When we fetch the email using Graph API from test environment - it gives me the proper content type for the message item as "contentType": "message/rfc822", But when we fetch the similar email with attachment (message outlook item) from production it returns the content type as null. Would like to understand what is causing the issue to give the proper content type?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,783 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Crowley 211 Reputation points
    2022-06-15T22:42:31.187+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.