Microsoft Graph API does not return the first user-sent message in a thread initiated by the user.
Console Errors: N/A
Screenshots: N/A
Steps to Reproduce
Use the following GET request to retrieve emails: GET https://graph.microsoft.com/v1.0/me/messages?$search="(to:username@companyname.io OR from:username@companyname.io) AND received>=2023-11-01 AND received<=2023-11-19"&$select=subject,toRecipients,from,ccRecipients
Observe that all emails meeting the condition are returned except for the very first message in a thread initiated by the user.
Expected behavior: The Microsoft Graph API should return all emails meeting the specified condition, including the very first message in a thread initiated by the user.
Actual behavior: The API does not return the first user-sent message in a thread initiated by the user.
Bug Report
Description
Microsoft Graph API does not return the first user-sent message in a thread initiated by the user.
Console Errors: N/A
Screenshots: N/A
Steps to Reproduce
GET https://graph.microsoft.com/v1.0/me/messages?$search="(to:username@companyname.io OR from:username@companyname.io) AND received>=2023-11-01 AND received<=2023-11-19"&$select=subject,toRecipients,from,ccRecipients
Expected behavior: The Microsoft Graph API should return all emails meeting the specified condition, including the very first message in a thread initiated by the user.
Actual behavior: The API does not return the first user-sent message in a thread initiated by the user.
Additional Context
A similar issue was discussed in this thread: Link to Discord Thread
Usage Information
Request ID - N/A (No Graph API error response received)
SDK Version - "@microsoft/microsoft-graph-client": "^3.0.6",