Deleted File Recovery

Access a Deleted User's OneDrive with Microsoft Graph

John WilsonJohn Wilson Nov 13, 2026 869 views

Question details

The user needs to know how to access a deleted Microsoft 365 user's OneDrive by using Microsoft Graph and what administrator retention rules apply.

Access a Deleted User's OneDrive with Microsoft Graph
Product
Microsoft OneDrive with Microsoft Graph
Device & OS
not provided
Scenario
An administrator or developer must recover files from a former user's OneDrive after the account was deleted or unlicensed.
Observed behavior
Microsoft Graph does not normally provide direct access to a deleted user's OneDrive after the account is removed; access depends on administrator recovery options and the OneDrive retention period.
Before you start

Check in the Microsoft 365 admin center whether the account is deleted or only unlicensed, and confirm the tenant's OneDrive retention period before attempting recovery.

Solution 1Recommended

Restore a deleted Microsoft 365 user account within the retention period

Use this method when the user account has been deleted and the former user's OneDrive is still retained, typically for 30 days.

After a Microsoft 365 user is deleted, the associated OneDrive is retained for a limited period. Restoring the account reconnects the user identity and makes the OneDrive content accessible again through standard admin tools. Microsoft Graph access remains governed by Microsoft 365 permissions and data retention policies.

1
Open Microsoft 365 admin center

Sign in at admin.microsoft.com with a global or SharePoint administrator account.

2
Restore the deleted user

Go to Users > Deleted users, select the deleted user, and select Restore.

3
Access the OneDrive files

After restoration, open the user's OneDrive from the admin center or assign access to another administrator to download the files.

Restore a deleted Microsoft 365 user account within the retention period
Retention window: If the account is not restored before the tenant's retention period ends, the OneDrive content may be permanently deleted.
Free Microsoft Office alternative

If OneDrive Recovery Is Limited, Keep Documents Manageable with WPS Office

WPS Office is a free, lightweight Office alternative that opens and saves Microsoft Word, Excel, and PowerPoint files with high compatibility. It provides a familiar ribbon interface and local file management, so you can avoid relying only on complex Microsoft 365 recovery and retention workflows.

Local document storage helps reduce dependency on Microsoft 365 account recovery limits.Opens and edits Microsoft Word, Excel, and PowerPoint formats with high compatibility.Free and lightweight Office suite with a familiar ribbon-style interface.Built-in file repair and recovery tools for common document issues.
microsoft office alternative - wps office

Frequently Asked Questions

Can Microsoft Graph directly access a deleted user's OneDrive?

Microsoft Graph does not normally provide direct access after the account is removed. Access depends on whether the user is unlicensed or deleted and on the Microsoft 365 retention policy.

How long is a deleted user's OneDrive retained in Microsoft 365?

The former user's OneDrive is generally retained for a limited period, commonly 30 days, but the exact period depends on tenant settings and Microsoft 365 administrator configuration.

What is the difference between removing a license and deleting a user?

If you remove a user's license without deleting the account, the user remains in Active users and an administrator can grant OneDrive access. If you delete the account, you normally must restore it within the retention period to access the OneDrive data.

How can an administrator access a former user's OneDrive files?

In the Microsoft 365 admin center, go to Users > Active users or Deleted users, select the user, and use the OneDrive tab options such as Access files or Restore.

Does WPS Office recover OneDrive files deleted by Microsoft 365?

WPS Office is an Office alternative and document management suite. It does not control Microsoft 365 OneDrive retention or restore deleted Microsoft accounts, but it can open, edit, and repair local Microsoft Office documents.