logo
search
File Sharing Problems

How to Fix SharePoint and OneDrive Anyone Links Not Expiring

Adam DavisAdam Davis Oct 9, 2026 869 views

Question details

SharePoint and OneDrive 'Anyone' links remain accessible even after their configured expiration time has passed.

How to Fix SharePoint and OneDrive Anyone Links Not Expiring
Product
SharePoint and OneDrive
Device & OS
not provided
Scenario
Setting an expiration period for publicly shared files or folders to automatically revoke access after a certain date.
Observed behavior
The 'Anyone' sharing links do not expire as expected and remain fully usable after the set expiration period.
Before you start

Ensure you have access to the Microsoft 365 admin center to review organization-wide sharing policies, and clear your browser cache to confirm you are not loading a locally cached version of the shared file.

Solution 1Recommended

Verify Expiration Policies and Test New Links

Confirm that your tenant policies correctly enforce expiration for 'Anyone' links, and perform isolated tests to rule out specific file corruption.

Sometimes local file settings or conflicting admin center policies prevent links from expiring properly. Isolating the issue by creating brand new test links for different files helps determine if the problem is widespread.

1
Check Admin Policies

Log in to the Microsoft 365 admin center, navigate to the SharePoint admin center, and go to Policies > Sharing to verify that the expiration time for 'Anyone' links is configured correctly.

2
Create Test Files

Create a brand new test folder in your OneDrive or SharePoint directory and place a sample document inside.

3
Generate a New Link

Select the new folder, click 'Share', and generate a new 'Anyone' link with a 1-day expiration setting.

4
Verify Expiration

Wait for the 24-hour expiration period to pass, then attempt to access the exact generated link in an incognito window to verify if it successfully expired.

Verify Expiration Policies and Test New Links
Link Verification: Ensure you are testing the original link that was generated, as generating a new link will reset the expiration timer.
Free Microsoft Office alternative

Try WPS Office for Secure and Reliable File Sharing

Since non-expiring links are often caused by Microsoft 365 service-side delays, consider switching to WPS Office. It provides a lightweight, highly compatible alternative with robust built-in cloud storage and precise control over file sharing permissions.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your device.
  2. 2. Install and Launch: Run the installer, follow the on-screen prompts, and launch the application.
  3. 3. Share Securely: Open any document, click the 'Share' button, and use WPS Cloud to generate secure, time-limited links that expire exactly when you need them to.
Free and lightweight office suite with a familiar user interfaceFully compatible with Microsoft Office formats (Word, Excel, PowerPoint)Built-in WPS Cloud for reliable and secure file sharingEasily set password protection and precise validity periods for shared filesSeamless migration from Microsoft Office with no learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Why do my SharePoint links still work after the expiration date?

This typically occurs due to service-side delays, temporary syncing issues in Microsoft 365, or incorrect policy configurations in the SharePoint admin center that override individual link settings.

Can I manually force a shared OneDrive link to expire?

Yes, you can manually revoke access at any time. Select the shared file, click 'Manage Access', navigate to the 'Links' tab, find the 'Anyone' link, and click the trash can icon to delete it immediately.

Does the expiration policy apply to links shared with specific people?

No, the expiration settings configured in the Microsoft 365 admin center typically only apply to 'Anyone' links (anonymous access). Links restricted to specific people within or outside your organization do not expire automatically unless explicitly set during creation.