Allow Graph API access to Archive Mailbox (aka In-place Archive)
Microsoft's official documentation for Graph API access to Archive mailboxes is non-existent, and what people cobble together on public sites like StackOverflow is highly contradictory:
(some say it's impossible, some possible, but suggested solutions don't actually work).
- If it's possible to access Archive mailboxes (not just the regular archive folder in the normal mailbox!) via Graph API, document it properly.
- If it's not possible, make it possible.
How is this not supported already?
That's doesn't work for the online archive
This feature already exists, you can access the archived mailbox by using well-known folder name:
For example, to get messages from the Inbox folder in the Archive Mailbox (aka In-Place Mailbox) you should execute the following query:
More details available here: https://ivanderevianko.com/2020/02/get-messages-from-archived-mailbox-aka-in-place-archive-using-graph-api