-
Notifications
You must be signed in to change notification settings - Fork 187
Add Org Link Expiration Policies #1038
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
cd9f9c9
505ede5
d7ed980
e874cdf
64ab74f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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>] | ||
| [-OverrideTenantOrganizationLinkExpirationPolicy <Boolean>] [-InformationBarriersMode <String>] | ||
| [-BlockDownloadLinksFileType <BlockDownloadLinksFileTypes>] | ||
| [-OverrideBlockUserInfoVisibility <SiteUserInfoVisibilityPolicyValue>] | ||
| [-LoopDefaultSharingLinkScope <SharingScope>] [-LoopDefaultSharingLinkRole <SharingRole>] | ||
|
|
@@ -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 | ||
|
|
@@ -1594,6 +1593,46 @@ Accept pipeline input: False | |
| Accept wildcard characters: False | ||
| ``` | ||
|
|
||
| ### -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 | ||
| Parameter Sets: ParamSet1 | ||
| Aliases: | ||
|
|
||
| Required: False | ||
| Position: Named | ||
| Default value: None | ||
| Accept pipeline input: False | ||
| Accept wildcard characters: False | ||
| ``` | ||
|
|
||
| ### -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 | ||
| 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 +1727,21 @@ Accept pipeline input: False | |
| Accept wildcard characters: False | ||
| ``` | ||
|
|
||
| ### -OverrideTenantOrganizationLinkExpirationPolicy | ||
| {{ Fill OverrideTenantOrganizationLinkExpirationPolicy Description }} | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oops :) #Closed |
||
| ```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 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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>] | ||
|
|
@@ -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>] | ||
|
|
@@ -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>] | ||
|
|
@@ -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[]>] | ||
|
|
@@ -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 | ||
|
|
@@ -1809,6 +1812,46 @@ Accept pipeline input: False | |
| Accept wildcard characters: False | ||
| ``` | ||
|
|
||
| ### -CoreOrganizationSharingLinkMaxExpirationInDays | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. missing |
||
| 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. | ||
|
|
@@ -4151,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. | ||
|
|
@@ -4639,28 +4722,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 | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing
> Applicable: SharePoint Onlinefor all the new params #Closed