What Happens to Exchange and OneDrive Data When a Microsoft 365 License Is Removed
Question details
The user needs to understand the impact of unassigning a Microsoft 365 license on an account's Exchange Online and OneDrive data, specifically regarding access and retention timelines.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Unassigning a Microsoft 365 education or enterprise license from a user account in the admin center.
- Observed behavior
- The user loses access to Exchange Online and OneDrive, and data retention timelines are triggered based on the specific tenant configurations and policies.
Before removing any Microsoft 365 license, ensure you have actively exported important Exchange emails and transferred essential OneDrive files to prevent permanent data loss.
Manage Data Retention Before and After License Removal
Follow these best practices to handle Exchange and OneDrive data safely when unassigning a Microsoft 365 license.
When a Microsoft 365 license is removed, the user immediately loses access to their Exchange Online mailbox and OneDrive files. However, the underlying data is not instantly deleted. The retention period depends heavily on the specific service, your tenant configuration, account status, and any active compliance policies (such as Litigation Hold).
It is highly recommended to export or transfer important data before removing the license, rather than relying on default retention periods which can vary.
Before removing the license, log in as an administrator or have the user use Outlook to export all important emails, contacts, and calendar items to a local PST file.
Have the user download their crucial OneDrive files to a local drive, or as an admin, use the Microsoft 365 admin center to grant access to another user so the files can be copied to a shared repository.
Navigate to the Microsoft Purview compliance portal to check if there are any active retention policies or Litigation Holds that will preserve the data even after the license is removed.
Go to the Microsoft 365 Admin Center, select 'Users' > 'Active users', click on the specific user, navigate to the 'Licenses and apps' tab, uncheck the license, and save changes.
If a license was removed accidentally, promptly return to the 'Licenses and apps' tab and reassign the correct license to restore the user's access and pause any deletion timers.

Need a Free Office Suite After License Removal? Try WPS Office
If your Microsoft 365 license was removed and you can no longer access Microsoft Word, Excel, or PowerPoint, WPS Office provides an excellent, free alternative. You can easily edit all your downloaded OneDrive documents locally without a subscription.
- 1. Download WPS Office: Visit the official WPS website and download the free WPS Office installer for your operating system.
- 2. Install the Software: Run the installer and follow the simple on-screen instructions to set up the software on your local machine.
- 3. Open Your Backed-Up Files: Launch WPS Office, click 'Open', and select the Word, Excel, or PowerPoint files you previously downloaded from your OneDrive.

Frequently Asked Questions
How long is my OneDrive data kept after my Microsoft 365 license is removed?
There is no single guaranteed retention period. While 30 days is a common baseline for deleted accounts, simply unassigning a license relies on your organization's specific tenant configurations and retention policies. Always back up data beforehand.
Can the user still access their emails if only the Exchange Online license is unassigned?
No. Removing the Exchange Online license immediately revokes the user's access to their mailbox. The data remains stored in the background for a limited time, but the user cannot log in to view or send emails.
What is the difference between removing a license and deleting a user account?
Removing a license takes away access to services but keeps the user identity active in Azure AD. Deleting a user account entirely triggers separate, rigid deletion timelines for both the Exchange mailbox and OneDrive, typically moving them to a permanently deleted state after 30 days unless specific retention holds are in place.
Is it possible to recover Exchange and OneDrive data if the license was removed by mistake?
Yes. If you promptly reassign the appropriate Microsoft 365 license to the user account, their access to the Exchange mailbox and OneDrive will be restored, and their data will become accessible again.




