Share via

MIME Content Access for Group Mailboxes via Microsoft Graph API

Suthan Raja 0 Reputation points
2026-05-06T05:34:43.4733333+00:00

Hi Team,

We are currently working on migrating Microsoft 365 Group Mailboxes using Microsoft Graph API and had a few clarifications regarding MIME content access.

  1. Does Microsoft Graph API support retrieving full MIME content for messages in Group Mailboxes (Office 365 Groups)?
  2. We noticed that the /messages/{id}/$value endpoint provides MIME content for user mailboxes. Is there an equivalent approach available for:
    • /groups/{group-id}/threads/{thread-id}/posts/{post-id}
  3. If MIME content is not directly available for group posts, is there any recommended approach to reconstruct MIME content from the available fields (such as body, attachments, headers)? This information will help us ensure accurate and complete migration of group mailbox data. Thanks in advance for your support.
Microsoft 365 and Office | Development | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Teddie-D 15,210 Reputation points Microsoft External Staff Moderator
    2026-05-06T06:33:37.4333333+00:00

    Hi @Suthan Raja 

    Microsoft Graph currently does not provide full MIME access for Microsoft 365 Group conversations (posts), and this is an important distinction compared to user mailboxes.  

    1.Does Microsoft Graph support retrieving full MIME content for Group Mailboxes?  

    At this time, Microsoft Graph does not support retrieving full MIME content in Microsoft 365 Group conversations (threads/posts). MIME retrieval using the $value segment is only supported for message resources such as user mailbox messages. 

    2.Is there an equivalent to /messages/{id}/$value for group posts? 

    There is no equivalent endpoint in Microsoft Graph for: /groups/{group-id}/threads/{thread-id}/posts/{post-id} 

    Group posts are exposed through the Graph API as structured objects (including properties such as body, from, receivedDateTime, and attachments) rather than as raw email messages. As a result, the original MIME format (including full transport headers and encoding details) is not available through these endpoints. 

    3.Recommended approach to reconstruct MIME content 

    Since MIME content is not directly available for group posts, there is no supported way to retrieve or fully reconstruct the original MIME message via Graph. 

    For migration scenarios, the typical approach is:

    -Extract the available structured data from the post (body content, sender, timestamps, attachments)

    -Map these fields to a best‑effort message representation:

    • body.content > message body (HTML)
    • Attachments > retrieved via /attachments
    • Metadata > map fields such as sender, subject (if available), and timestamp to standard headers (e.g., From, Subject, Date)

    However, please note that:

    -Original internet headers (Message-ID, Received) are not available.

    -Exact MIME structure (multipart boundaries, encoding) cannot be reproduced.

    -Transport-level details (such as DKIM or routing headers) are not exposed.

    One partial exception is that if a group post contains an attached Outlook message, you can retrieve MIME for that specific attachment using:

    GET /groups/{id}/threads/{id}/posts/{id}/attachments/{id}/$value
    

    This applies only to attached messages, not to the group post itself.

    References: 

    I hope this helps clarify current behavior. 


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.    

    0 comments No comments

Your answer

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