Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ Set-SPOSite [-Identity] <SpoSitePipeBind> [-Owner <String>] [-Title <String>] [-
[-DefaultLinkPermission <SharingPermissionType>] [-DefaultLinkToExistingAccess <Boolean>]
[-DefaultLinkToExistingAccessReset] [-AnonymousLinkExpirationInDays <Int32>]
[-OverrideTenantAnonymousLinkExpirationPolicy <Boolean>] [-ExternalUserExpirationInDays <Int32>]
[-OverrideTenantExternalUserExpirationPolicy <Boolean>] [-InformationBarriersMode <String>]
[-OverrideTenantExternalUserExpirationPolicy <Boolean>] [-OrganizationSharingLinkMaxExpirationInDays <Int32>]
[-OrganizationSharingLinkRecommendedExpirationInDays <Int32>]
[-OverrideTenantOrganizationSharingLinkExpirationPolicy <Boolean>] [-InformationBarriersMode <String>]
[-BlockDownloadLinksFileType <BlockDownloadLinksFileTypes>]
[-OverrideBlockUserInfoVisibility <SiteUserInfoVisibilityPolicyValue>]
[-LoopDefaultSharingLinkScope <SharingScope>] [-LoopDefaultSharingLinkRole <SharingRole>]
Expand All @@ -60,12 +62,9 @@ Set-SPOSite [-Identity] <SpoSitePipeBind> [-Owner <String>] [-Title <String>] [-
[-RestrictContentOrgWideSearch <Boolean>] [-RestrictedContentDiscoveryforCopilotAndAgents <Boolean>]
[-RestrictedAccessControl <Boolean>] [-RestrictedAccessControlGroups <Guid[]>]
[-ListsShowHeaderAndNavigation <Boolean>] [-HidePeoplePreviewingFiles <Boolean>]
[-HidePeopleWhoHaveListsOpen <Boolean>] [-AllowFileArchive <Boolean>]
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>]
[-DisableSiteBranding <Boolean>]
[-IsAuthoritative <Boolean>]
[-WhatIf] [-Confirm]
[<CommonParameters>]
[-HidePeopleWhoHaveListsOpen <Boolean>] [-IsAuthoritative <Boolean>] [-AllowFileArchive <Boolean>]
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>] [-DisableSiteBranding <Boolean>]
[-WhatIf] [-Confirm] [<CommonParameters>]
```

### ParamSet2
Expand Down Expand Up @@ -1594,6 +1593,50 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -OrganizationSharingLinkMaxExpirationInDays

Copy link
Contributor

@samkabue samkabue Sep 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing > Applicable: SharePoint Online for all the new params #Closed

> 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
Expand Down Expand Up @@ -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).

Copy link
Contributor

@samkabue samkabue Sep 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops :) #Closed

```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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,19 @@ Set-SPOTenant [-MinCompatibilityLevel <Int32>] [-MaxCompatibilityLevel <Int32>]
[-ShowEveryoneExceptExternalUsersClaim <Boolean>]
[-AllowEveryoneExceptExternalUsersClaimInPrivateSite <Boolean>] [-SearchResolveExactEmailOrUPN <Boolean>]
[-OfficeClientADALDisabled <Boolean>] [-LegacyAuthProtocolsEnabled <Boolean>]
[-LegacyBrowserAuthProtocolsEnabled <Boolean>] [-DisableCustomAppAuthentication <Boolean>]
[-LegacyBrowserAuthProtocolsEnabled <Boolean>] [-AllowLegacyBrowserAuthProtocolsEnabledSetting <Boolean>]
[-AllowLegacyAuthProtocolsEnabledSetting <Boolean>] [-DisableCustomAppAuthentication <Boolean>]
[-IsSharePointAddInsDisabled <Boolean>] [-IsSharePointAddInsBlocked <Boolean>]
[-DisableSharePointStoreAccess <Boolean>] [-SiteOwnerManageLegacyServicePrincipalEnabled <Boolean>]
[-RequireAcceptingAccountMatchInvitedAccount <Boolean>] [-ProvisionSharedWithEveryoneFolder <Boolean>]
[-SignInAccelerationDomain <String>] [-EnableGuestSignInAcceleration <Boolean>]
[-UsePersistentCookiesForExplorerView <Boolean>] [-ReSyncTenantPrivacyProfile]
[-BccExternalSharingInvitations <Boolean>] [-BccExternalSharingInvitationsList <String>]
[-PublicCdnEnabled <Boolean>] [-PublicCdnAllowedFileTypes <String>]
[-RequireAnonymousLinksExpireInDays <Int32>] [-SharingAllowedDomainList <String>]
[-RequireAnonymousLinksExpireInDays <Int32>] [-OneDriveOrganizationSharingLinkMaxExpirationInDays <Int32>]
[-CoreOrganizationSharingLinkMaxExpirationInDays <Int32>]
[-OneDriveOrganizationSharingLinkRecommendedExpirationInDays <Int32>]
[-CoreOrganizationSharingLinkRecommendedExpirationInDays <Int32>] [-SharingAllowedDomainList <String>]
[-SharingBlockedDomainList <String>] [-SharingDomainRestrictionMode <SharingDomainRestrictionModes>]
[-OneDriveStorageQuota <Int64>] [-OneDriveForGuestsEnabled <Boolean>] [-IPAddressEnforcement <Boolean>]
[-IPAddressAllowList <String>] [-IPAddressWACTokenLifetime <Int32>]
Expand All @@ -52,10 +56,11 @@ Set-SPOTenant [-MinCompatibilityLevel <Int32>] [-MaxCompatibilityLevel <Int32>]
[-SpecialCharactersStateInFileFolderNames <SpecialCharactersState>] [-OwnerAnonymousNotification <Boolean>]
[-CommentsOnSitePagesDisabled <Boolean>] [-CommentsOnFilesDisabled <Boolean>]
[-CommentsOnListItemsDisabled <Boolean>] [-ViewersCanCommentOnMediaDisabled <Boolean>]
[-SocialBarOnSitePagesDisabled <Boolean>] [-OrphanedPersonalSitesRetentionPeriod <Int32>]
[-PermissiveBrowserFileHandlingOverride <Boolean>] [-DisallowInfectedFileDownload <Boolean>]
[-DefaultLinkPermission <SharingPermissionType>] [-CustomizedExternalSharingServiceUrl <String>]
[-ConditionalAccessPolicyErrorHelpLink <String>] [-RestrictedAccessControlforSitesErrorHelpLink <String>]
[-SocialBarOnSitePagesDisabled <Boolean>] [-SiteOwnersCanAccessMissingContent <Boolean>]
[-OrphanedPersonalSitesRetentionPeriod <Int32>] [-PermissiveBrowserFileHandlingOverride <Boolean>]
[-DisallowInfectedFileDownload <Boolean>] [-DefaultLinkPermission <SharingPermissionType>]
[-CustomizedExternalSharingServiceUrl <String>] [-ConditionalAccessPolicyErrorHelpLink <String>]
[-RestrictedAccessControlforSitesErrorHelpLink <String>]
[-RestrictedAccessControlForOneDriveErrorHelpLink <String>]
[-ApplyAppEnforcedRestrictionsToAdHocRecipients <Boolean>] [-FilePickerExternalImageSearchEnabled <Boolean>]
[-EmailAttestationRequired <Boolean>] [-EmailAttestationReAuthDays <Int32>]
Expand All @@ -82,6 +87,7 @@ Set-SPOTenant [-MinCompatibilityLevel <Int32>] [-MaxCompatibilityLevel <Int32>]
[-IsFluidEnabled <Boolean>] [-IsWBFluidEnabled <Boolean>] [-IsCollabMeetingNotesFluidEnabled <Boolean>]
[-IsLoopEnabled <Boolean>] [-DisableDocumentLibraryDefaultLabeling <Boolean>]
[-ExtendPermissionsToUnprotectedFiles <Boolean>] [-EnableSensitivityLabelForPDF <Boolean>]
[-EnableSensitivityLabelForOneNote <Boolean>] [-EnableSensitivityLabelForVideoFiles <Boolean>]
[-BlockSendLabelMismatchEmail <Boolean>] [-LabelMismatchEmailHelpLink <String>]
[-BlockUserInfoVisibility <String>] [-BlockUserInfoVisibilityInOneDrive <TenantBrowseUserInfoPolicyValue>]
[-BlockUserInfoVisibilityInSharePoint <TenantBrowseUserInfoPolicyValue>]
Expand All @@ -106,8 +112,7 @@ Set-SPOTenant [-MinCompatibilityLevel <Int32>] [-MaxCompatibilityLevel <Int32>]
[-MassDeleteNotificationDisabled <Boolean>] [-EnableAutoExpirationVersionTrim <Boolean>]
[-EnableMediaReactions <Boolean>] [-BusinessConnectivityServiceDisabled <Boolean>]
[-ExpireVersionsAfterDays <Int32>] [-MajorVersionLimit <Int32>] [-FileTypesForVersionExpiration <String[]>]
[-RemoveVersionExpirationFileTypeOverride <String[]>]
[-AllowSensitivityLabelOnRecords <Boolean>]
[-RemoveVersionExpirationFileTypeOverride <String[]>] [-AllowSensitivityLabelOnRecords <Boolean>]
[-DelayDenyAddAndCustomizePagesEnforcement <Boolean>]
[-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites <Boolean>]
[-AllowClassicPublishingSiteCreation <Boolean>] [-WhoCanShareAnonymousAllowList <Guid[]>]
Expand All @@ -125,16 +130,14 @@ Set-SPOTenant [-MinCompatibilityLevel <Int32>] [-MaxCompatibilityLevel <Int32>]
[-DocumentTranslationSelectedSitesListOperation <SelectedSitesListOperations>]
[-AutofillColumnsScope <SyntexFeatureScopeValue>] [-AutofillColumnsSelectedSitesList <String[]>]
[-AutofillColumnsSelectedSitesListOperation <SelectedSitesListOperations>]
[-KnowledgeAgentScope <KnowledgeAgentFeatureScopeValue>] [-KnowledgeAgentSelectedSitesList <String[]>]
[-KnowledgeAgentSelectedSitesListOperation <SelectedSitesListOperations>]
[-OpticalCharacterRecognitionScope <SyntexFeatureScopeValue>]
[-OpticalCharacterRecognitionSelectedSitesList <String[]>]
[-OpticalCharacterRecognitionSelectedSitesListOperation <SelectedSitesListOperations>]
[-DefaultContentCenterSite <String>]
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>] [-EnforceRequestDigest <Boolean>]
[-RestrictResourceAccountAccess <Boolean>] [-EnableSensitivityLabelForOneNote <Boolean>]
[-EnableSensitivityLabelForVideoFiles <Boolean>] [-SiteOwnersCanAccessMissingContent <Boolean>]
[-KnowledgeAgentScope <KnowledgeAgentFeatureScopeValue>] [-KnowledgeAgentSelectedSitesList <String[]>]
[-KnowledgeAgentSelectedSitesListOperation <SelectedSitesListOperations>]
[<CommonParameters>]
[-RestrictResourceAccountAccess <Boolean>] [<CommonParameters>]
```

### ParameterSetContentTypeSyncSiteTemplatesList
Expand Down Expand Up @@ -1809,6 +1812,50 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -CoreOrganizationSharingLinkMaxExpirationInDays

Copy link
Contributor

@samkabue samkabue Sep 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing > Applicable: SharePoint Online for all the new params #Closed

> 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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down