msgraph-sdk-dotnet
msgraph-sdk-dotnet copied to clipboard
Regression: The '$filter' parameter value is not supported for 'Messages' resource
Describe the bug A clear and concise description of what the bug is. Delta sync on the resource 'Messages' doesn't support $filter. We use this feature for more than a year and it stopped to work on my email account.
Example:
https://graph.microsoft.com/v1.0/me/mailFolders/inbox/messages/delta?$filter=receivedDateTime+ge+2022-10-05T10:07:09Z
Results in:
{
"error": {
"code": "ErrorInvalidUrlQuery",
"message": "The '$filter' parameter value is not supported for 'Messages' resource; only a value of 'receivedDateTime ge value' is supported."
}
}
To Reproduce Steps to reproduce the behavior:
curl 'https://graph.microsoft.com/v1.0/me/mailFolders/inbox/messages/delta?$filter=receivedDateTime+ge+2022-10-05T10:07:09Z' \
-H 'Accept: */*' \
-H 'Authorization: Bearer .... ' \
--compressed
Expected behavior It should follow the contract: https://learn.microsoft.com/en-us/graph/delta-query-messages#use-query-parameters-in-a-delta-query-for-messages
Screenshots If applicable, add screenshots to help explain your problem.

Hey @kadukf-outreach,
Any chance you can still replicate this? From my end the query works without issue on the Graph Explorer
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.
It looks like the issue was fixed or so. Closing the ticket.