Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      CodeSOD: A Unique Way to Primary Key

      July 22, 2025

      BrowserStack launches Figma plugin for detecting accessibility issues in design phase

      July 22, 2025

      Parasoft brings agentic AI to service virtualization in latest release

      July 22, 2025

      Node.js vs. Python for Backend: 7 Reasons C-Level Leaders Choose Node.js Talent

      July 21, 2025

      The best CRM software with email marketing in 2025: Expert tested and reviewed

      July 22, 2025

      This multi-port car charger can power 4 gadgets at once – and it’s surprisingly cheap

      July 22, 2025

      I’m a wearables editor and here are the 7 Pixel Watch 4 rumors I’m most curious about

      July 22, 2025

      8 ways I quickly leveled up my Linux skills – and you can too

      July 22, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025
      Recent

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025

      Zero Trust & Cybersecurity Mesh: Your Org’s Survival Guide

      July 22, 2025

      Execute Ping Commands and Get Back Structured Data in PHP

      July 22, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025
      Recent

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025

      “I don’t think I changed his mind” — NVIDIA CEO comments on H20 AI GPU sales resuming in China following a meeting with President Trump

      July 22, 2025

      Galaxy Z Fold 7 review: Six years later — Samsung finally cracks the foldable code

      July 22, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Operating Systems»Cannot Delete Emails from Deleted Items Folder in Office 365 Mailbox

    Cannot Delete Emails from Deleted Items Folder in Office 365 Mailbox

    May 10, 2025

    This issue could be due to the retention policies but this could also be caused by litigation hold, eDiscovery case hold. Before proceeding verify the quota is exceeding by running below command

    Get-MailboxStatistics -identity <PrimarySMTPAddress> -folderscope recoverableitems | format-table name, folderandsubfoldersize, itemsinfolderandsybfolders -auto

    Verify the storage utilization by the “RecoveryItem” folder, A regular mailbox will have a max size of 30 GB and 100 GB for the mailbox that has litigation hold.

    We need to make sure to disable deleted item retention and single item recovery for the mailbox until the issue is fixed by executing below commands:

    Set-Mailbox <PrimarySMTPAddress> -RetainDeletedItemsFor 0
    Set-Mailbox <PrimarySMTPAddress> -SingleItemRecoveryEnabled $false

    Once the above steps are completed and verified, continue with below commands.

    Get-mailbox -identity <Mailbox> | Select-Object ElcProcessingDisabled.

    Set-Mailbox -identity <Mailbox> -ElcProcessingDisabled $False

    Start-ManagedFolderAssistant <Mailbox> -Fullcrawl

    Wait for 15 mins

    Start-Managefolderassistant <Mailbox> -holdcleanup

    Wait for 1 hour and then execute the below command:

    Start-ManagedFolderAssistant <Mailbox>

    After the issue is fixed execute the below commands to re-apply the settings

    Set-Mailbox <PrimarySMTPAddress> -RetainDeletedItemsFor 14
    Set-Mailbox <PrimarySMTPAddress> -SingleItemRecoveryEnabled $true
    Start-ManagedFolderAssistant -Identity <PrimarySMTPAddress>

     

    You will notice the mailbox recovery in about next 30-60 Mins.

    Thanks,
    WintelAdmin

    The post Cannot Delete Emails from Deleted Items Folder in Office 365 Mailbox first appeared on Windows Administrators Blog!.

    Source: Read More 

    windows
    Facebook Twitter Reddit Email Copy Link
    Previous ArticleWindows Administrators Blog Named One of FeedSpot’s Top 25 Microsoft Windows Blogs
    Next Article Laravel Routing

    Related Posts

    News & Updates

    A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

    July 22, 2025
    News & Updates

    “I don’t think I changed his mind” — NVIDIA CEO comments on H20 AI GPU sales resuming in China following a meeting with President Trump

    July 22, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    Critical vulnerability in SAP NetWeaver enables malicious file uploads

    Security

    Kingdom Come: Deliverance 2’s Patch 1.2.4 update just added a new Hardcore Mode, and I can’t wait to get my Bohemian butt kicked

    News & Updates

    The Role of Customer Support for Business Growth

    Web Development

    CVE-2025-4360 – iSourcecode Gym Management System SQL Injection Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    Development

    People of Perficient: Spotlight on Cecilia Prieto

    July 4, 2025

    If you ask Cecilia Prieto what makes her proud to be at Perficient, her answer…

    CVE-2025-49788 – Apache HTTP Server Cross-Site Request Forgery

    June 11, 2025

    How to Implement a Service Worker with WorkBox in a Progressive Web App

    June 23, 2025

    CVE-2025-4803 – WPPedia PHP Object Injection Vulnerability

    May 21, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.