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

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 13, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 13, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 13, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 13, 2025

      This $4 Steam Deck game includes the most-played classics from my childhood — and it will save you paper

      May 13, 2025

      Microsoft shares rare look at radical Windows 11 Start menu designs it explored before settling on the least interesting one of the bunch

      May 13, 2025

      NVIDIA’s new GPU driver adds DOOM: The Dark Ages support and improves DLSS in Microsoft Flight Simulator 2024

      May 13, 2025

      How to install and use Ollama to run AI LLMs on your Windows 11 PC

      May 13, 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

      Community News: Latest PECL Releases (05.13.2025)

      May 13, 2025
      Recent

      Community News: Latest PECL Releases (05.13.2025)

      May 13, 2025

      How We Use Epic Branches. Without Breaking Our Flow.

      May 13, 2025

      I think the ergonomics of generators is growing on me.

      May 13, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      This $4 Steam Deck game includes the most-played classics from my childhood — and it will save you paper

      May 13, 2025
      Recent

      This $4 Steam Deck game includes the most-played classics from my childhood — and it will save you paper

      May 13, 2025

      Microsoft shares rare look at radical Windows 11 Start menu designs it explored before settling on the least interesting one of the bunch

      May 13, 2025

      NVIDIA’s new GPU driver adds DOOM: The Dark Ages support and improves DLSS in Microsoft Flight Simulator 2024

      May 13, 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

    This $4 Steam Deck game includes the most-played classics from my childhood — and it will save you paper

    May 13, 2025
    News & Updates

    Microsoft shares rare look at radical Windows 11 Start menu designs it explored before settling on the least interesting one of the bunch

    May 13, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    Leveraging AlphaFold and AI for Rapid Discovery of Targeted Treatments for Liver Cancer

    Development

    The 75+ best Labor Day 2024 deals: Shop Amazon, Walmart, Best Buy, and more

    Development

    Streamlining data collection for improved salmon population management

    Artificial Intelligence

    Google DeepMind Researchers Propose CaMeL: A Robust Defense that Creates a Protective System Layer around the LLM, Securing It even when Underlying Models may be Susceptible to Attacks

    Machine Learning
    Hostinger

    Highlights

    Larabelles, Conference Speaking, and more with Zuzana K

    April 10, 2025

    In this episode, Eric Barnes sits down with Zuzana to explore the power of community…

    Study reveals AI chatbots can detect race, but racial bias reduces response empathy

    December 20, 2024

    CVE-2025-46573 – OpenSAMLPassport-WSFed Impersonation Vulnerability

    May 6, 2025

    AI-Powered Genomic Analysis: Transforming Precision Medicine through Advanced Data Interpretation

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

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