All SharePoint Online Sharing Links Now Support Expiration Dates

Support for Sharing Links Expiration Added for Company-wide and Specific People Links

The change announced in message center notification MC799277 (6 June 2024) to make expiration dates available for all types of sharing links should now have reached targeted release tenants. General availability will follow soon afterwards.

Until now, SharePoint Online and OneDrive for Business have supported expiration dates for anyone sharing links. Microsoft was correct to start with these links because they are transferable. In other words, anyone in possession of the link can access the file or folder pointed to by the link.

Although anyone links are revocable and therefore can be annulled if a link becomes too widely available, making them the first sharing link to support expiration was a good thing. Even with expiration dates, many organizations prohibit anyone links because they consider these links to be too dangerous. Users forget to set expiration dates, the links circulate in email and can easily escape outside the organization, and so on.

Company-wide and Specific People Sharing Links

Company-wide (aka people in your organization) and specific people links deliver tighter control over sharing because SharePoint Online validates the account that attempts to redeem and use a link to make sure that they meet the sharing criteria. For example, if you’re not signed into a tenant account, SharePoint Online won’t allow you to use a company-wide link.

Specific people links are usable with people inside and outside an organization. External people must have a guest account in the tenant to authenticate, either an account created to access other resources like Teams (or most recently, Microsoft Loop), or an account created during the process of gaining access to the shared content. During this process, depending on the conditional access policies active in the tenant, an external person might be asked to configure multi-factor authentication to protect their account.

All of this sounds good, and it means that specific people links are usually a safe way to share externally, especially if coupled with a sensitivity label with encryption to stop any inadvertent leakage of confidential information.

Sharing Links Expiration for All

Using a sharing link that SharePoint Online imposes controls over who can use the link can sometimes do with a little extra help and that’s where the expiration controls come in. You can now set a date (Figure 1) for company-wide and specific people sharing links to expire.

Setting an expiration date for a specific person sharing link

Sharing links expiration.
Figure 1: Setting an expiration date for a specific person sharing link

When a link expires, it can no longer be used to access the shared content. The owner of the content must then reshare the content if they wish.

It seems like Microsoft has some loose ends to clean up before you could consider this feature to be complete. For instance, although SharePoint Online shows the expiration date after copying a link (Figure 2), the Manage access dialog for an item doesn’t display expiration dates. This might be due to an incomplete software deployment and the missing bits for an updated Manage access dialog might be still on the way.

Revealing the expiration date for a sharing link
Figure 2: Revealing the expiration date for a sharing link

More importantly, the SharePoint Online admin center has a setting for Anyone links to set a maximum expiration length in days (Figure 3). However, similar controls aren’t yet available for company-wide and specific people links. That seems like an oversight.

Setting the maximum expiration period for Anyone links
Figure 3: Setting the maximum expiration period for Anyone links

Being picky, I could also point out that setting an expiration period for a sharing link does not affect the SharingSet audit record generated when SharePoint Online or OneDrive for Business configure a sharing link. This is a pity. Microsoft needs to improve the information captured in audit records for sharing events to make them more administrator friendly. For instance, a value like “EventData    : <PermissionsGranted>Contribute</PermissionsGranted><MembersCanShareApplied>False</MembersCanShareApplied>” is meaningful to a computer but less so to a human. If you’re interested in learning how to interpret audit records for sharing events, try this script from GitHub.

Sharing Links Expiration for All Link Types is a Good Change

Even though I think Microsoft has some things to work on to complete the feature, I like that SharePoint Online supports expiration dates for all types of sharing links. It’s a good change and one that should be popular with users, even if administrators can’t find out the kind of usage the feature gets because of the lack of detail in audit records. According to MC799277, Microsoft is due to refresh the documentation, but that hasn’t happened yet. More bits lost in transit!


Insight like this doesn’t come easily. You’ve got to know the technology and understand how to look behind the scenes. Benefit from the knowledge and experience of the Office 365 for IT Pros team by subscribing to the best eBook covering Office 365 and the wider Microsoft 365 ecosystem.

14 Replies to “All SharePoint Online Sharing Links Now Support Expiration Dates”

  1. Hey Tony, was wondering if you know the expiration policy is configured at the user level or at a per-link basis? We’re doing some preliminary testing for a 30-day policy and it seems that when a user is shared Document A at Day 0 and then Document B at Day 15, they lose access to both documents at Day 30. Thanks!

  2. We found a strange UI behavior/bug in our tenant:
    If you share the document with a person, click the “settings wheel”, set the expiry date, click “Apply” and then “Send”, the expiry date does not work, and the link is sendt with no expiry.
    If you share the document with a person, click the “settings wheel”, set the expiry date, click “Apply” then also click “Copy Link”, and then “Send”, the expiration link does work correctly.

    In most cases the normal logical thing to do is people will just set the date, click “Apply” and then just “send”, resulting in a sharing link with no expiry date.
    Do any others see this behaviour in their tenant?

    1. Did you report this behavior to Microsoft to have them check it out? That’s the only way to get a problem onto the docket for the engineering group to look at.

    2. Based on your observations, I did some specific tests and saw the exact same behaviour:
      – “Send” button: No expiry date
      – “Copy link” then close window => Expiration date working if you use the copied link

      I also tested the combined approach:
      – Set an expiration date + Apply
      – Copy Link
      – Send

      Result:
      – Expiration date works if you use the copied link (or the link you can copy in Manage Access => Links)
      – Expiration date DOES NOT work if you use the link provided in the email sent by Sharepoint

      Really hoping that Microsoft fix this and also more clearly display the expiration dates of links (instead of a very tiny “calendar” icon).

      1. I have reported the same issue to Microsoft – so far no valid feedback.
        As it seems Microsoft has now completely deactivated setting an expiration date for all links.

  3. We also reported that. Our consultant told us that Microsoft has turn of the Feature. We dont have it anymore in our Tenant..

    1. The feature has disappeared from my tenant too. Microsoft hasn’t said anything publicily that I can track down, so I assume that they withdrew the feature because it had some problems that they couldn’t easily fix. I have asked the development group to comment. They might or might not say anything.

      1. It’s gone from our tenant too. I’ll be curious about what MS has to say about this. Hope it comes back working correctly.

      2. Microsoft has cnfirmed to me that they have withdrawn the feature to make some changes. They will relaunch expiration date support for all sharing links when they’ve taken care of whatever needs to be done.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.