Share via

Total retention time for OneDrive files after user deletion

Chris LeMay 190 Reputation points
2025-10-16T18:55:53.26+00:00

Howdy!

I have a quick OneDrive question that I was hoping somewhere here may be able to help with. My question is, how is the total retention time for OneDrive calculated for a deleted user and when does retention count down timer start?

From what I can see, in a default tenant a deleted user is retained in Azure for 30 days in the "Deleted Users" section. The default OneDrive retention is then set for 30 day after deletion. After those 30 days of OneDrive retention, the files are then moved to the site collection level and retained for another 93 days.

Are the 30 days retention as a deleted user in Azure and the 30 days in OneDrive after deletion overlapping or sequential? Which one of these is true with the default setup?

User deleted in Azure -> 30 days retention in Azure -> OneDrive delegate notification triggered -> 30 Days retention in OneDrive -> 93 days retention in SharePoint site collection = 153 days total

User deleted in Azure -> OneDrive delegate notification triggered -> Combined 30 days retention in Azure/OneDrive -> 93 days retention in SharePoint site collection = 123 days total

Thank you for your time!

*** This information is removed for privacy ***

Microsoft 365 and Office | OneDrive | For business | Windows
0 comments No comments

Answer accepted by question author

  1. Anonymous
    2025-10-16T20:42:53.64+00:00

    Hi @Chris LeMay 

    Thank you for posting your question in the Microsoft Q&A forum.        

    Regarding your question about how OneDrive handles retention for deleted users, when a user is deleted from Microsoft Entra ID (formerly Azure AD), their OneDrive retention period begins immediately. This 30-day retention is not sequential to the Azure AD deletion grace period, the two run concurrently. 

    The OneDrive deletion process works as follows: 

    1. User deletion 
    • A user is deleted via Microsoft 365 admin center or through Active Directory sync. 
    • This deletion is synchronized to SharePoint. 
    1. OneDrive cleanup and retention 
    1. Access notification 
    • If a manager is assigned, they receive an email with access and deletion notice. 
    • If no manager is set but a secondary owner is defined, they receive the same notification. 
    • Learn more about unlicensed OneDrive accounts and access delegation: Timeline for unlicensed accounts  User's image
    1. Reminder before deletion 
    • A second email is sent to the manager or secondary owner 7 days before the OneDrive is deleted. 
    1. Post-retention handling 
    • After the retention period, the OneDrive is moved to the site collection recycle bin for 93 days. 
    • Shared content becomes inaccessible. 
    • Restoration is only possible via PowerShell. 

    So in total, the retention period is 123 days: 

    30 days (Azure AD + OneDrive, overlapping) + 93 days (site collection level) = 123 days total 

     

    I hope the information shared helps clarify your question. While it may not resolve the issue directly, I’m here to support you further if anything remains unclear or if you'd like to explore additional options. 

    Thank you again for your patience and understanding. If you have any other questions or need further assistance, feel free to reach out anytime. 

    Looking forward to hearing from you. 

    Best regards,  

     


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".   User's image

    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.

    Was this answer helpful?

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.