en-US

CoreOrganizationSharingLinkMaxExpirationInDays

Parameter of SPOTenant

Applies to : SharePoint Online

Description

Specifies the maximum number of days before organization sharing links expire for all SharePoint sites (not including OneDrive sites). This is a tenant wide setting, and all geos will inherit the policy.

The value can be from 7 to 720 days.

To remove the expiration requirement, set the value to zero (0).

Microsoft Learn documentation

Characteristics

Type
System.Int32
Parameter sets
(All)

Apply

This value type (System.Int32) must be built by hand: see the examples on the policy page and the Microsoft documentation.