How to Fix OneDrive Sharing Resolving to a Deleted User Account
Question details
The user needs to share OneDrive files with a replacement account, but the system incorrectly resolves the recipient to a previously deleted user identity, preventing file access.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Sharing a file or folder with an external recipient whose previous account was deleted and replaced by a new identity.
- Observed behavior
- OneDrive continues to link the sharing permission to the deleted, stale identity instead of the new account, causing an access denied error for the new user.
Ensure you have the necessary administrator privileges in the Microsoft 365 Admin Center, as resolving identity conflicts often requires checking Microsoft Entra ID (formerly Azure AD) guest user settings.
Remove Stale Sharing Permissions and Reshare
Use this solution to manually clear out the old sharing links and force OneDrive to create a fresh permission link for the new account.
Often, the file itself retains a hidden permission object linked to the deleted user. Removing the old sharing link completely and creating a new one bypassing the cached identity can resolve the issue.
Open OneDrive on the web, find the file or folder you are trying to share, and click the three horizontal dots (More options) next to it.
Select 'Manage Access' from the dropdown menu to view all users and links currently associated with the file.
Locate the deleted user's identity under the 'People' or 'Links' tab, click on their permissions, and select 'Stop sharing' or 'Remove'.
Click the 'Share' button again, manually type out the complete new email address (do not select it from the autocomplete dropdown), and send the invitation.

Verify and Clean Up Microsoft Entra ID Objects
If resharing does not work, the old identity may still exist as a stale guest object in your organization's directory.
Open a Microsoft 365 Service Request
Use this step if the old identity continues to appear despite clearing local permissions and directory objects.
Looking for a Hassle-Free Office Suite? Try WPS Office
If you are tired of dealing with complex backend administrative issues and permission syncing errors in Microsoft 365, consider switching to WPS Office. It provides a lightweight, free, and incredibly user-friendly alternative for all your document creation and sharing needs without the IT headache.
- 1. Download the Installer: Visit the official WPS website and click the download button for your operating system.
- 2. Install the Software: Run the downloaded installer and follow the straightforward on-screen instructions to set up the suite.
- 3. Create and Share: Open WPS Office to instantly create, edit, and seamlessly share your documents via lightweight cloud links.

Frequently Asked Questions
Why is OneDrive still suggesting a deleted user when I try to share a file?
OneDrive often caches recipient email addresses to speed up the sharing process. It may also pull stale identity objects from Microsoft Entra ID that have not fully synchronized or been purged after the original account was deleted.
Can I manually clear the sharing autocomplete cache in OneDrive?
Yes. When typing the recipient's name in the sharing dialogue box, hover your mouse over the incorrect suggestion that appears and click the 'X' next to it to remove it from your local sharing cache.
How long does it take for a deleted user to be completely removed from Microsoft 365?
While a user deletion might seem immediate, it can take up to 24 to 72 hours for the changes to fully propagate across all Microsoft 365 services, including OneDrive, SharePoint databases, and the offline address book.
Will deleting a stale guest user in Entra ID affect other shared files?
Yes. Deleting a guest user object will remove their access to any files or SharePoint sites currently shared with that specific object. You will need to reshare those resources with their new account.




