en-US

OneDriveOrganizationSharingLinkRecommendedExpirationInDays

Parameter of SPOTenant

Applies to : SharePoint Online

Description

Specifies the recommended number of days before organization sharing links expire for all 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 7 to 720 days and must be less than or equal to the maximum expiration value set by OneDriveOrganizationSharingLinkMaxExpirationInDays.

When set to 0, the default value will be OneDriveOrganizationSharingLinkMaxExpirationInDays.

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.