I'm trying to move the content of one folder in Exchange Online to the 'In-Place Archive'. As I have to do this for different folder for different users I was thinking of doing it with Powershell Search-Mailbox
but I can´t find the proper path to put in -TargetMailbox
Could you point it out?
Best Answer
As far as I know, it couldn’t simply use “search-mailbox” to move items to in-place archive mailbox, I found a script using EWS API, you could try it: https://gallery.technet.microsoft.com/scriptcenter/Move-emails-to-Archive-or-5394bb0d
In addition, I think it is better to use retention policy to move items to in-place archive.