Office365: Retention Policy And Deletion Quota

StaffingFuel 21 Reputation points

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.


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,331 questions
0 comments No comments
{count} votes

Accepted answer
  1. KyleXu-MSFT 26,206 Reputation points


    All deleted email will go to the recoverable folder, here are limitation about recoverable folder:

    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