-
var client *msgraphsdk.GraphServiceClient
// ...
// Works with a user's onedrive drive items
- = Drives().ByDriveId(driveID).Items().ByDriveItemId("root").Delta()
- = Drives().ByDriveId(driveID).Items().ByDriveItemId("root").DeltaWithToken("...")
// It does not work with a user's mail folder messages
- = client.Users().ByUserId(userID).Messages().Delta()
- = client.Users().ByUserId(userID).Messages().DeltaWithToken("...") // This does NOT work
// It also does not work if we try to go by mail folders:
- = client.Users().ByUserId(userID).MailFolders().Delta()
- = Users().ByUserId(userID).MailFolders().DeltaWithToken("...") // This does NOT work
- = client.Users().ByUserId(userID).MailFolders().ByMailFolderId(mailFolderID).Messages().Delta()
- = client.Users().ByUserId(userID).MailFolders().ByMailFolderId(mailFolderID).Messages().DeltaWithToken("...") // This does NOT work We would like to list all messages of all mail folders of a user in the first run of our tool and list created/updated/deleted messages on the other runs. How can we do this ? |
Beta Was this translation helpful? Give feedback.
Answered by
baywet
Aug 28, 2023
Replies: 1 comment 2 replies
-
Please have a look at that discussion Also the delta with token methods should not exist, please avoid using them here is the rationale Let us know if you have additional questions. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
baywet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please have a look at that discussion
Also the delta with token methods should not exist, please avoid using them here is the rationale
Let us know if you have additional questions.