How Long Do Microsoft Purview Audit Logs Remain After Removing a License?
Question details
An organization needs to determine how long Microsoft Purview audit logs are kept for a former employee after their software license has been revoked.

- Product
- Microsoft Purview
- Device & OS
- not provided
- Scenario
- Administrators want to retain or access audit logs for a user whose license has been removed due to offboarding.
- Observed behavior
- Audit logs generated while the user was actively licensed remain available based on the organization's retention policy rather than being deleted immediately.
Ensure you have the appropriate compliance administrator roles in Microsoft Purview to search and view audit logs.
Review Purview Audit Log Retention Policies
Check the default and configured retention periods to understand how long the unlicensed user's logs will remain accessible.
When a user's license is removed, the audit logs generated during their active licensed period are preserved. Their availability depends entirely on the retention policy applied at the time the logs were generated.
Verify if the logs fall under the Audit Standard policy, which retains logs for 180 days by default for events generated after October 17, 2023.
For audit events generated prior to October 17, 2023, note that the default retention period is only 90 days.
Log into the Microsoft Purview compliance portal and navigate to the Audit section to check if an Audit Premium retention policy (1-year or 10-year) was applied to the user.

Simplify Document Management with WPS Office
If your organization is managing compliance policies, reports, and administrative documentation, WPS Office offers a cost-effective, highly compatible alternative to expensive Microsoft licenses. Manage your daily office documents seamlessly without worrying about restrictive enterprise licensing.
- 1. Download WPS Office: Visit the official WPS website to download the free office suite.
- 2. Install the Software: Run the installer and follow the on-screen instructions to complete the setup.
- 3. Open Your Documents: Launch WPS Office and directly open your existing Word, Excel, or PowerPoint files without formatting loss.

Frequently Asked Questions
Are audit logs deleted immediately when an Office 365 license is removed?
No. Audit logs generated while the account was licensed are preserved and remain searchable in Microsoft Purview until their retention period expires.
Can I retrieve Purview audit logs older than 180 days for unlicensed users?
Only if your organization has an Audit Premium license and configured a custom retention policy (up to 1 or 10 years) before the logs expired. Standard logs are permanently deleted after the 180-day default period.
Do I need to assign a license to a former employee to view their past audit logs?
No, reassigning a license is not necessary. As long as the logs are within the active retention timeframe, administrators can search for them in the Purview compliance portal.




