When a message is archived via the ExchangeWebServer API ArchiveItem option (https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/archiveitem-operation), there is no way to programmatically read the archived message.
Can the graph api expose items in the archive and allow for messages to be read from the In-place archive.
7 Comments
- kevindrummond13Copper Contributor
I currently have a few scripts for managing items within the in-place archive using EWS managed API, and would like to get these updated to Graph API as soon as possible seeing as EWS has a limited shelf life.
Please can you provide an update as to when you will start development on this?
- jfrmilnerCopper Contributor
koduri77 No, still pending from Microsoft (https://techcommunity.microsoft.com/t5/exchange-team-blog/retirement-of-exchange-web-services-in-exchange-online/ba-p/3924440). Yes (at the time of writing 2024-01-23), the EWS API can access the in-place archive.
- koduri77Copper Contributor
Do we have a resolution on this yet? Also, is it true that with EWS API - we can access in-place archive folders?
- mtl-michaelCopper Contributor
Upvoting this - as an MSP this would help us manage client emails more easily. At the moment, if we want to move messages to in-place archive, we have to be at their computer.
- SafmanBrass Contributor
Same here, we need to retrieve data from the main mailbox along with the in-place archive. I guess we need to revert to the EWS, waiting a long time for the API to be updated is not an option for us.
- max4bisCopper Contributor
Same for us. It is really annoying that this feature is just not available through the api
- arthur-caillaudCopper Contributor
Our company is moving back to using EWS API as retrieving data from in-place archives is mandatory.