File Sharing Problems

Can You Bulk Update Existing SharePoint Anyone Link Expiration Dates?

Maira MehtabMaira Mehtab Nov 13, 2026 868 views

Question details

The user wants to update the expiration dates of existing SharePoint Online Anyone sharing links in bulk.

Can You Bulk Update Existing SharePoint Anyone Link Expiration Dates?
Product
SharePoint Online
Device & OS
not provided
Scenario
A SharePoint administrator has changed the link expiration policy and wants existing anonymous links to follow it.
Observed behavior
Existing Anyone links do not automatically adopt the changed expiration policy.
Before you start

Confirm that Anyone links are allowed and check the current expiration policy in the SharePoint admin center under Policies > Sharing. Make a list of affected files and link recipients so you can distribute replacement URLs.

Solution 1Recommended

Replace Existing Anyone Links With New Links

Use this workaround when existing anonymous links need to follow the current expiration policy.

SharePoint Online does not provide a built-in interface or PowerShell command to bulk-update the expiration dates of existing Anyone links. Changing the policy does not retroactively update those links.

1
Check the policy

In the SharePoint admin center, open Policies > Sharing and review the Anyone link expiration setting. Check any applicable site-level restrictions as well.

2
Find the existing link

In the SharePoint document library, select an affected file, open Manage access, and locate its Anyone link under the links section.

3
Remove the old link

Open the link's options and choose the option to remove or delete it. People using that URL will no longer be able to access the file through that link.

4
Create a replacement

Select Share, open Link settings, choose Anyone if available, and review the expiration date. Apply the settings and copy the new link.

5
Redistribute the URL

Send the new link to the intended recipients and repeat the process for each affected file or link.

Replace Existing Anyone Links With New Links
Replacement links have new URLs: Removing an old link invalidates that URL. Plan the replacement and recipient communication before removing links that are still in use.
Free Microsoft Office alternative

Work With Shared Office Files in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for working with Office documents. Open files downloaded from SharePoint and continue editing them with minimal disruption. WPS Office does not change SharePoint link expiration policies.

Open and edit files downloaded from SharePoint.Compatible with Microsoft Office formats including DOCX, XLSX, and PPTX.Use a familiar interface that makes switching from Microsoft Office easier.Work with a free, lightweight office suite.
microsoft office alternative - wps office

Frequently Asked Questions

Does changing the SharePoint expiration policy update existing Anyone links?

No. Existing Anyone links do not automatically adopt the changed policy. To use the current policy, remove each old link and create a replacement.

Can PowerShell bulk-update expiration dates on existing anonymous links?

SharePoint Online does not provide a built-in PowerShell command to bulk-update those existing link expiration dates. The usual workaround is to replace the links.

Will the old URL work after I remove an Anyone link?

No. Removing the link invalidates that URL. Copy the newly created link from the Share dialog and send it to the intended recipients.

Why can't I select Anyone when creating a new link?

Anyone links may be restricted by your organization or site settings. Ask a SharePoint administrator to check Policies > Sharing in the SharePoint admin center and the site's sharing settings.