'Allow users to specify for how long they want the shared file to be accessed by external users

We revived a requirement to implement the following scenario:-

  1. Contributor user shared a file with external user.

  2. the contributor users can specify for how long they want the file to be shared.

Is this scenario supported in SharePoint and how?



Solution 1:[1]

You can try to set an expiration date for Anyone links. Please refer to following document https://docs.microsoft.com/en-us/microsoft-365/solutions/best-practices-anonymous-sharing?view=o365-worldwide

You can take following steps to set custom expiration date enter image description here enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1