The Microsoft Graph API does not directly support getting mail by networkMessageId
. However, you can use the internetMessageId
to find a message.
Please refer the below links for more information.
https://stackoverflow.com/questions/44556311/microsoft-graph-api-find-message-by-internetmessageid
Here is an example of how you can make a GET call:
GET /me/messages?$filter=internetMessageId eq '<1430948481468.34600@THCIE7Dev2.onmicrosoft.com>'
Please note that you must URL encode the internetMessageId.
For example:
GET /me/messages?$filter=internetMessageId eq '%3C1430948481468.34600%40THCIE7Dev2.onmicrosoft.com%3E'
Remember that the message ID may change if a message is moved or altered.
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly.
If you thought this post was helpful, please give it a Thumbs Up.