Office365: Retention Policy And Deletion Quota

StaffingFuel 21 Reputation points
2021-06-22T12:43:02.693+00:00

Hi All ,

We have set retention policy as '2 day delete' for the email folder from which we are deleting emails daily using Microsoft Graph REST API v1.0 endpoint. After few days we get an exception saying that we have exceeded the deletion quota. So please let us know how to overcome this exception so that we can continue to delete on daily basis.

Thanks
Nitin

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,503 questions
0 comments No comments
{count} votes

Accepted answer
  1. KyleXu-MSFT 26,246 Reputation points
    2021-06-23T07:08:08.353+00:00

    @StaffingFuel

    All deleted email will go to the recoverable folder, here are limitation about recoverable folder:
    108348-qa-kyle-13-56-41.png

    By default, email will keep in this folder for 14 days. You can use command below to set a new value for this folder:

    Set-Mailbox user -RetainDeletedItemsFor 1  
    

    Then follow this article to delete existing emails from this folder: Clean up or delete items from the Recoverable Items folder in Exchange Online


    If the response is helpful, please click "Accept Answer" and upvote it.
    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful