From d562c93759ff999d0fb7a33c37d348be5d4a834d Mon Sep 17 00:00:00 2001 From: Harper Hults Date: Tue, 8 Jul 2025 11:19:07 -0700 Subject: [PATCH] add RequireOrganizationLinksExpireInDays --- .../sharepoint-online/Set-SPOTenant.md | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md index 73e06ae93..412a0d133 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md @@ -191,6 +191,7 @@ Set-SPOTenant [-ReduceTempTokenLifetimeValue ] [-RequireAcceptingAccountMatchInvitedAccount ] [-RequireAnonymousLinksExpireInDays ] + [-RequireOrganizationLinksExpireInDays ] [-RestrictedAccessControlforSitesErrorHelpLink ] [-ResyncContentSecurityPolicyConfigurationEntries ] [-ReSyncTenantPrivacyProfile ] @@ -1779,7 +1780,27 @@ Accept wildcard characters: False ### -RequireAnonymousLinksExpireInDays -Specifies all anonymous links that have been created (or will be created) will expire after the set number of days. +Specifies the upper bound for user-created anonymous 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 0 to 730 days. + +To remove the expiration requirement, set the value to zero (0). + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: +Applicable: SharePoint Online +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RequireOrganizationLinksExpireInDays + +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 0 to 730 days.