dnorris96's avatar
dnorris96
Copper Contributor
Jun 21, 2023
Status:
New

Expose intermetMessageId in Graph API for Teams Group

The scenario is a Teams Group has an email address, and is configured to not forward email to individual group members.  We need to be able to find via API the specific message received by the Team Group that corresponds with a known email message selected from a mailbox Sent Items.  The use case is a custom recall function in which a Sent Item is selected and deleted from recipients.  For the case where the message is sent to a Teams Group, we are not able to find the message by internetMessageId.
The properties returned via /groups/{{teamId}}/conversations and /groups/{{teamId}}/threads do not include most of the MIME properties.  Properties include lastDeliveredDateTime which may not exactly match the DateTimeSent of the email message.  Properties also include uniqueSenders, but values appear to return displayName rather than email address.
The request is to expose MIME properties or at least the internetMessageId value of a mail message when queried through the /groups/{{teamId}}/conversations or /groups/{{teamId}}/threads APIs. 

No CommentsBe the first to comment