How do I bulk move folders in an Inbox to the In-Place Archive in PS

Torza, Michael 20 Reputation points
2023-05-11T16:51:21.2866667+00:00

I work as a IT service desk technician that has a user with a 93% full inbox with an in-place archive setup for them. However the in-place archive is empty as the user does not have access to all subfolders because it is giving them an error that "some items are private and cannot be moved"

My question is, is there a way to give full access to all folders AND subfolders so the user can just drag and drop the folders to the in-place archive?

Or is there a way in exchange online to move the Inbox\archive folder to In-place-Archive folder in PS?

Microsoft Exchange Online
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,519 questions
0 comments No comments
{count} votes

Accepted answer
  1. Kael Yao-MSFT 37,646 Reputation points Microsoft Vendor
    2023-05-12T01:32:43.46+00:00

    Hi @Torza, Michael,

    I would suggest creating an Exchange Online retention policy to automatically archive old emails.

    Overview of Exchange retention policy: Retention tags and retention policies in Exchange Online

    You can add custom retention tags (which decides either to delete or archive emails which reach a certain age) to a retention policy and assign this policy to the user mailbox.

    However the in-place archive is empty as the user does not have access to all subfolders because it is giving them an error that "some items are private and cannot be moved"

    Is the detailed error message like "Cannot copy this folder because it may contain private items"?

    This may be related to shared mailbox, while it does not occupy primary mailbox storage quota.

    For more information please refer to this link: "Cannot copy this folder because it may contain private items" error in Outlook


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.