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..8b06aef2f 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 ] [-OrganizationSharingLinkMaxExpirationInDays ] + [-OrganizationSharingLinkRecommendedExpirationInDays ] + [-OverrideTenantOrganizationSharingLinkExpirationPolicy ] [-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,50 @@ Accept pipeline input: False 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. + +To remove the expiration requirement, set the value to zero (0). + +```yaml +Type: System.Int32 +Parameter Sets: ParamSet1 +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +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`. + +To remove the recommendation, set the value to zero (0). + +```yaml +Type: System.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 +1731,29 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -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: System.Boolean +Parameter Sets: ParamSet1 +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Owner > Applicable: SharePoint Online 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..460c65fe4 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 @@ -1809,6 +1812,50 @@ Accept pipeline input: False 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. + +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 + +> 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`. + +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. @@ -4151,6 +4198,50 @@ Accept pipeline input: False 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. + +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 + +> 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`. + +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. @@ -4639,28 +4730,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