Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

485
Views
Microsoft Graph API - Get InternetMessageHeaders issue , missing certain headers

I am using Graph API with my Outlook Web Add in and have noticed that the headers i see when clicking the email > File > Properties , do not match up with the headers that are returned from the Graph API.

From, To, In-Reply-To and MessageID are ones I've noticed so far that are missing.

Are there certain permissions that i need to set up on the app side , or something i am missing in my request, or something different here that is causing these headers to be ignored ? Here is my request for reference:

"https://graph.microsoft.com/v1.0/me/messages/" + restID + '/ $select=internetMessageHeaders'

Any insight to this is much appreciated, thank you!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can get the unparsed Internet headers via the PidTagTransportMessageHeaders extended property https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidtagtransportmessageheaders-canonical-property which will include everything eg

https://graph.microsoft.com/v1.0/me/MailFolders('Inbox')/messages('...=')?$select=InternetMessageHeaders&$expand=singleValueExtendedProperties($filter=id eq 'String 0x007D')

I don't know why not all headers are included in the InternetMessageHeaders collection (most likely it's due to the way they implemented their parser) the ones you have mentioned are all available in other strongly typed and extended properties.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!