问题
I want to fetch events from Recoverable items folder inside Deleted Items.
Do we have support with rest API to access these mails/calendars/contacts inside recoverable folder?
I couldn't find any article about it nor it is listed in outlook mail rest API reference.
Any help is appreciated
回答1:
You can use the WellKnownFolder enumerations for the RecoverableItems folders so make a request like this to list all the folders
https://graph.microsoft.com/v1.0/users('user@domain.com')/MailFolders/recoverableitemsroot/childfolders/?$Top=1000
or for items in the folders
GET https://graph.microsoft.com/v1.0/users('user@domain.com')/MailFolders/recoverableitemsdeletions/messages
来源:https://stackoverflow.com/questions/52424767/rest-api-for-o365-eo-recoverable-items-folder