How to Fix OneDrive Sharing Link Expiration Date Not Available
Question details
Users are unable to find or select the expiration date option when attempting to share files via OneDrive links.

- Product
- OneDrive
- Device & OS
- not provided
- Scenario
- Creating a sharing link for a file or folder in OneDrive to restrict access after a specific period of time.
- Observed behavior
- The "Set expiration date" option is either missing or greyed out in the sharing settings dialog box.
Ensure you know whether you are using a personal OneDrive account or OneDrive for Business, as business accounts may require IT administrator permissions to change sharing policies.
Select the "Anyone with the link" Sharing Option
The expiration date feature is exclusively available for anonymous sharing links. You must change the link type to see the option.
By design, Microsoft restricts expiration dates to anonymous links. If you have selected "People in your organization" or "Specific people", the expiration option will remain hidden.
Select the file or folder you wish to share in OneDrive and click the "Share" button.
Click on the current link permission setting (e.g., "People in your organization with the link" or "Specific people").
Choose the "Anyone with the link" option from the list of sharing types.
Look at the bottom of the sharing dialog. The "Set expiration date" option will now be visible, allowing you to pick a date from the calendar.

Enable Anonymous Sharing in OneDrive Admin Center
If the "Anyone with the link" option is greyed out or missing entirely in OneDrive for Business, an administrator must enable it in the Microsoft 365 Admin Center.
Try WPS Office for Seamless File Sharing and Document Management
If you frequently encounter strict sharing limitations or complex administrative roadblocks in Microsoft 365, consider switching to WPS Office. It provides a lightweight, highly compatible alternative with intuitive built-in cloud sharing features.
- 1. Download and Install: Visit the official WPS Office website to download the free installation package for your device.
- 2. Open Your Documents: Launch WPS Office and easily open your existing Microsoft Office files without losing any formatting.
- 3. Share with Ease: Use the integrated 'Share' button in WPS Office to instantly generate secure links with customizable expiration limits.

Frequently Asked Questions
Why is the 'Anyone with the link' option greyed out in my OneDrive?
This typically occurs in a business or school environment where the IT administrator has restricted sharing policies to prevent files from being shared anonymously outside the organization.
Can I set an expiration date for specific people in OneDrive?
No, Microsoft OneDrive currently only supports setting an expiration date for 'Anyone with the link' (anonymous) sharing. Links shared with specific people do not have this built-in expiration option.
How long does an anonymous link stay active if I don't set an expiration date?
If your administrator has not configured a mandatory expiration policy in the OneDrive Admin Center, an anonymous link will remain active indefinitely until you manually delete the link or stop sharing the file.
Does deleting the original file automatically expire the sharing link?
Yes. If you delete or move the shared file from its original location in your OneDrive, the sharing link will immediately break, preventing anyone from accessing it regardless of the expiration date.




