CoreAnyoneSharingLinkRecommendedExpirationInDays
Parameter of SPOTenant
Applies to : SharePoint Online
Description
Specifies the recommended number of days before Anyone (anonymous) sharing links expire for all SharePoint sites (not including OneDrive sites). This setting provides a suggested expiration period to users when they create sharing links. This is a tenant wide setting, and all geos will inherit the policy.
The value can be from 1 to 730 days and must be less than or equal to the maximum expiration value set by CoreAnyoneSharingLinkMaxExpirationInDays.
When set to 0, the default value will be CoreAnyoneSharingLinkMaxExpirationInDays.
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.