Forum Discussion

mdcastorena's avatar
mdcastorena
Brass Contributor
May 03, 2023
Solved

Adding expiration date to all share link types

Good afternoon,

 

 

I noticed today that the expiration date option for sharing links is only available for the "Anyone with this link" option. Is it possible to also have that option available for all other share types, such as "People you choose"?

 

The closest thing I could find to a potential answer would be a variation of the below PowerShell command, but I wanted to consult with a broader audience before running Set commands against our environment.

 

(source: https://learn.microsoft.com/en-us/microsoft-365/solutions/best-practices-anonymous-sharing?view=o365-worldwide)

Set-SPOSite -Identity https://contoso.sharepoint.com/sites/marketing -OverrideTenantAnonymousLinkExpirationPolicy $true -AnonymousLinkExpirationInDays 15

 

Thank you in advance for your support!

Morghan C.

  • Hello mdcastorena 

     

    i think this is an "Anyone with this link" only option, i don't see this setting for other link types, also not with PowerShell.

     

    Regards, Dave

     

     

1 Reply

  • Hello mdcastorena 

     

    i think this is an "Anyone with this link" only option, i don't see this setting for other link types, also not with PowerShell.

     

    Regards, Dave

     

     

Resources