From cd9f9c923842023a05e6760f215d1954b9ee6f0d Mon Sep 17 00:00:00 2001 From: Harper Hults Date: Fri, 19 Sep 2025 14:49:39 -0700 Subject: [PATCH 1/5] Update Set-SPOSite.md with new expiration parameters still need descriptions --- .../Set-SPOSite.md | 58 ++++++++++++++++--- 1 file changed, 51 insertions(+), 7 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md index 301ed9ee2..407fbd390 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md @@ -50,7 +50,9 @@ Set-SPOSite [-Identity] [-Owner ] [-Title ] [- [-DefaultLinkPermission ] [-DefaultLinkToExistingAccess ] [-DefaultLinkToExistingAccessReset] [-AnonymousLinkExpirationInDays ] [-OverrideTenantAnonymousLinkExpirationPolicy ] [-ExternalUserExpirationInDays ] - [-OverrideTenantExternalUserExpirationPolicy ] [-InformationBarriersMode ] + [-OverrideTenantExternalUserExpirationPolicy ] [-OrganizationLinkMaxExpirationInDays ] + [-OrganizationLinkRecommendedExpirationInDays ] + [-OverrideTenantOrganizationLinkExpirationPolicy ] [-InformationBarriersMode ] [-BlockDownloadLinksFileType ] [-OverrideBlockUserInfoVisibility ] [-LoopDefaultSharingLinkScope ] [-LoopDefaultSharingLinkRole ] @@ -60,12 +62,9 @@ Set-SPOSite [-Identity] [-Owner ] [-Title ] [- [-RestrictContentOrgWideSearch ] [-RestrictedContentDiscoveryforCopilotAndAgents ] [-RestrictedAccessControl ] [-RestrictedAccessControlGroups ] [-ListsShowHeaderAndNavigation ] [-HidePeoplePreviewingFiles ] - [-HidePeopleWhoHaveListsOpen ] [-AllowFileArchive ] - [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ] - [-DisableSiteBranding ] - [-IsAuthoritative ] - [-WhatIf] [-Confirm] - [] + [-HidePeopleWhoHaveListsOpen ] [-IsAuthoritative ] [-AllowFileArchive ] + [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ] [-DisableSiteBranding ] + [-WhatIf] [-Confirm] [] ``` ### ParamSet2 @@ -1594,6 +1593,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -OrganizationLinkMaxExpirationInDays +{{ Fill OrganizationLinkMaxExpirationInDays Description }} + +```yaml +Type: Int32 +Parameter Sets: ParamSet1 +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrganizationLinkRecommendedExpirationInDays +{{ Fill OrganizationLinkRecommendedExpirationInDays Description }} + +```yaml +Type: Int32 +Parameter Sets: ParamSet1 +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -OverrideBlockUserInfoVisibility > Applicable: SharePoint Online @@ -1688,6 +1717,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -OverrideTenantOrganizationLinkExpirationPolicy +{{ Fill OverrideTenantOrganizationLinkExpirationPolicy Description }} + +```yaml +Type: Boolean +Parameter Sets: ParamSet1 +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Owner > Applicable: SharePoint Online From 505ede54b56762602fc8bfb445c0930d3accb285 Mon Sep 17 00:00:00 2001 From: Harper Hults Date: Fri, 19 Sep 2025 14:55:37 -0700 Subject: [PATCH 2/5] Update parameters in Set-SPOTenant documentation need add core/org stuff, just changed param set --- .../Set-SPOTenant.md | 51 ++++++------------- 1 file changed, 16 insertions(+), 35 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md index ab7161464..d6389e102 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md @@ -28,7 +28,8 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-ShowEveryoneExceptExternalUsersClaim ] [-AllowEveryoneExceptExternalUsersClaimInPrivateSite ] [-SearchResolveExactEmailOrUPN ] [-OfficeClientADALDisabled ] [-LegacyAuthProtocolsEnabled ] - [-LegacyBrowserAuthProtocolsEnabled ] [-DisableCustomAppAuthentication ] + [-LegacyBrowserAuthProtocolsEnabled ] [-AllowLegacyBrowserAuthProtocolsEnabledSetting ] + [-AllowLegacyAuthProtocolsEnabledSetting ] [-DisableCustomAppAuthentication ] [-IsSharePointAddInsDisabled ] [-IsSharePointAddInsBlocked ] [-DisableSharePointStoreAccess ] [-SiteOwnerManageLegacyServicePrincipalEnabled ] [-RequireAcceptingAccountMatchInvitedAccount ] [-ProvisionSharedWithEveryoneFolder ] @@ -36,7 +37,10 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-UsePersistentCookiesForExplorerView ] [-ReSyncTenantPrivacyProfile] [-BccExternalSharingInvitations ] [-BccExternalSharingInvitationsList ] [-PublicCdnEnabled ] [-PublicCdnAllowedFileTypes ] - [-RequireAnonymousLinksExpireInDays ] [-SharingAllowedDomainList ] + [-RequireAnonymousLinksExpireInDays ] [-OneDriveOrganizationSharingLinkMaxExpirationInDays ] + [-CoreOrganizationSharingLinkMaxExpirationInDays ] + [-OneDriveOrganizationSharingLinkRecommendedExpirationInDays ] + [-CoreOrganizationSharingLinkRecommendedExpirationInDays ] [-SharingAllowedDomainList ] [-SharingBlockedDomainList ] [-SharingDomainRestrictionMode ] [-OneDriveStorageQuota ] [-OneDriveForGuestsEnabled ] [-IPAddressEnforcement ] [-IPAddressAllowList ] [-IPAddressWACTokenLifetime ] @@ -52,10 +56,11 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-SpecialCharactersStateInFileFolderNames ] [-OwnerAnonymousNotification ] [-CommentsOnSitePagesDisabled ] [-CommentsOnFilesDisabled ] [-CommentsOnListItemsDisabled ] [-ViewersCanCommentOnMediaDisabled ] - [-SocialBarOnSitePagesDisabled ] [-OrphanedPersonalSitesRetentionPeriod ] - [-PermissiveBrowserFileHandlingOverride ] [-DisallowInfectedFileDownload ] - [-DefaultLinkPermission ] [-CustomizedExternalSharingServiceUrl ] - [-ConditionalAccessPolicyErrorHelpLink ] [-RestrictedAccessControlforSitesErrorHelpLink ] + [-SocialBarOnSitePagesDisabled ] [-SiteOwnersCanAccessMissingContent ] + [-OrphanedPersonalSitesRetentionPeriod ] [-PermissiveBrowserFileHandlingOverride ] + [-DisallowInfectedFileDownload ] [-DefaultLinkPermission ] + [-CustomizedExternalSharingServiceUrl ] [-ConditionalAccessPolicyErrorHelpLink ] + [-RestrictedAccessControlforSitesErrorHelpLink ] [-RestrictedAccessControlForOneDriveErrorHelpLink ] [-ApplyAppEnforcedRestrictionsToAdHocRecipients ] [-FilePickerExternalImageSearchEnabled ] [-EmailAttestationRequired ] [-EmailAttestationReAuthDays ] @@ -82,6 +87,7 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-IsFluidEnabled ] [-IsWBFluidEnabled ] [-IsCollabMeetingNotesFluidEnabled ] [-IsLoopEnabled ] [-DisableDocumentLibraryDefaultLabeling ] [-ExtendPermissionsToUnprotectedFiles ] [-EnableSensitivityLabelForPDF ] + [-EnableSensitivityLabelForOneNote ] [-EnableSensitivityLabelForVideoFiles ] [-BlockSendLabelMismatchEmail ] [-LabelMismatchEmailHelpLink ] [-BlockUserInfoVisibility ] [-BlockUserInfoVisibilityInOneDrive ] [-BlockUserInfoVisibilityInSharePoint ] @@ -106,8 +112,7 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-MassDeleteNotificationDisabled ] [-EnableAutoExpirationVersionTrim ] [-EnableMediaReactions ] [-BusinessConnectivityServiceDisabled ] [-ExpireVersionsAfterDays ] [-MajorVersionLimit ] [-FileTypesForVersionExpiration ] - [-RemoveVersionExpirationFileTypeOverride ] - [-AllowSensitivityLabelOnRecords ] + [-RemoveVersionExpirationFileTypeOverride ] [-AllowSensitivityLabelOnRecords ] [-DelayDenyAddAndCustomizePagesEnforcement ] [-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites ] [-AllowClassicPublishingSiteCreation ] [-WhoCanShareAnonymousAllowList ] @@ -125,16 +130,14 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-DocumentTranslationSelectedSitesListOperation ] [-AutofillColumnsScope ] [-AutofillColumnsSelectedSitesList ] [-AutofillColumnsSelectedSitesListOperation ] + [-KnowledgeAgentScope ] [-KnowledgeAgentSelectedSitesList ] + [-KnowledgeAgentSelectedSitesListOperation ] [-OpticalCharacterRecognitionScope ] [-OpticalCharacterRecognitionSelectedSitesList ] [-OpticalCharacterRecognitionSelectedSitesListOperation ] [-DefaultContentCenterSite ] [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ] [-EnforceRequestDigest ] - [-RestrictResourceAccountAccess ] [-EnableSensitivityLabelForOneNote ] - [-EnableSensitivityLabelForVideoFiles ] [-SiteOwnersCanAccessMissingContent ] - [-KnowledgeAgentScope ] [-KnowledgeAgentSelectedSitesList ] - [-KnowledgeAgentSelectedSitesListOperation ] - [] + [-RestrictResourceAccountAccess ] [] ``` ### ParameterSetContentTypeSyncSiteTemplatesList @@ -4639,28 +4642,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -RequireOrganizationLinksExpireInDays - -> Applicable: SharePoint Online - -Specifies the upper bound for user-created organization link expiration periods. All links created after setting this policy will expire by the end of a period spanning the set number of days. - -The value can be from 7 to 730 days. - -To remove the expiration requirement, set the value to zero (0). - -```yaml -Type: Microsoft.Online.SharePoint.TenantAdministration.SelectedSitesListOperations -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -RestrictedAccessControlForOneDriveErrorHelpLink > Applicable: SharePoint Online From d7ed98001e86970d6c44b788c5868afc3d2000de Mon Sep 17 00:00:00 2001 From: harperhults Date: Tue, 23 Sep 2025 14:34:21 -0700 Subject: [PATCH 3/5] add descriptions, change setting name --- .../Set-SPOSite.md | 22 +++-- .../Set-SPOTenant.md | 80 +++++++++++++++++++ 2 files changed, 96 insertions(+), 6 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md index 407fbd390..e44a3f396 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md @@ -50,8 +50,8 @@ Set-SPOSite [-Identity] [-Owner ] [-Title ] [- [-DefaultLinkPermission ] [-DefaultLinkToExistingAccess ] [-DefaultLinkToExistingAccessReset] [-AnonymousLinkExpirationInDays ] [-OverrideTenantAnonymousLinkExpirationPolicy ] [-ExternalUserExpirationInDays ] - [-OverrideTenantExternalUserExpirationPolicy ] [-OrganizationLinkMaxExpirationInDays ] - [-OrganizationLinkRecommendedExpirationInDays ] + [-OverrideTenantExternalUserExpirationPolicy ] [-OrganizationSharingLinkMaxExpirationInDays ] + [-OrganizationSharingLinkRecommendedExpirationInDays ] [-OverrideTenantOrganizationLinkExpirationPolicy ] [-InformationBarriersMode ] [-BlockDownloadLinksFileType ] [-OverrideBlockUserInfoVisibility ] @@ -1593,8 +1593,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -OrganizationLinkMaxExpirationInDays -{{ Fill OrganizationLinkMaxExpirationInDays Description }} +### -OrganizationSharingLinkMaxExpirationInDays + +Specifies the maximum number of days before organization sharing links expire for this site. + +The value can be from 7 to 720 days. + +To remove the expiration requirement, set the value to zero (0). ```yaml Type: Int32 @@ -1608,8 +1613,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -OrganizationLinkRecommendedExpirationInDays -{{ Fill OrganizationLinkRecommendedExpirationInDays Description }} +### -OrganizationSharingLinkRecommendedExpirationInDays + +Specifies the recommended number of days before organization sharing links expire for this site. This setting provides a suggested expiration period to users when they create sharing links. + +The value can be from 7 to 720 days and must be less than or equal to the maximum expiration value set by OrganizationSharingLinkMaxExpirationInDays. + +To remove the recommendation, set the value to zero (0). ```yaml Type: Int32 diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md index d6389e102..4d97d1dd8 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md @@ -1812,6 +1812,46 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -CoreOrganizationSharingLinkMaxExpirationInDays + +Specifies the maximum number of days before organization sharing links expire for all SharePoint sites (not including OneDrive sites). + +The value can be from 7 to 720 days. + +To remove the expiration requirement, set the value to zero (0). + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CoreOrganizationSharingLinkRecommendedExpirationInDays + +Specifies the recommended number of days before organization 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. + +The value can be from 7 to 720 days and must be less than or equal to the maximum expiration value set by CoreOrganizationSharingLinkMaxExpirationInDays. + +To remove the recommendation, set the value to zero (0). + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -CoreRequestFilesLinkEnabled Enable or disable the Request files link on the core partition for all SharePoint sites (not including OneDrive sites). If this value is not set, Request files will only show for OneDrives with Anyone links enabled. @@ -4154,6 +4194,46 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -OneDriveOrganizationSharingLinkMaxExpirationInDays + +Specifies the maximum number of days before organization sharing links expire for all OneDrive sites. + +The value can be from 7 to 720 days. + +To remove the expiration requirement, set the value to zero (0). + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OneDriveOrganizationSharingLinkRecommendedExpirationInDays + +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. + +The value can be from 7 to 720 days and must be less than or equal to the maximum expiration value set by OneDriveOrganizationSharingLinkMaxExpirationInDays. + +To remove the recommendation, set the value to zero (0). + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -OneDriveRequestFilesLinkEnabled Enable or disable the Request files link on the OneDrive partition for all OneDrive sites. If this value is not set, the Request files link will only show for OneDrives with Anyone links enabled. From e874cdfc13f6f4b50df7c2fe8c43b7035f4ee9ad Mon Sep 17 00:00:00 2001 From: harperhults Date: Tue, 23 Sep 2025 15:22:15 -0700 Subject: [PATCH 4/5] add doc for override --- .../Set-SPOSite.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md index e44a3f396..5df4adb5e 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md @@ -52,7 +52,7 @@ Set-SPOSite [-Identity] [-Owner ] [-Title ] [- [-OverrideTenantAnonymousLinkExpirationPolicy ] [-ExternalUserExpirationInDays ] [-OverrideTenantExternalUserExpirationPolicy ] [-OrganizationSharingLinkMaxExpirationInDays ] [-OrganizationSharingLinkRecommendedExpirationInDays ] - [-OverrideTenantOrganizationLinkExpirationPolicy ] [-InformationBarriersMode ] + [-OverrideTenantOrganizationSharingLinkExpirationPolicy ] [-InformationBarriersMode ] [-BlockDownloadLinksFileType ] [-OverrideBlockUserInfoVisibility ] [-LoopDefaultSharingLinkScope ] [-LoopDefaultSharingLinkRole ] @@ -1727,11 +1727,19 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -OverrideTenantOrganizationLinkExpirationPolicy -{{ Fill OverrideTenantOrganizationLinkExpirationPolicy Description }} +### -OverrideTenantOrganizationSharingLinkExpirationPolicy + +> Applicable: SharePoint Online + +Choose whether to override the tenant-level organization sharing link expiration policy on this site. + +Possible values: + +- False: Respect the tenant-level organization sharing link expiration policy. +- True: Override the tenant-level organization sharing link expiration policy (can be more or less restrictive). ```yaml -Type: Boolean +Type: System.Boolean Parameter Sets: ParamSet1 Aliases: From 64ab74f715f8088626ca1f0d75d39830cfee1399 Mon Sep 17 00:00:00 2001 From: harperhults Date: Tue, 23 Sep 2025 15:43:54 -0700 Subject: [PATCH 5/5] Update organization sharing link parameters documentation - Renamed OverrideTenantOrganizationLinkExpirationPolicy to OverrideTenantOrganizationSharingLinkExpirationPolicy in Set-SPOSite.md - Added proper description for OverrideTenantOrganizationSharingLinkExpirationPolicy parameter - Added '> Applicable: SharePoint Online' to all organization sharing link parameters in both Set-SPOSite.md and Set-SPOTenant.md - Added backticks around parameter cross-references per reviewer feedback - Standardized YAML type formatting to System.Int32 and System.Boolean --- .../Set-SPOSite.md | 10 +++++++--- .../Set-SPOTenant.md | 12 ++++++++++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md index 5df4adb5e..8b06aef2f 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md @@ -1595,6 +1595,8 @@ Accept wildcard characters: False ### -OrganizationSharingLinkMaxExpirationInDays +> Applicable: SharePoint Online + Specifies the maximum number of days before organization sharing links expire for this site. The value can be from 7 to 720 days. @@ -1602,7 +1604,7 @@ The value can be from 7 to 720 days. To remove the expiration requirement, set the value to zero (0). ```yaml -Type: Int32 +Type: System.Int32 Parameter Sets: ParamSet1 Aliases: @@ -1615,14 +1617,16 @@ Accept wildcard characters: False ### -OrganizationSharingLinkRecommendedExpirationInDays +> Applicable: SharePoint Online + Specifies the recommended number of days before organization sharing links expire for this site. This setting provides a suggested expiration period to users when they create sharing links. -The value can be from 7 to 720 days and must be less than or equal to the maximum expiration value set by OrganizationSharingLinkMaxExpirationInDays. +The value can be from 7 to 720 days and must be less than or equal to the maximum expiration value set by `OrganizationSharingLinkMaxExpirationInDays`. To remove the recommendation, set the value to zero (0). ```yaml -Type: Int32 +Type: System.Int32 Parameter Sets: ParamSet1 Aliases: diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md index 4d97d1dd8..460c65fe4 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md @@ -1814,6 +1814,8 @@ Accept wildcard characters: False ### -CoreOrganizationSharingLinkMaxExpirationInDays +> Applicable: SharePoint Online + Specifies the maximum number of days before organization sharing links expire for all SharePoint sites (not including OneDrive sites). The value can be from 7 to 720 days. @@ -1834,9 +1836,11 @@ Accept wildcard characters: False ### -CoreOrganizationSharingLinkRecommendedExpirationInDays +> Applicable: SharePoint Online + Specifies the recommended number of days before organization 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. -The value can be from 7 to 720 days and must be less than or equal to the maximum expiration value set by CoreOrganizationSharingLinkMaxExpirationInDays. +The value can be from 7 to 720 days and must be less than or equal to the maximum expiration value set by `CoreOrganizationSharingLinkMaxExpirationInDays`. To remove the recommendation, set the value to zero (0). @@ -4196,6 +4200,8 @@ Accept wildcard characters: False ### -OneDriveOrganizationSharingLinkMaxExpirationInDays +> Applicable: SharePoint Online + Specifies the maximum number of days before organization sharing links expire for all OneDrive sites. The value can be from 7 to 720 days. @@ -4216,9 +4222,11 @@ Accept wildcard characters: False ### -OneDriveOrganizationSharingLinkRecommendedExpirationInDays +> Applicable: SharePoint Online + 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. -The value can be from 7 to 720 days and must be less than or equal to the maximum expiration value set by OneDriveOrganizationSharingLinkMaxExpirationInDays. +The value can be from 7 to 720 days and must be less than or equal to the maximum expiration value set by `OneDriveOrganizationSharingLinkMaxExpirationInDays`. To remove the recommendation, set the value to zero (0).