Convert SyncState(EWS) to Delta(Graph)
Hi!
We are changing from EWS to Graph to read a mailbox.
On EWS we used SyncFolderItems operation, with the SyncState (https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/syncfolderitems-operation)
On Graph we use message, with delta (https://learn.microsoft.com/en-us/graph/api/message-delta?view=graph-rest-1.0&tabs=http)
The problem is converting the SyncState to delta.
When the user calls our service, he gives us the last SyncState he had and we give him back the new one after we called SyncFolderId. Now that we are using Graph, the user syncState is not a valid id for the delta, and we need to know where he was at his last reading.
Is there any way to convert SyncState to delta? We don't want the user to read the same messages twice, or to miss some.
Thanks!