Can You Bulk Update Existing SharePoint Anyone Link Expiration Dates?
Question details
The user wants to update the expiration dates of existing SharePoint Online Anyone sharing links in bulk.

- 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.
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.
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.
In the SharePoint admin center, open Policies > Sharing and review the Anyone link expiration setting. Check any applicable site-level restrictions as well.
In the SharePoint document library, select an affected file, open Manage access, and locate its Anyone link under the links section.
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.
Select Share, open Link settings, choose Anyone if available, and review the expiration date. Apply the settings and copy the new link.
Send the new link to the intended recipients and repeat the process for each affected file or link.

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.

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.




