Locating documents and sharing them with others within Microsoft Teams channels or chats
Dear @Anabelle Nicoud,
Good day, and I appreciate the clear explanation of your concern. I understand you created a file in SharePoint, set sharing to “Anyone can view with the link”, but recipients are seeing “This link has expired”.
The link may be expired because it was created earlier and is no longer valid, or because your organization enforces expiration for “Anyone” links, causing them to automatically expire after a set period of time.
Since you didn't specify whether you are an IT administrator or an end‑user, please see the following workarounds that will help you verify the issue:
Option 1: Create a new sharing link and resend it
Open SharePoint and select the file.
Select Share.
Open Link settings using the gear icon.
Select Anyone with the link and set the permission to Can view or edit, as needed.
If an Expiration option is shown, set it to a future date. The option to remove expiration is only available if allowed by organizational policy.
Select Apply, copy the link, and send this newly generated link to the recipients.
Please note that when an “Anyone” link expires, the expected behavior is to generate a new link and share it again.
Option 2: Remove expired links and recreate a new one
Select the file in SharePoint > Share > Select Manage access.
Under the Links section, remove any expired or unused links.
Create a new “Anyone with the link” link by following the steps outlined in Option 1, then share it again.
Option 3: Contact your IT admin
If a newly generated “Anyone” link appears as expired immediately, this usually indicates a policy restriction rather than an issue with the file itself.
In this situation, verification from an IT administrator is required. If you are an end-user, I recommend reaching out to your IT or SharePoint administrator and share this information with them for reference.
Step 1: Check organization-level sharing settings
Note: This setting applies tenant-wide unless restricted further at the site level.
Go to the Microsoft 365 admin center > Show all > SharePoint.
In the SharePoint admin center, select Policies, then select Sharing.
Under External sharing, confirm that:
- SharePoint is set to Anyone or New and existing guests.
- OneDrive sharing (if applicable) is also set appropriately.
Scroll to the Advanced settings for sharing section and review:
- Whether “Anyone links must expire within this many days” is enabled.
- The number of days set for expiration.
If business requirements allow, adjust the expiration period to a longer duration or align it with expected usage.
Select Save.
Step 2: Check site-level sharing settings for the affected SharePoint site
Note: Site-level settings can override organization-level settings and cause links to expire or stop working.
In the SharePoint admin center, select Sites > Active sites.
Locate and select the affected SharePoint site.
Select Settings > More sharing settings.
Confirm that the External sharing level isn't more restrictive than the organization-level setting.
For “Anyone” links to work, the site must allow Anyone sharing.
Save any changes if modifications are made.
Step 3: Check link expiration enforcement at the site level
While still viewing the site settings, verify whether:
The site enforces a specific expiration timeframe for Anyone links.
The expiration duration aligns with organizational policy.
If the site enforces immediate or very short expiration, update it if permitted.
Step 4: Ask the user to generate a new link after policy review
Additional information is available in the following resources:
Manage sharing settings for SharePoint and OneDrive in Microsoft 365 - SharePoint in Microsoft 365 …
Best practices for unauthenticated sharing | Microsoft Learn
As community moderators, we kindly ask for your understanding that our access to internal development details is limited. Our primary role is to guide users toward the appropriate resources and support channels. While we may not have visibility into performing deeper backend analysis, we’ll continue doing our best to support you within the scope of our responsibilities.
I hope this information is helpful. If you have any questions or need further support, please don’t hesitate to reach out at any time.
Thank you for your patience and understanding.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have any extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.