1

I need to access in-place archive email messages for team members. This was possible via the graph api per here. However, it doesn't seem to be anymore. But are there other approaches like Microsoft Graph Data Connect or use of Content Search folders?

Vince
  • 583
  • 5
  • 20
  • You can use Microsoft Graph API or EWS (Exchange Web Services) API!! – Dev Jan 09 '21 at 14:09
  • If only I could. See the last comment by Alfredo R. on the last answer of the link I provided. – Vince Jan 10 '21 at 15:35
  • Ok, Graph API is out of option now. In such scenario, you can consider the legacy APIs like EWS (Exchange Web Services) or MAPI to access the in-place archive mailbox. If you're using EWS API then make sure you access the wellknownfoldername enum "ArchiveMsgFolderRoot" - this will get you the root of the message folder hierarchy in the archive mailbox. – Dev Jan 10 '21 at 15:54
  • Are you sure that it supports ArchiveMsgFolderRoot? I'm set up for Graph and it'll be a ramp-up to switch over to EWS, so am curious if you are sure. Is there perhaps a quick explorer like the graph explorer so I can ensure feasibility? Thanks. – Vince Jan 10 '21 at 19:37
  • 1
    Yes, i worked with EWS in past and it worked. You can try writing a code or test the same with [EWS Editor](https://github.com/dseph/EwsEditor) as well :) – Dev Jan 11 '21 at 05:10
  • Thanks. We'll try it out and let you know our findings shortly. – Vince Jan 11 '21 at 15:10
  • Sure. Let me know how it goes!! – Dev Jan 11 '21 at 15:45
  • It works, thanks! If you post this as an answer, I'll accept it. – Vince Jan 11 '21 at 16:27
  • Let us [continue this discussion in chat](https://chat.stackoverflow.com/rooms/227167/discussion-between-dev-and-vince). – Dev Jan 11 '21 at 19:18

1 Answers1

0
  • Ok, Microsoft Graph API is out of option now. In such scenario, you can consider the legacy APIs like EWS (Exchange Web Services) or MAPI to access the in-place archive mailbox.
  • If you're using EWS API then make sure you access the wellknownfoldername enum "ArchiveMsgFolderRoot" - this will get you the root of the message folder hierarchy in the archive mailbox.
  • I worked with EWS in past and it worked. You can try writing a code or test the same with EWS Editor utility as well!!
Dev
  • 2,428
  • 2
  • 14
  • 15