mailbox quota

Glenn Maxwell 11,316 Reputation points
2022-10-22T06:15:16.25+00:00

Hi All
i am using exchange 2016 hybrid environment. we create users in onprem and migrate to online. One of my users mailbox has exceeded its quota. The user has deleted the emails but still he is unable to send or receive emails. i believe emails are in deleted items or recoverable items folder. Litigation hold is disabled on users mailbox.

Get-Mailbox -identity "user1@Company portal .com" | FL LitigationHoldEnabled,InPlaceHolds
LitigationHoldEnabled : False
InPlaceHolds : {}

Get-Mailbox -identity user1@Company portal .com | FL SingleItemRecoveryEnabled,RetainDeletedItemsFor
SingleItemRecoveryEnabled : True
RetainDeletedItemsFor : 14.00:00:00

I will execute the below syntax, will these delete the items in deleted items and recoverable items folder.
Set-Mailbox "user1@Company portal .com" -UseDatabaseRetentionDefaults $false -SingleItemRecoveryEnabled $false -RetainDeletedItemsFor 0

If i need to revert back is the below settings correct
Set-Mailbox "user1@Company portal .com" -UseDatabaseRetentionDefaults $false -SingleItemRecoveryEnabled $true -RetainDeletedItemsFor 14

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,515 questions
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,624 questions
{count} votes

Accepted answer
  1. KyleXu-MSFT 26,261 Reputation points
    2022-10-28T07:42:54.097+00:00

    @Glenn Maxwell

    Yes. You could use above command to remove those items.

    Before that, you could use command below to check the original value:

    Get-Mailbox "user1@contoso.com" | select UseDatabaseRetentionDefaults,SingleItemRecoveryEnabled,RetainDeletedItemsFor  
    

    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 comments No comments

1 additional answer

Sort by: Most helpful
  1. Cedric NONOGNI 161 Reputation points
    2022-10-22T16:40:09.693+00:00

    Hi @Glenn Maxwell
    Since you said you “believe “ I would first suggest you to confirm the current size of the user mailbox before and after deletions, because sometimes users are deleting items with less impact on mailbox size.

    Secondly it would be good if you could confirm with the NDR that it is a quota related issue.

    1 person found this answer helpful.
    0 comments No comments

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.