A Microsoft file hosting and synchronization service.
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:
- User deletion
- A user is deleted via Microsoft 365 admin center or through Active Directory sync.
- This deletion is synchronized to SharePoint.
- OneDrive cleanup and retention
- The OneDrive Clean Up Job marks the user's OneDrive for deletion.
- The user remains in the admin center for 30 days.
- The default OneDrive retention is also 30 daysYou can change this in the SharePoint admin center.
- See Set the OneDrive retention for deleted users or by using the PowerShell cmdlet:
Set-SPOTenant -OrphanedPersonalSitesRetentionPeriod <int32>. - For more information about using this cmdlet, see Set-SPOTenant.
- Learn more about retention and deletion: The OneDrive deletion process
- 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
- Reminder before deletion
- A second email is sent to the manager or secondary owner 7 days before the OneDrive is deleted.
- 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".
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.