Microsoft EWS api SyncFolderItems operation returns infinite ReadFlagChange events for group mail

Joyce Beck 31 Reputation points
2022-07-29T07:10:03.207+00:00

Hello,
 We've met an issue when we use EWS SyncFolderItems api to sync inbox items for group mail.
There are 12143 items in the inbox, and we pull 500 changes per api. However, we've tried to pull 1000 times (eg. 500000 changes) and it still hasn't done yet.
 We found that it starts from beginning again after ReadFlagChanges of all 12143 items are pulled. (eg. looping)
 All the changes are of "ReadFlagChange" type with "IsRead" being false. We found that there is no way to filter out such "ReadFlagChange".
 Is there any way to solve the problems, either to filter out all ReadFlagChange or to stop the infinite sync state pulling, it seems like an api issue.
226065-%E5%9C%96%E7%89%87.png

Thank you~!
Best regards,
Ethan Fang

Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
555 questions
{count} votes

Your answer

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