How to Review External OneDrive File Sharing After Restricting Access
Question details
An administrator needs to determine if users' OneDrive files still have active external sharing links after changing the organization's policy to internal-only, given that Microsoft Purview audit logs only retain 30 days of data.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- An organization has updated its sharing permissions to restrict file access to internal users only, and the administrator wants to audit legacy external links.
- Observed behavior
- The administrator cannot retrieve comprehensive audit logs beyond 30 days to review previously created external sharing links.
Ensure you have global administrator or SharePoint administrator privileges in the Microsoft 365 admin center to view and enforce organization-wide sharing settings.
Verify Organization-Wide OneDrive Sharing Policies
Confirm that the tenant-level sharing settings are strictly enforced. When the organization-wide policy is applied, manual auditing of old links becomes unnecessary.
When sharing permissions are updated to 'Only people in your organization', any previously generated links intended for external users immediately stop working. Because the tenant-level policy supersedes item-level link permissions, it is not necessary to manually review or revoke every existing external link. You only need to verify the policy is active.
Log in to the Microsoft 365 admin center using your administrator credentials, then navigate to the SharePoint admin center.
In the left-hand navigation pane, expand the 'Policies' section and select 'Sharing'.
Check the permission sliders for both SharePoint and OneDrive. Ensure they are dragged down to 'Only people in your organization', which is the least permissive setting.
Scroll to the bottom of the page and click 'Save' if you made any adjustments. This guarantees the strict internal-only policy is applied across all user accounts.

Manage and Edit Cloud Documents Seamlessly with WPS Office
If you are managing organizational documents, WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office. It integrates smoothly with various cloud storage services, allowing secure internal document editing and sharing without the overhead of complex administrative settings.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install the Software: Run the downloaded installer and follow the brief on-screen instructions to set up WPS Office on your device.
- 3. Access Your Documents: Open WPS Office and connect your preferred cloud storage to start editing your documents with full Microsoft format compatibility.

Frequently Asked Questions
Do I need to manually delete external sharing links after changing the policy?
No. Once the organization-wide policy is set to internal-only, all previously created external links are instantly deactivated and will display an access error if clicked by external users.
Why can't I see OneDrive sharing events older than 30 days in the Purview audit log?
Standard Microsoft 365 licensing typically retains audit logs for a limited duration. Depending on your specific subscription tier, default retention may be restricted to 30 days unless an Audit (Premium) license is active or specific retention policies are configured.
Can I make exceptions for specific users to share files externally?
If the tenant-level sharing setting is set to internal-only, it restricts everyone across the organization. To allow specific users to share externally, you must increase the tenant-level permissions and then restrict other users individually via site-level or OneDrive-specific sharing settings.




