Set-SPOTenant
Sets properties on the SharePoint Online organization.
Syntax
Set-SPOTenant
[-ApplyAppEnforcedRestrictionsToAdHocRecipients <Boolean>]
[-BccExternalSharingInvitations <Boolean>]
[-BccExternalSharingInvitationsList <String>]
[-BlockDownloadLinksFileType <BlockDownloadLinksFileTypes>]
[-BusinessConnectivityServiceDisabled <Boolean>]
[-DelegateRestrictedAccessControlManagement <Boolean>]
[-DelegateRestrictedContentDiscoverabilityManagement <Boolean>]
[-DisplayStartASiteOption <Boolean>]
[-EnableAIPIntegration <Boolean>]
[-EnableAutoNewsDigest <Boolean>]
[-EnableMinimumVersionRequirement <Boolean>]
[-EnablePromotedFileHandlers <Boolean>]
[-ExternalServicesEnabled <Boolean>]
[-MarkNewFilesSensitiveByDefault <SensitiveByDefaultState>]
[-MaxCompatibilityLevel <Int32>]
[-MinCompatibilityLevel <Int32>]
[-NoAccessRedirectUrl <String>]
[-OfficeClientADALDisabled <Boolean>]
[-ProvisionSharedWithEveryoneFolder <Boolean>]
[-RequireAcceptingAccountMatchInvitedAccount <Boolean>]
[-SearchResolveExactEmailOrUPN <Boolean>]
[-SharingCapability <SharingCapabilities>]
[-ShowAllUsersClaim <Boolean>]
[-ShowEveryoneClaim <Boolean>]
[-ShowEveryoneExceptExternalUsersClaim <Boolean>]
[-AllowEveryoneExceptExternalUsersClaimInPrivateSite <Boolean>]
[-SignInAccelerationDomain <String>]
[-StartASiteFormUrl <String>]
[-UsePersistentCookiesForExplorerView <Boolean>]
[-CommentsOnSitePagesDisabled <Boolean>]
[-CommentsOnFilesDisabled <Boolean>]
[-CommentsOnListItemsDisabled <Boolean>]
[-SocialBarOnSitePagesDisabled <Boolean>]
[-DefaultLinkPermission <SharingPermissionType>]
[-DefaultSharingLinkType <SharingLinkType>]
[-DisabledWebPartIds [Guid[]]]
[-DisabledAdaptiveCardExtensionIds [Guid[]]]
[-DisallowInfectedFileDownload <Boolean>]
[-DisableAddShortcutsToOneDrive <Boolean>]
[-EnableGuestSignInAcceleration <Boolean>]
[-FileAnonymousLinkType <AnonymousLinkType>]
[-FilePickerExternalImageSearchEnabled <Boolean>]
[-FolderAnonymousLinkType <AnonymousLinkType>]
[-IPAddressAllowList <String>]
[-IPAddressEnforcement <Boolean>]
[-IPAddressWACTokenLifetime <Int32>]
[-LegacyAuthProtocolsEnabled <Boolean>]
[-MediaTranscriptionAutomaticFeatures <MediaTranscriptionAutomaticFeaturesPolicyType>]
[-MediaTranscription <MediaTranscriptionPolicyType>]
[-NotificationsInOneDriveForBusinessEnabled <Boolean>]
[-NotificationsInSharePointEnabled <Boolean>]
[-NotifyOwnersWhenInvitationsAccepted <Boolean>]
[-NotifyOwnersWhenItemsReshared <Boolean>]
[-ODBAccessRequests <SharingState>]
[-ODBMembersCanShare <SharingState>]
[-OneDriveForGuestsEnabled <Boolean>]
[-OneDriveStorageQuota <Int64>]
[-IsWBFluidEnabled <Boolean>]
[-OrphanedPersonalSitesRetentionPeriod <Int32>]
[-OwnerAnonymousNotification <Boolean>]
[-PermissiveBrowserFileHandlingOverride <Boolean>]
[-PreventExternalUsersFromResharing <Boolean>]
[-PublicCdnAllowedFileTypes <String>]
[-PublicCdnEnabled <Boolean>]
[-RequireAnonymousLinksExpireInDays <Int32>]
[-SharingAllowedDomainList <String>]
[-SharingBlockedDomainList <String>]
[-SharingDomainRestrictionMode <SharingDomainRestrictionModes>]
[-ShowPeoplePickerSuggestionsForGuestUsers <Boolean>]
[-SpecialCharactersStateInFileFolderNames <SpecialCharactersState>]
[-ReSyncTenantPrivacyProfile]
[-UseFindPeopleInPeoplePicker <Boolean>]
[-ContentTypeSyncSiteTemplatesList [String[]]]
[-ExcludeSiteTemplate]
[-CustomizedExternalSharingServiceUrl <String>]
[-ConditionalAccessPolicy <SPOConditionalAccessPolicyType>]
[-ConditionalAccessPolicyErrorHelpLink <String>]
[-LimitedAccessFileType <SPOLimitedAccessFileType>]
[-AllowDownloadingNonWebViewableFiles <Boolean>]
[-AllowCommentsTextOnEmailEnabled <Boolean>]
[-AllowEditing <Boolean>]
[-EnableAzureADB2BIntegration <Boolean>]
[-ExternalUserExpirationRequired <Boolean>]
[-ExternalUserExpireInDays <Int32>]
[-EmailAttestationRequired <Boolean>]
[-EmailAttestationReAuthDays <Int32>]
[-BlockUserInfoVisibility]
[-BlockUserInfoVisibilityInOneDrive]
[-BlockUserInfoVisibilityInSharePoint]
[-AllowOverrideForBlockUserInfoVisibility]
[-IncludeAtAGlanceInShareEmails]
[-StopNew2010Workflows <Boolean>]
[-StopNew2013Workflows <Boolean>]
[-BlockSendLabelMismatchEmail <Boolean>]
[-DisableOutlookPSTVersionTrimming <Boolean>]
[-ViewInFileExplorerEnabled <Boolean>]
[-AllowGuestUserShareToUsersNotInSiteCollection <Boolean>]
[-DisableCustomAppAuthentication <Boolean>]
[-IsSharePointAddInsDisabled <Boolean>]
[-SiteOwnerManageLegacyServicePrincipalEnabled <Boolean>]
[-ReduceTempTokenLifetimeEnabled <Boolean>]
[-ReduceTempTokenLifetimeValue <Int32>]
[-ShowPeoplePickerGroupSuggestionsForIB <Boolean>]
[-InformationBarriersSuspension <Boolean>]
[-IBImplicitGroupBased <Boolean>]
[-DefaultOneDriveInformationBarrierMode <String>]
[-ViewersCanCommentOnMediaDisabled <Boolean>]
[-CoreSharingCapability <SharingCapabilities>]
[-OneDriveRequestFilesLinkEnabled <Boolean>]
[-CoreRequestFilesLinkEnabled <Boolean>]
[-OneDriveRequestFilesLinkExpirationInDays <Int32>]
[-CoreRequestFilesLinkExpirationInDays <Int32>]
[-OneDriveLoopDefaultSharingLinkScope <String>]
[-OneDriveLoopDefaultSharingLinkRole <String>]
[-CoreLoopDefaultSharingLinkScope <String>]
[-CoreLoopDefaultSharingLinkRole <String>]
[-AllowAnonymousMeetingParticipantsToAccessWhiteboards <SharingState>]
[-LabelMismatchEmailHelpLink <String>]
[-DisableBackToClassic <Boolean>]
[-IsEnableAppAuthPopUpEnabled <Boolean>]
[-BlockDownloadFileTypePolicy <Boolean>]
[-EnableAutoExpirationVersionTrim <Boolean>]
[-MajorVersionLimit <int>]
[-ExpireVersionsAfterDays <int>]
[-MassDeleteNotificationDisabled <Boolean>]
[-DisableDocumentLibraryDefaultLabeling <Boolean>]
[-EnableSensitivityLabelforPDF <Boolean>]
[-DelayDenyAddAndCustomizePagesEnforcement <Boolean>]
[-IsDataAccessInCardDesignerEnabled <Boolean>]
[-EnableVersionExpirationSetting <Boolean>]
[-OneDriveSharingCapability <SharingCapabilities>]
[-OneDriveDefaultShareLinkScope <SharingScope>]
[-OneDriveDefaultShareLinkRole <SharingRole>]
[-OneDriveDefaultLinkToExistingAccess <Boolean>]
[-CoreDefaultShareLinkScope <SharingScope>]
[-CoreDefaultShareLinkRole <SharingRole>]
[-CoreDefaultLinkToExistingAccess <Boolean>]
[-SelfServiceSiteCreationDisabled <Boolean>]
[-SyncAadB2BManagementPolicy <Boolean>]
[-ResyncContentSecurityPolicyConfigurationEntries <Boolean>]
[-EnforceContentSecurityPolicy <Boolean>]
[-DocumentUnderstandingModelScope <SyntexFeatureScopeValue>]
[-DocumentUnderstandingModelSelectedSitesList [String[]]]
[-DocumentUnderstandingModelSelectedSitesListOperation <SelectedSitesListOperations>]
[-AIBuilderModelScope <SyntexFeatureScopeValue>]
[-AIBuilderModelSelectedSitesList [String[]]]
[-AIBuilderModelSelectedSitesListOperation <SelectedSitesListOperations>]
[-AIBuilderModelSelectedSitesIncludesContentCenters <Boolean>]
[-PrebuiltModelScope <SyntexFeatureScopeValue>]
[-PrebuiltModelSelectedSitesList [String[]]]
[-PrebuiltModelSelectedSitesListOperation <SelectedSitesListOperations>]
[-DefaultContentCenterSite <String>]
[-DocumentTranslationScope <SyntexFeatureScopeValue>]
[-DocumentTranslationSelectedSitesList [String[]]]
[-DocumentTranslationSelectedSitesListOperation <SelectedSitesListOperations>]
[-AutofillColumnScope <SyntexFeatureScopeValue>]
[-AutofillColumnsSelectedSitesList [String[]]]
[-AutofillColumnsSelectedSitesListOperation <SelectedSitesListOperations>]
[-OpticalCharacterRecognitionScope <SyntexFeatureScopeValue>]
[-OpticalCharacterRecognitionSelectedSitesList [String[]]]
[-OpticalCharacterRecognitionSelectedSitesListOperation <SelectedSitesListOperations>]
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>]
[-WhoCanShareAnonymousAllowList [Guid[]]]
[-WhoCanShareAuthenticatedGuestAllowList [Guid[]]]
[-ExtendPermissionsToUnprotectedFiles <Boolean>]
[<CommonParameters>]
Description
You can use the Set-SPOTenant
cmdlet to enable external services and to specify the versions in which site collections can be created.
You can also use the Set-SPOSite
cmdlet together with the Set-SPOTenant
cmdlet to block access to a site in your organization and redirect traffic to another site.
You must be a SharePoint Online administrator to run the cmdlet.
Examples
EXAMPLE 1
Set-SPOSite -Identity https://contoso.sharepoint.com/sites/team1 -LockState NoAccess
Set-SPOTenant -NoAccessRedirectUrl 'https://www.contoso.com'
This example blocks access to https://contoso.sharepoint.com/sites/team1 and redirects traffic to https://www.contoso.com.
EXAMPLE 2
Set-SPOTenant -ShowEveryoneExceptExternalUsersClaim $false
This example hides the "Everyone Except External Users" claim in People Picker.
EXAMPLE 3
Set-SPOTenant -ShowAllUsersClaim $false
This example hides the "All Users" claim group in People Picker.
EXAMPLE 4
Set-SPOTenant -UsePersistentCookiesForExplorerView $true
This example enables the use of special persisted cookie for Open with Explorer.
EXAMPLE 5
Set-SPOTenant -LegacyAuthProtocolsEnabled $True
This example enables legacy authentication protocols on the tenant. This can help to enable login in situations where the admin users get an error like "Cannot contact web site 'https://contoso-admin.sharepoint.com/' or the web site does not support SharePoint Online credentials. The response status code is 'Unauthorized'.", and the underlying error is "Access denied. Before opening files in this location, you must first browse to the web site and select the option to login automatically."
EXAMPLE 6
Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites
This example enables Content Type Hub to push content types to all OneDrive for Business sites. There is no change in Content Type Publishing behavior for other sites.
EXAMPLE 7
Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites -ExcludeSiteTemplate
This example stops publishing content types to OneDrive for Business sites.
EXAMPLE 8
Set-SPOTenant -SearchResolveExactEmailOrUPN $true
This example disables starts with for all users/partial name search functionality for all SharePoint users, except SharePoint Admins.
EXAMPLE 9
Set-SPOTenant -UseFindPeopleInPeoplePicker $true
This example enables tenant admins to enable ODB and SPO to respect Exchange supports Address Book Policy (ABP) policies in the people picker.
EXAMPLE 10
Set-SPOTenant -ShowPeoplePickerSuggestionsForGuestUsers $true
This example enables the option to search for existing guest users at Tenant Level.
EXAMPLE 11
Set-SPOTenant -EnableAutoExpirationVersionTrim $true
This example sets automatic version history limits on all new document libraries at tenant level.
EXAMPLE 12
Set-SPOTenant -EnableAutoExpirationVersionTrim $false -MajorVersionLimit 500 -ExpireVersionsAfterDays 30
This example sets manual version history limits on all new document libraries at tenant level by limiting the number of major versions and the time (in days) versions are kept.
EXAMPLE 13
Set-SPOTenant -EnableAutoExpirationVersionTrim $false -MajorVersionLimit 500 -ExpireVersionsAfterDays 0
This example sets manual version history limits on all new document libraries at tenant level by limiting the number of major versions with no time limits.
EXAMPLE 14
Set-SPOTenant -SharingDomainRestrictionMode "AllowList" -SharingAllowedDomainList "contoso.com fabrikam.com"
This example enables users to share with external collaborators from those domains only.
EXAMPLE 15
Set-SPOTenant -SharingDomainRestrictionMode "BlockList" -SharingBlockedDomainList "contoso.com"
This example enables users to share with all external collaborators except for those on the BlockedDomainList.
EXAMPLE 16
Set-SPOTenant -EnableVersionExpirationSetting $true
The EnableVersionExpirationSetting
parameter is no longer active, this feature is now automatically enabled for each tenant. Setting EnableVersionExpirationSetting
to false would not disable the feature.
Learn more about Version History Settings
EXAMPLE 17
Set-SPOTenant -PrebuiltModelScope SelectedSites -PrebuiltModelSelectedSitesList "https://contoso.sharepoint.com/sites/site1","https://contoso.sharepoint.com/sites/site2" -PrebuiltModelSelectedSitesListOperation Append
This example sets the scope of the prebuilt model and prebuilt document processing premium feature to SelectedSites
, which limits the feature to only sites included in the selected sites list. This example also appends two sites to the feature's selected sites list.
Use of these parameters require the tenant to either have the required license or pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex.
EXAMPLE 18
Set-SPOTenant -DefaultContentCenterSite "https://contoso.sharepoint.com/sites/contentcenter"
This example sets the tenant's default content center. It can only be used if the tenant does not already have a designated default content center. To learn more about content centers, visit Create a content center in Microsoft Syntex.
Use of this parameter requires the tenant to either have the required license or pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex.
EXAMPLE 19
$list = (Get-SPOTenant | Select-Object WhoCanShareAnonymousAllowList).WhoCanShareAnonymousAllowList
Set-SPOTenant -WhoCanShareAnonymousAllowList ($list + <new GUID>)
This example appends a security group to the WhoCanShareAnonymousAllowList. Similar code works for the WhoCanShareAuthenticatedGuestAllowList.
EXAMPLE 20
Set-SPOTenant -WhoCanShareAnonymousAllowList @()
This example empties the WhoCanShareAnonymousAllowList. Similar code works for the WhoCanShareAuthenticatedGuestAllowList.
EXAMPLE 21
Set-SPOTenant -DisabledAdaptiveCardExtensionIds 0d2d0fd0-9489-47ef-acfb-90edca009cba
This example disables the Power Apps Adaptive Card Extension.
Parameters
-AIBuilderModelScope
This parameter allows administrators to limit which SharePoint sites the AI builder model and structured and freeform document processing premium feature is available on.
The valid values are:
NoSites
: AI builder models are not available on any sites.AllSites
: AI builder models are available on all sites.SelectedSites
: AI builder models are available only on sites within the feature's selected sites list.
Note
Use of this parameter requires that the tenant either have the required license or pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex. Use of this parameter will clear the current AI builder model selected sites list, if one exists.
Type: | SyntexFeatureScopeValue |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-AIBuilderModelSelectedSitesIncludesContentCenters
This parameter allows administrators to choose whether or not the AI builder model and structured and freeform document processing premium feature is available on all content center sites when the feature's scope is SelectedSites
even if they are not explicitly included within the selected sites list. This parameter can only be called if the AI builder model's scope is set to SelectedSites
.
Note
Use of this parameter requires that the tenant either have the required license or pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-AIBuilderModelSelectedSitesList
This parameter allows administrators to pass a list of SharePoint site URLs to modify the AI builder model and structured and freeform document processing premium feature's selected sites list. By default this parameter overwrites the existing list with the user input list. Additionally, the AIBuilderModelSelectedSitesListOperation
parameter can be used to specify a different operation. This parameter can only be called if the AI builder model's scope is set to SelectedSites
. The inputted list of site URLs cannot exceed 100 items.
Note
Use of this parameter requires that the tenant either have the required license or pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-AIBuilderModelSelectedSitesListOperation
This parameter allows administrators to specify the operation to perform on the AI builder model and structured and freeform document processing premium feature's current selected sites list using the list of site URLs passed to the AIBuilderModelSelectedSitesList
parameter.
The valid values are:
Overwrite
: Overwrite the existing selected sites list. This is the default operation.Append
: Append the input list of sites to the existing selected sites list.Remove
: Remove the input list of sites from the existing selected sites list.
Note
Use of this parameter requires that the tenant either have the required license or pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex.
Calling this parameter without AIBuilderModelSelectedSitesList
has no effect.
Type: | SelectedSitesListOperations |
Position: | Named |
Default value: | Overwrite |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-AllowAnonymousMeetingParticipantsToAccessWhiteboards
When you share a whiteboard in a Teams meeting, Whiteboard creates a sharing link. This link is accessible by anyone within the organization. The whiteboard is also shared with any in-tenant users in the meeting. Whiteboards are shared using company-shareable links, regardless of the default setting. Support for the default sharing link type is planned.
There's more capability for temporary collaboration by external and shared device accounts during a Teams meeting. Users can temporarily view and collaborate on whiteboards that are shared in a meeting, in a similar way to PowerPoint Live sharing.
In this case, Whiteboard provides temporary viewing and collaboration on the whiteboard during the Teams meeting only. A share link isn't created and Whiteboard doesn't grant access to the file.
If you have external sharing enabled for OneDrive for Business, no further action is required.
If you restrict external sharing for OneDrive for Business, you can keep it restricted, and just enable this new setting in order for external and shared device accounts to work. For more information, see Manage sharing for Microsoft Whiteboard.
Type: | SharingState |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AllowCommentsTextOnEmailEnabled
When this parameter is true, the email notification that a user receives when is mentioned, includes the surrounding document context. Set it to false to disable this feature.
Type: | Boolean |
Position: | Named |
Default value: | True |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-AllowDownloadingNonWebViewableFiles
This parameter has been deprecated.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-AllowEditing
Prevents users from editing Office files in the browser and copying and pasting Office file contents out of the browser window.
PARAMVALUE: $true | $false
Type: | Boolean |
Position: | Named |
Default value: | True |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-AllowEveryoneExceptExternalUsersClaimInPrivateSite
When this parameter is true, the "Everyone except external users" claim is available in the People Picker of a private site. Set it to false to disable this feature.
The valid values are:
- True - The "Everyone except external users" claim is available in People Picker of a private site.
- False (default) - The "Everyone except external users" claim is not available in People Picker of a private site.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-AllowGuestUserShareToUsersNotInSiteCollection
The AllowGuestUserShareToUsersNotInSiteCollection settings (defaulted to false) will allow guests to share to users not in the site.
The valid values are:
- False (default) - Guest users will only be able to share to users that exist within the current site.
- True - Guest users will be able to find user accounts in the directory by typing in the exact email address match.
Note: When the value is set to True, you will also need to enable SharePoint and OneDrive integration with Microsoft Entra B2B for the functionality to work.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-AllowOverrideForBlockUserInfoVisibility
Allow organization level policy for Block User Info Visibility to be overridden for a SharePoint site or OneDrive. Use Set-SPOSite to override the policy for a SharePoint site or OneDrive.
The valid values are:
False (default) - Do not allow the Block User Info Visibility policy to be overridden for a SharePoint site or OneDrive.
True - Allow the Block User Info Visibility policy to be overridden for a SharePoint site or OneDrive.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled
Enables or disables web property bag update when DenyAddAndCustomizePages is enabled. When AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled is set to $true, web property bag can be updated even if DenyAddAndCustomizePages is turned on when the user had AddAndCustomizePages (prior to DenyAddAndCustomizePages removing it).
PARAMVALUE: $true | $false
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ApplyAppEnforcedRestrictionsToAdHocRecipients
When the feature is enabled, all guest users are subject to conditional access policy. By default guest users who are accessing SharePoint Online files with pass code are exempt from the conditional access policy.
The valid values are:
- False (default) - Guest access users are exempt from conditional access policy.
- True - Conditional access policy is also applied to guest users.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-AutofillColumnsScope
This parameter allows administrators to limit which SharePoint sites the autofill columns premium feature is available on.
The valid values are:
NoSites
: Autofill columns are not available on any sites.AllSites
: Autofill columns are available on all sites.SelectedSites
: Autofill columns are available only on sites within the feature's selected sites list.
Note
Use of this parameter requires that the tenant has pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex. Use of this parameter will clear the current autofill columns selected sites list, if one exists.
Type: | SyntexFeatureScopeValue |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-AutofillColumnsSelectedSitesList
This parameter allows administrators to pass a list of SharePoint site URLs to modify the autofill columns premium feature's selected sites list. By default this parameter overwrites the existing list with the user input list. Additionally, the AutofillColumnsSelectedSitesListOperation
parameter can be used to specify a different operation. This parameter can only be called if autofill columns' scope is set to SelectedSites
. The inputted list of site URLs cannot exceed 100 items.
Note
Use of this parameter requires that the tenant has pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-AutofillColumnsSelectedSitesListOperation
This parameter allows administrators to specify the operation to perform on the autofill columns premium feature's current selected sites list using the list of site URLs passed to the AutofillColumnsSelectedSitesList
parameter.
The valid values are:
Overwrite
: Overwrite the existing selected sites list. This is the default operation.Append
: Append the input list of sites to the existing selected sites list.Remove
: Remove the input list of sites from the existing selected sites list.
Note
Use of this parameter requires that the tenant has pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex.
Calling this parameter without AutofillColumnsSelectedSitesList
has no effect.
Type: | SelectedSitesListOperations |
Position: | Named |
Default value: | Overwrite |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-BccExternalSharingInvitations
When the feature is enabled, all external sharing invitations that are sent will blind copy the e-mail messages listed in the BccExternalSharingsInvitationList.
The valid values are:
- False (default) - BCC for external sharing is disabled.
- True - All external sharing invitations that are sent will blind copy the e-mail messages listed in the BccExternalSharingsInvitationList.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-BccExternalSharingInvitationsList
Specifies a list of e-mail addresses to be BCC'd when the BCC for External Sharing feature is enabled.
Multiple addresses can be specified by creating a comma separated list with no spaces.
The valid values are:
- "" (default) - Blank by default, this will also clear any value that has been set.
- Single or Multiple e-mail addresses - joe@contoso.com or joe@contoso.com,bob@contoso.com
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-BlockDownloadFileTypePolicy
You can block the download of Teams meeting recording files from SharePoint or OneDrive. This allows users to remain productive while addressing the risk of accidental data loss. Users have browser-only access to play the meeting recordings with no ability to download or sync files or access them through apps.
This policy applies to new meeting recordings across the entire organization. You can exempt people who are members of specified security groups from the policy. This allows you to specify governance or compliance specialists who should have download access to meeting recordings.
After the policy is turned on, any new Teams meeting recording files created by the Teams service and saved in SharePoint and OneDrive are blocked from download.
Because this policy affects meeting recordings stored in OneDrive and SharePoint, you must be a SharePoint administrator to configure it.
Note that this policy doesn't apply to manually uploaded meeting recording files. For more details, see Block the download of Teams meeting recording files from SharePoint or OneDrive.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-BlockDownloadLinksFileType
The valid values are:
- WebPreviewableFiles
- ServerRenderedFilesOnly
Note: ServerRendered (Office Only) and WebPreviewable (All supported files).
Type: | BlockDownloadLinksFileTypes |
Position: | Named |
Default value: | WebPreviewableFiles |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-BlockSendLabelMismatchEmail
When a sensitivity label mismatch occurs between the label on the document uploaded and the label on the site, SharePoint Online captures an audit record, and sends an Incompatible sensitivity label detected email notification to the person who uploaded the document and the site owner. The notification contains details of the document which caused the problem and the label assigned to the document and to the site. The comparison happens between the priority of these two labels.
Type: | Boolean |
Position: | Named |
Default value: | false |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-BlockUserInfoVisibility
This feature has not yet been rolled out to Production. Attempting to set this parameter before rollout is complete will result in an error message. More details on this feature will be available on release.
Type: | String |
Position: | Named |
Default value: | ExternalPeopleInOD |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-BlockUserInfoVisibilityInOneDrive
Blocks users from accessing User Info if they have Limited Access permission only to the OneDrive. The policy applies to all OneDrives in the organization.
The valid values are:
ApplyToNoUsers - No users are prevented from accessing User Info when they have Limited Access permission only.
ApplyToAllUsers - All users (internal or external) are prevented from accessing User Info if they have Limited Access permission only.
ApplyToGuestAndExternalUsers (default) - Only external or guest users are prevented from accessing User Info if they have Limited Access permission only.
ApplyToInternalUsers - Only internal users are prevented from accessing User Info if they have Limited Access permission only.
Type: | String |
Position: | Named |
Default value: | ApplyToGuestAndExternalUsers |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-BlockUserInfoVisibilityInSharePoint
Blocks users from accessing User Info if they have Limited Access permission only to a SharePoint site. The policy applies to all SharePoint sites in the organization.
The valid values are:
ApplyToNoUsers (default) - No users are prevented from accessing User Info when they have Limited Access permission only to a SharePoint site.
ApplyToAllUsers - All users (internal or external) are prevented from accessing User Info if they have Limited Access permission only to a SharePoint site.
ApplyToGuestAndExternalUsers - Only external or guest users are prevented from accessing User Info if they have Limited Access permission only to a SharePoint site.
ApplyToInternalUsers - Only internal users are prevented from accessing User Info if they have Limited Access permission only to a SharePoint site.
Type: | String |
Position: | Named |
Default value: | ApplyToNoUsers |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-BusinessConnectivityServiceDisabled
Prevents access to features that depend on the Business Connectivity Service (BCS), including external lists, external columns, and external content types.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-CommentsOnFilesDisabled
Disables or enables commenting functionality on the files. PARAMVALUE: $true | $false
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-CommentsOnListItemsDisabled
Disables or enables commenting functionality on list items. PARAMVALUE: $true | $false
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-CommentsOnSitePagesDisabled
Disables or enables commenting functionality on the site pages. PARAMVALUE: $true | $false
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ConditionalAccessPolicy
Please read Control access from unmanaged devices documentation here to understand Conditional Access Policy usage in SharePoint Online.
PARAMVALUE: AllowFullAccess | AllowLimitedAccess | BlockAccess
Type: | SPOConditionalAccessPolicyType |
Position: | Named |
Default value: | AllowFullAccess |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ConditionalAccessPolicyErrorHelpLink
A Link for help when Conditional Access Policy blocks a user. This should be in a valid URL format. A valid URL format that begins with http:// or https://.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ContentTypeSyncSiteTemplatesList [String[]] [-ExcludeSiteTemplate]
By default Content Type Hub will no longer push content types to OneDrive for Business sites (formerly known as MySites).
In case you want the Content Type Hub to push content types to OneDrive for Business sites, use: Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites
.
When the feature is enabled, the Content Type Hub will push content types to OneDrive for Business sites.
Once you have enabled Content Type publishing to OneDrive for Business sites, you can disable it later using: Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites -ExcludeSiteTemplate
.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CoreDefaultLinkToExistingAccess
When set to True
, the default sharing link will be a "People with Existing Access" link (which does not modify permissions) for SharePoint sites. When set to False
(the default), the default sharing link type is controlled by the CoreDefaultShareLinkScope
parameter.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-CoreDefaultShareLinkRole
This parameter sets the default share link role on SharePoint sites. It replaces the DefaultLinkPermission
.
The valid values are:
None
: No permissions granted.View
: View-only permissions.Edit
: Edit permissions.Review
: Review permissions.RestrictedView
: Restricted view permissions.
Type: | SharingRole |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-CoreDefaultShareLinkScope
This parameter sets the default share link scope on SharePoint sites. It replaces the DefaultSharingLinkType
.
The valid values are:
Anyone
: Anyone with the link can access the content.Organization
: Only people within the organization can access the content.SpecificPeople
: Only specific individuals (specified by the user) can access the content.Uninitialized
: The default value, indicating that the default share link scope is not explicitly set.
Type: | SharingScope |
Position: | Named |
Default value: | Uninitialized |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-CoreLoopDefaultSharingLinkRole
This parameter sets the default share link role for Loop and Whiteboard files on SharePoint sites.
The valid values are:
- Edit
- View
- None
- Review
- RestrictedView
Type: | SharingRole |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-CoreLoopDefaultSharingLinkScope
This parameter sets the default share link scope for Loop and Whiteboard files on SharePoint sites.
The valid values are:
- Anyone
- Organization
- SpecificPeople
- Uninitialized
Type: | SharingScope |
Position: | Named |
Default value: | Uninitialized |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-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.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-CoreRequestFilesLinkExpirationInDays
Specifies the number of days before a Request files link expires for all SharePoint sites (not including OneDrive sites).
The value can be from 0 to 730 days.
To remove the expiration requirement, set the value to zero (0).
Type: | Int32 |
Position: | Named |
Default value: | -1 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-CoreSharingCapability
Determines what level of sharing is available for SharePoint sites (not including OneDrive sites).
The valid values are:
- ExternalUserAndGuestSharing (default) - External user sharing (share by email) and guest link sharing are both enabled.
- Disabled - External user sharing (share by email) and guest link sharing are both disabled.
- ExternalUserSharingOnly - External user sharing (share by email) is enabled, but guest link sharing is disabled.
- ExistingExternalUserSharingOnly - Only guests already in your organization's directory.
For more information about sharing, see Manage sharing settings for your SharePoint online environment.
Type: | SharingCapabilities |
Position: | Named |
Default value: | ExternalUserAndGuestSharing |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-CustomizedExternalSharingServiceUrl
Specifies a URL that will be appended to the error message that is surfaced when a user is blocked from sharing externally by policy. This URL can be used to direct users to internal portals to request help or to inform them about your organization's policies. An example value is "https://www.contoso.com/sharingpolicies".
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DefaultContentCenterSite
This parameter allows administrators to set the default content center site for their tenant, if one does not already exist, by providing a content center's URL. The content center configured here is the default for all document processing services. Content center owners can view analytics for all applied models in it, and members can build enterprise models. For more information visit Create a content center in Microsoft Syntex.
Note
Use of this parameter requires that the tenant either have the required license or pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex. You cannot change the designated default content center once it has been set.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DefaultLinkPermission
Lets administrators choose the default permission of the link in the sharing dialog box in OneDrive for Business and SharePoint Online. This applies to anonymous access, internal and direct links.
The valid values are View and Edit (default).
Type: | SharingPermissionType |
Position: | Named |
Default value: | Edit |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DefaultOneDriveInformationBarrierMode
The DefaultOneDriveInformationBarrierMode sets the information barrier mode for all OneDrive sites.
The valid values are:
- Open
- Explicit
- Implicit
- OwnerModerated
- Mixed
For more information about information barriers, see Use information barriers with SharePoint for your SharePoint Online environment.
Type: | String |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DefaultSharingLinkType
Lets administrators choose the default link type in the sharing dialog box in OneDrive for Business and SharePoint Online.
For additional information about how to change the default link type, see Change the default link type when users get links for sharing.
Note
Setting this value to "none" will default "get a link" to the most permissive link available (that is, if anonymous links are enabled, the default link will be anonymous access; if they are disabled then the default link will be internal.
The valid values are:
- None - Respect the organization default sharing link type
- Direct - Sets the default sharing link for this site to the Specific people link
- Internal - Sets the default sharing link for this site to the organization link or company shareable link
- AnonymousAccess - Sets the default sharing link for this site to an Anonymous Access or Anyone link
Type: | SharingLinkType |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DelayDenyAddAndCustomizePagesEnforcement
This parameter controls how SharePoint will deal with sites where custom scripts are allowed.
The valid values are:
- False (default) - for site collections where administrators enabled the ability to add custom script, SharePoint will revoke that ability within 24 hours from the last time this setting was changed.
- True - All changes performed by administrators to custom script settings are preserved.
Note
This setting affects all sites. There are no options to preserve changes to custom script settings only on some specific sites. This parameter will be available until November 2024. After that time, administrators can still allow custom scripts on specific sites, but that change will be revoked automatically after up to 24 hours. For more information, see Allow or prevent custom script.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DelegateRestrictedAccessControlManagement
Allows SharePoint administrators to delegate the management of Restricted access control policy on sites to site admins and owners.
The valid values are:
True - Allow site admins and owners to manage Restricted access control policy
False (default) - Do not allow site admins and owners to manage Restricted access control policy
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DelegateRestrictedContentDiscoverabilityManagement
Allows SharePoint administrators to delegate the management of Restricted content discoverability policy on sites to site admins and owners.
The valid values are:
True - Allow site admins and owners to manage Restricted content discoverability policy
False (default) - Do not allow site admins and owners to manage Restricted content discoverability policy
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DisableAddShortcutsToOneDrive
When the feature is disabled ($true), the option Add shortcut to My files will be removed; any folders that have already been added will remain on the user's computer.
PARAMVALUE: $true | $false
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DisableBackToClassic
Enables or disables the link "Return to classic SharePoint" on modern SharePoint list and library pages.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DisableCustomAppAuthentication
Prevents apps using an Azure Access Control (ACS) app-only access token to access SharePoint. ACS, a service of Microsoft Entra ID, has been retired on November 7, 2018. This retirement does not impact the SharePoint add-in model, which uses the https://accounts.accesscontrol.windows.net hostname (which is not impacted by this retirement). For new tenants, apps using an ACS app-only access token are disabled by default. We recommend using the Microsoft Entra app-only model which is modern and more secure. Note that marking this property to $true doesn't prevent creating apps in SharePoint that use an Azure Access Control (ACS) app-only access token. Marking this property to $true only ensures that such apps can't access SharePoint anymore.
Accepts a value of true or false. By default this feature is set to true.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DisabledAdaptiveCardExtensionIds
Allows administrators to prevent certain Adaptive Card Extensions from being added to pages or rendering on pages on which they were previously added. Currently, only the following Adaptive Card Extensions can be disabled in such a manner:
Adaptive Card Extension Name | GUID |
---|---|
Power Apps | 0d2d0fd0-9489-47ef-acfb-90edca009cba |
To disable a specific Adaptive Card Extension, you need to enter its GUID as the parameter. To view a list of disabled Adaptive Card Extensions, use Get-SPOTenant to get DisabledAdaptiveCardExtensionIds
.
To re-enable some disabled Adaptive Card Extensions, use the Set-SPOTenant
with the -DisabledAdaptiveCardExtensionIds
parameter and corresponding GUIDs that you still want to keep disabling. To re-enable all disabled Adaptive Card Extensions, use Set-SPOTenant -DisabledAdaptiveCardExtensionIds @()
.
Type: | Guid[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DisableDocumentLibraryDefaultLabeling
This switch allows tenant admins to disable the capability of configuring a default sensitivity label for a document library.
Note
When set to $true, users aren't able to apply a default sensitivity label for a document library. The default value is false.
Type: | Boolean |
Position: | Named |
Default value: | false |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DisabledWebPartIds
Allows administrators to prevent certain web parts from being added to pages or rendering on pages on which they were previously added. Currently, only the following web parts can be disabled in such a manner:
- Amazon Kindle: 46698648-fcd5-41fc-9526-c7f7b2ace919
- YouTube: 544dd15b-cf3c-441b-96da-004d5a8cea1d
- Twitter: f6fdf4f8-4a24-437b-a127-32e66a5dd9b4
- Embed: 490d7c76-1824-45b2-9de3-676421c997fa
- Microsoft Bookings: d24a7165-c455-4d43-8bc8-fedb04d6c1b5
- Stream: 275c0095-a77e-4f6d-a2a0-6a7626911518
To disable a specific web part, you need to enter its GUID as the parameter. You can enter multiple GUIDs by using a comma to separate them, for example Set-SPOTenant -DisabledWebPartIds 46698648-fcd5-41fc-9526-c7f7b2ace919,544dd15b-cf3c-441b-96da-004d5a8cea1d. To view a list of disabled web parts, use Get-SPOTenant to get DisabledWebPartIds.
To re-enable some disabled web parts, use the Set-SPOTenant with the -DisabledWebPartIds parameter and corresponding GUIDs that you still want to keep disabling. To re-enable all disabled web parts, use Set-SPOTenant -DisabledWebPartIds @().
Type: | Guid[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DisableOutlookPSTVersionTrimming
This parameter has no effect and it was used to opt-out of PST files retention policy changes as communicated in MC256835 (May 2021). Starting August 16, 2021, the service started retaining 30 days worth of versions for any PST files stored in OneDrive for Business and SharePoint Online team site document libraries. This change was introduced to prevent cases of previous versions of PST files quickly consuming available storage. The change only impacts previous versions of PST files stored in your document library storage. As a best practice, PST files should not be uploaded on OneDrive for Business and SharePoint Online team site document libraries due to the impact on storage and network bandwidth.
PARAMVALUE: $true | $false
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DisallowInfectedFileDownload
Prevents the Download button from being displayed on the Virus Found warning page.
Accepts a value of true (enabled) to hide the Download button or false (disabled) to display the Download button. By default this feature is set to false.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DisplayStartASiteOption
Determines whether tenant users see the Start a Site menu option.
The valid values are:
- True (default) - Tenant users will see the Start a Site menu option.
- False - Start a Site is hidden from the menu.
Type: | Boolean |
Position: | Named |
Default value: | True |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DocumentTranslationScope
This parameter allows administrators to limit which SharePoint sites the document translation premium feature is available on.
The valid values are:
NoSites
: Document translation is not available on any sites.AllSites
: Document translation is available on all sites.SelectedSites
: Document translation is available only on sites within the feature's selected sites list.
Note
Use of this parameter requires that the tenant has pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex. Use of this parameter will clear the current document translation selected sites list, if one exists.
Type: | SyntexFeatureScopeValue |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DocumentTranslationSelectedSitesList
This parameter allows administrators to pass a list of SharePoint site URLs to modify the document translation premium feature's selected sites list. By default this parameter overwrites the existing list with the user input list. Additionally, the DocumentTranslationSelectedSitesListOperation
parameter can be used to specify a different operation. This parameter can only be called if document translation's scope is set to SelectedSites
. The inputted list of site URLs cannot exceed 100 items.
Note
Use of this parameter requires that the tenant has pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DocumentTranslationSelectedSitesListOperation
This parameter allows administrators to specify the operation to perform on the document translation premium feature's current selected sites list using the list of site URLs passed to the DocumentTranslationSelectedSitesList
parameter.
The valid values are:
Overwrite
: Overwrite the existing selected sites list. This is the default operation.Append
: Append the input list of sites to the existing selected sites list.Remove
: Remove the input list of sites from the existing selected sites list.
Note
Use of this parameter requires that the tenant has pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex.
Calling this parameter without DocumentTranslationSelectedSitesList
has no effect.
Type: | SelectedSitesListOperations |
Position: | Named |
Default value: | Overwrite |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DocumentUnderstandingModelScope
This parameter allows administrators to limit which SharePoint sites the document understanding model and unstructurted document processesing premium feature is available on.
The valid values are:
NoSites
: Document understanding models are not available on any sites.AllSites
: Document understanding models are available on all sites.SelectedSites
: Document understanding models are available only on sites within the feature's selected sites list.
Note
Use of this parameter requires that the tenant either have the required license or pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex. Use of this parameter will clear the current document understanding model selected sites list, if one exists.
Type: | SyntexFeatureScopeValue |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DocumentUnderstandingModelSelectedSitesList
This parameter allows administrators to pass a list of SharePoint site URLs to modify the document understanding model and unstructurted document processesing premium feature's selected sites list. By default this parameter overwrites the existing list with the user input list. Additionally, the DocumentUnderstandingModelSelectedSitesListOperation
parameter can be used to specify a different operation. This parameter can only be called if the document understanding model's scope is set to SelectedSites
. The inputted list of site URLs cannot exceed 100 items.
Note
Use of this parameter requires that the tenant either have the required license or pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-DocumentUnderstandingModelSelectedSitesListOperation
This parameter allows administrators to specify the operation to perform on the document understanding model and unstructurted document processesing premium feature's current selected sites list using the list of site URLs passed to the DocumentUnderstandingModelSelectedSitesList
parameter.
The valid values are:
Overwrite
: Overwrite the existing selected sites list. This is the default operation.Append
: Append the input list of sites to the existing selected sites list.Remove
: Remove the input list of sites from the existing selected sites list.
Note
Use of this parameter requires that the tenant either have the required license or pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex.
Calling this parameter without DocumentUnderstandingModelSelectedSitesList
has no effect.
Type: | SelectedSitesListOperations |
Position: | Named |
Default value: | Overwrite |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-EmailAttestationReAuthDays
Sets the number of days for email attestation re-authentication. Value can be from 1 to 365 days.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-EmailAttestationRequired
Sets email attestation to required.
If people who use a verification code select to "stay signed in" in the browser, they must prove that they can access the same account that they used to redeem the sharing invitation. You can set the number of days for email attestation with -EmailAttestationReAuthDays. This setting affects only ad-hoc external recipients.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-EnableAIPIntegration
This parameter enables SharePoint to process the content of files stored in SharePoint and OneDrive with sensitivity labels that include encryption. For more information, see Enable sensitivity labels for Office files in SharePoint and OneDrive.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-EnableAutoExpirationVersionTrim
Global and SharePoint Administrators can set organization-level version history limits settings that universally apply to new versions created on all new document libraries created in your organization.
When version history limits are managed automatically, SharePoint employs an algorithm behind the scenes that deletes (thins out) intermittent older versions that are least likely to be needed, while preserving sufficient high-value versions - more versions in the recent past and fewer farther back in time - in case restores are required.
The valid values are:
- True - Version history limits for new versions created on all new document libraries in your organization will be managed automatically.
- False - Version history limits for new Versions created on all new document libraries in your organization will be managed manually by setting limits to the number of major versions (
MajorVersionLimit
) and time set (ExpireVersionsAfterDays
). Review the documentation of both parameters to manage your organization's version limits manually.
Note
When version history limits are managed manually (EnableAutoExpirationVersionTrim $false
), MajorVersionLimit
and ExpireVersionsAfterDays
are both required parameters with the following acceptable values:
a. MajorVersionLimit
accepts values from 1 through 50,000 (inclusive).
b. ExpireVersionsAfterDays
accepts values of 0 to Never Expire or values >= 30 to delete versions that exceed that time period.
When version history limits are managed automatically (EnableAutoExpirationVersionTrim $true
), setting MajorVersionLimit
or ExpireVersionsAfterDays
will result in an error as the count limits are set by the service.
PARAMVALUE: $true | $false
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-EnableAutoNewsDigest
Enable or disable auto news digest. Documentation for auto news digest.
Type: | Boolean |
Position: | Named |
Default value: | True |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-EnableAzureADB2BIntegration
Enables OneDrive and SharePoint integration with Microsoft Entra B2B. For more information, see SharePoint and OneDrive integration with Microsoft Entra B2B.
PARAMVALUE: $true | $false
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-EnableGuestSignInAcceleration
Accelerates guest-enabled site collections as well as member-only site collections when the SignInAccelerationDomain parameter is set.
Note
If enabled, your identity provider must be capable of authenticating guest users. If it is not, guest users will be unable to log in and access content that was shared with them.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-EnableMinimumVersionRequirement
This parameter was used to opt-out of the versioning setting update. It has no effect as of today as versioning setting has already been rolled out.
Type: | Boolean |
Position: | Named |
Default value: | True |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-EnablePromotedFileHandlers
This parameter is reserved for Microsoft internal use.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-EnableSensitivityLabelforPDF
Allows tenant admins to turn on support for PDFs with sensitivity labels for the following scenarios:
- Applying a sensitivity label in Office for the web.
- Uploading a labeled document, and then extracting and displaying that sensitivity label.
- Search, eDiscovery, and data loss prevention.
- Auto-labeling policies and default sensitivity labels for SharePoint document libraries.
The valid values are:
- True - Enables support for PDFs.
- False (default) - Disables support for PDFs.
Type: | Boolean |
Position: | Named |
Default value: | false |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-EnableVersionExpirationSetting
The EnableVersionExpirationSetting
parameter is no longer active, this feature is now automatically enabled for each tenant.
Learn more about Version History Settings
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-EnforceContentSecurityPolicyConfiguration
When set to True
Content Security Policy violations will be enforced.
In multi-geo environments, Content Security Policy configuration is unique to each geo.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ExcludeSiteTemplate
Excludes the specified template from Content Type hub content type synchronization. Must be used with -ContentTypeSyncSiteTemplatesList [String[]]
.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ExpireVersionsAfterDays
When version history limits are managed manually (EnableAutoExpirationVersionTrim $false
), admins will need to set the limits to the number of major versions (MajorVersionLimit
) and the time period the versions are stored (ExpireVersionsAfterDays
). Please check the description of EnableAutoExpirationVersionTrim
for more details.
PARAMVALUE: Int32
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ExtendPermissionsToUnprotectedFiles
This property can be used to turn on/off the capability called "Extended SharePoint permissions to unprotected files". To learn more about this feature check here
PARAMVALUE: $true | $false
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ExternalServicesEnabled
Enables external services for a tenant.
External services are defined as services that are not in the Office 365 datacenters.
The valid values are:
- True (default) - External services are enabled for the tenant.
- False - External services that are outside of the Office 365 datacenters cannot interact with SharePoint.
Type: | Boolean |
Position: | Named |
Default value: | True |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ExternalUserExpirationRequired
Specifies whether to enable the external user expiration policy, where external users will be expired and removed from the site collection in a given number of days.
Note: Once the policy is enabled, expiration values will be set on external users as they join a site collection (via sharing links or via direct access). When the policy is disabled, it will no longer set expiration values on users, but it will not automatically clear expiration values set on existing users. The users can then have their expiration value cleared by a site collection administrator if required.
The valid values are: True - Enables the Policy. False (default) - Disables the policy.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ExternalUserExpireInDays
Specifies the number of days before an external user will expire and be removed from the site collection if the policy is enabled. Value can be from 30 to 730 days.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-FileAnonymousLinkType
Anonymous access links can allow recipients to only view or view and edit. The value can be set separately for folders and files.
The valid values are:
- View
- Edit
Type: | AnonymousLinkType |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-FilePickerExternalImageSearchEnabled
For Webparts that support inserting images, like for example Image or Hero webpart, the Web search (Powered by Bing) option will be available if enabled (the default).
Type: | Boolean |
Position: | Named |
Default value: | True |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-FolderAnonymousLinkType
Anonymous access links can allow recipients to only view or view and edit.
The valid values are:
- View
- Edit
Type: | AnonymousLinkType |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-IBImplicitGroupBased
The IBImplicitGroupBased setting enables Microsoft 365 Groups membership-based access and sharing control for all Implicit mode sites.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-IncludeAtAGlanceInShareEmails
Enable or disable the At A Glance feature in sharing e-mails. This provides the key points and time to read for the shared item if available.
Type: | Boolean |
Position: | Named |
Default value: | True |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-InformationBarriersSuspension
When InformationBarriersSuspension parameter is set to $false, information barriers in SharePoint and OneDrive is enabled, when set to $true, it is disabled.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-IPAddressAllowList
Configures multiple IP addresses or IP address ranges (IPv4 or IPv6), that are recognized as trusted.
Use commas to separate multiple IP addresses or IP address ranges. Verify there are no overlapping IP addresses and ensure IP ranges use Classless Inter-Domain Routing (CIDR) notation. For example, 172.16.0.0, 192.168.1.0/27.
Note
The IPAddressAllowList parameter only lets administrators set IP addresses or ranges that are recognized as trusted. To only grant access from these IP addresses or ranges, set the IPAddressEnforcement parameter to $true.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-IPAddressEnforcement
Allows access from network locations that are defined by an administrator.
The values are $true and $false. The default value is $false which means the setting is disabled.
Before the IPAddressEnforcement parameter is set, make sure you add a valid IPv4 or IPv6 address to the IPAddressAllowList parameter.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-IPAddressWACTokenLifetime
Allows to set the session timeout. If you are a tenant administrator and you begin IP address enforcement for OneDrive for Business in Office 365, this enforcement automatically activates a tenant parameter IPAddressWACTokenLifetime. The default value is 15 minutes, when IP Address Enforcement is True.
PARAMVALUE: Int32
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-IsDataAccessInCardDesignerEnabled
The IsDataAccessInCardDesignerEnabled settings (defaulted to false) will allow Viva Connections Dashboard operators to access SharePoint and Graph APIs in the Card Designer card.
The valid values are:
- False (default) - SharePoint and Graph APIs cannot be accessed in the Card Designer card.
- True - Users with edit permissions on the Dashboard will be able to access SharePoint and Graph APIs in the Card Designer card.
For more information on this feature, see Overview of Viva Connections Card Designer advance API features.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-IsEnableAppAuthPopUpEnabled
Enables or disables users in the organization to authenticate SharePoint applications using popups.
This parameter affects the way code in SharePoint interacts with Microsoft Entra ID to get tokens to access APIs. In scenarios where third-party cookies are disabled (such as Safari browsers with ITP feature enabled), any code that requires a token to access an API automatically triggers a full page refresh. When IsEnableAppAuthPopUpEnabled is set to $true, SharePoint will instead surface a popup in this scenario.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-IsSharePointAddInsDisabled
When the feature is enabled, all the add-ins features will be disabled.
The valid values are:
- False (default) - All the add-ins features are supported.
- True - All the add-ins features will be disabled.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-IsWBFluidEnabled
Sets whether Whiteboard is enabled or disabled for OneDrive for Business users. Whiteboard on OneDrive for Business is automatically enabled for applicable Microsoft 365 tenants but can be disabled.
The valid values are:
- $true - Administrator enabled Whiteboard for user with OneDrive for Business Users.
- $false - Administrator disable Whiteboard for user with OneDrive for Business Users.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-LabelMismatchEmailHelpLink
This parameter allows tenant admins to customize the "Help Link" in email with the subject "Incompatible sensitivity label detected." When a sensitivity label mismatch occurs between the label on the document uploaded and the label on the site, SharePoint Online captures an audit record and sends an Incompatible sensitivity label detected email notification to the person who uploaded the document and the site owner. The notification contains details of the document which caused the problem and the label assigned to the document and to the site. The comparison happens between the priority of these two labels.
The value can be any valid URL.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-LegacyAuthProtocolsEnabled
By default this value is set to $True, which means that authentication using legacy protocols is enabled.
Setting this parameter to $False prevents Office clients using non-modern authentication protocols from accessing SharePoint Online resources.
- True - Enables Office clients using non-modern authentication protocols (such as, Forms-Based Authentication (FBA) or Identity Client Runtime Library (IDCRL)) to access SharePoint resources.
- False - Prevents Office clients using non-modern authentication protocols from accessing SharePoint Online resources.
Note
• This may also prevent third-party apps from accessing SharePoint Online resources.
Also, this will also block apps using the SharePointOnlineCredentials class to access SharePoint Online resources. For additional information about SharePointOnlineCredentials, see SharePointOnlineCredentials class.
• The change is not instant. It might take up to 24 hours to be applied.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-LimitedAccessFileType
Allows users to preview only Office files in the browser. This option increases security, but may be a barrier to user productivity.
The following parameters can be used with -ConditionalAccessPolicy AllowLimitedAccess
for both the organization-wide setting and the site-level setting.
- OfficeOnlineFilesOnly: Allows users to preview only Office files in the browser. This option increases security but may be a barrier to user productivity.
- LimitedAccessFileType WebPreviewableFiles (default): Allows users to preview Office files in the browser. This option optimizes for user productivity but offers less security for files that aren't Office files. Warning: This option is known to cause problems with PDF and image file types because they can be required to be downloaded to the end user's machine to render in the browser. Plan the use of this control carefully. Otherwise, your users could be faced with unexpected "Access Denied" errors.
- LimitedAccessFileType OtherFiles: Allows users to download files that can't be previewed, such as .zip and .exe. This option offers less security.
PARAMVALUE: OfficeOnlineFilesOnly | WebPreviewableFiles | OtherFiles
Type: | SPOLimitedAccessFileType |
Position: | Named |
Default value: | WebPreviewableFiles |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-MajorVersionLimit
When version history limits are managed manually (EnableAutoExpirationVersionTrim $false
), admins will need to set the limits to the number of major versions (MajorVersionLimit
) and the time period the versions are stored (ExpireVersionsAfterDays
). Please check the description of EnableAutoExpirationVersionTrim
for more details.
PARAMVALUE: Int32
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-MarkNewFilesSensitiveByDefault
If external sharing is turned on, sensitive content could be shared and accessed by guests before the Office DLP rule finishes processing, you can address this issue by configuring this parameter. Possible values are
- BlockExternalSharing: Prevents guests from accessing newly added files until at least one Office DLP policy scans the content of the file.
- AllowExternalSharing: Disables this feature.
For more information see Mark new files as sensitive by default.
Type: | SensitiveByDefaultState |
Position: | Named |
Default value: | AllowExternalSharing |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-MassDeleteNotificationDisabled
Enables or disables the mass delete detection feature. When MassDeleteNotificationDisabled is set to $true, tenant admins can perform mass deletion operations without triggering notifications.
PARAMVALUE: $true | $false
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-MaxCompatibilityLevel
The only valid value is "15".
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-MediaTranscription
When the feature is enabled, videos can have transcripts generated on demand or generated automatically in certain scenarios. This is the default because the policy is default on. If a video owner decides they don't want the transcript, they can always hide or delete it from that video. Possible values:
- Enabled
- Disabled
Type: | MediaTranscriptionPolicyType |
Position: | Named |
Default value: | Enabled |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-MediaTranscriptionAutomaticFeatures
When the feature is enabled, videos can have transcripts generated automatically on upload. The policy is default on. If a tenant admin decides to disable the feature, he can do so by disabling the policy at tenant level. This feature can not be enabled or disabled at site level. Possible values:
- Enabled
- Disabled
Type: | MediaTranscriptionAutomaticFeaturesPolicyType |
Position: | Named |
Default value: | Enabled |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-MinCompatibilityLevel
The only valid value is "15".
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-NoAccessRedirectUrl
Specifies the URL of the redirected site for those site collections which have the locked state "NoAccess."
The valid values are:
- "" (default) - Blank by default, this will also remove or clear any value that has been set.
- Full URL - Example: https://contoso.sharepoint.com/Pages/Locked.aspx
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-NotificationsInOneDriveForBusinessEnabled
Enables or disables notifications in OneDrive for Business.
PARAMVALUE: $true | $false
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-NotificationsInSharePointEnabled
Enables or disables notifications in SharePoint.
PARAMVALUE: $true | $false
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-NotifyOwnersWhenItemsReshared
When this parameter is set to $true and another user re-shares a document from a user's OneDrive for Business, the OneDrive for Business owner is notified by e-mail.
For additional information about how to configure notifications for external sharing, see Configure notifications for external sharing for OneDrive for Business.
The valid values are $true and $false.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ODBAccessRequests
Lets administrators set policy on access requests and requests to share in OneDrive for Business.
The valid values are:
- On - Users without permission to share can trigger sharing requests to the OneDrive for Business owner when they attempt to share. Also, users without permission to a file or folder can trigger access requests to the OneDrive for Business owner when they attempt to access an item they do not have permissions to.
- Off - Prevent access requests and requests to share on OneDrive for Business.
- Unspecified - Let each OneDrive for Business owner enable or disable access requests and requests to share on their OneDrive.
Type: | SharingState |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ODBMembersCanShare
Lets administrators set policy on re-sharing behavior in OneDrive for Business.
The valid values are:
- On - Users with edit permissions can re-share.
- Off - Only OneDrive for Business owner can share. The value of ODBAccessRequests defines whether a request to share gets sent to the owner.
- Unspecified - Let each OneDrive for Business owner enable or disable re-sharing behavior on their OneDrive.
Type: | SharingState |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-OfficeClientADALDisabled
When set to true this will disable the ability to use Modern Authentication that leverages ADAL across the tenant.
The valid values are:
- False (default) - Modern Authentication is enabled/allowed.
- True - Modern Authentication via ADAL is disabled.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-OneDriveDefaultLinkToExistingAccess
When set to True
, the default sharing link will be a "People with Existing Access" link (which does not modify permissions) for OneDrive sites. When set to False
(the default), the default sharing link type is controlled by the OneDriveDefaultShareLinkScope
parameter.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-OneDriveDefaultShareLinkRole
This parameter sets the default share link role on OneDrive sites. It replaces the DefaultLinkPermission
.
The valid values are:
None
: No permissions granted.View
: View-only permissions.Edit
: Edit permissions.Review
: Review permissions.RestrictedView
: Restricted view permissions.
Type: | SharingRole |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-OneDriveDefaultShareLinkScope
This parameter sets the default share link scope on OneDrive sites. It replaces the DefaultSharingLinkType
.
The valid values are:
Anyone
: Anyone with the link can access the content.Organization
: Only people within the organization can access the content.SpecificPeople
: Only specific individuals (specified by the user) can access the content.Uninitialized
: The default value, indicating that the default share link scope is not explicitly set.
Type: | SharingScope |
Position: | Named |
Default value: | Uninitialized |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-OneDriveForGuestsEnabled
Lets OneDrive for Business creation for administrator managed guest users. Administrator managed Guest users use credentials in the resource tenant to access the resources.
The valid values are:
- $true - Administrator managed Guest users can be given OneDrives, provided needed licenses are assigned.
- $false - Administrator managed Guest users can't be given OneDrives as functionality is turned off.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-OneDriveLoopDefaultSharingLinkRole
This parameter sets the default share link role for Loop and Whiteboard files on OneDrive sites.
The valid values are:
- Edit
- View
- None
- Review
- RestrictedView
Type: | SharingRole |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-OneDriveLoopDefaultSharingLinkScope
Gets or sets default share link scope for Loop and Whiteboard files on OneDrive sites.
The valid values are:
- Anyone
- Organization
- SpecificPeople
- Uninitialized
Type: | SharingScope |
Position: | Named |
Default value: | Uninitialized |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-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.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-OneDriveRequestFilesLinkExpirationInDays
Specifies the number of days before a Request files link expires for all OneDrive sites.
The value can be from 0 to 730 days.
To remove the expiration requirement, set the value to zero (0).
Type: | Int32 |
Position: | Named |
Default value: | -1 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-OneDriveSharingCapability
Determines what level of sharing is available for OneDrive sites. It corresponds to the SharingCapabilities
for OneDrive sites.
The valid values are:
- ExternalUserAndGuestSharing (default) - External user sharing (share by email) and guest link sharing are both enabled.
- Disabled - External user sharing (share by email) and guest link sharing are both disabled.
- ExternalUserSharingOnly - External user sharing (share by email) is enabled, but guest link sharing is disabled.
- ExistingExternalUserSharingOnly - Only guests already in your organization's directory.
Type: | SharingCapabilities |
Position: | Named |
Default value: | ExternalUserAndGuestSharing |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-OneDriveStorageQuota
Sets a default OneDrive for Business storage quota for the tenant. It will be used for new OneDrive for Business sites created.
A typical use will be to reduce the amount of storage associated with OneDrive for Business to a level below what the License entitles the users. For example, it could be used to set the quota to 10 gigabytes (GB) by default.
If value is set to 0, the parameter will have no effect.
If the value is set larger than the Maximum allowed OneDrive for Business quota, it will have no effect.
Type: | Int64 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-OpticalCharacterRecognitionScope
This parameter allows administrators to limit which SharePoint sites the optical character recognition premium feature is available on.
The valid values are:
NoSites
: Optical character recognition is not available on any sites.AllSites
: Optical character recognition is available on all sites.SelectedSites
: Optical character recognition is available only on sites within the feature's selected sites list.
Note
Use of this parameter requires that the tenant has pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex. Use of this parameter will clear the current optical character recognition selected sites list, if one exists.
Type: | SyntexFeatureScopeValue |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-OpticalCharacterRecognitionSelectedSitesList
This parameter allows administrators to pass a list of SharePoint site URLs to modify the optical character recognition premium feature's selected sites list. By default this parameter overwrites the existing list with the user input list. Additionally, the OpticalCharacterRecognitionSelectedSitesListOperation
parameter can be used to specify a different operation. This parameter can only be called if optical character recognition's scope is set to SelectedSites
. The inputted list of site URLs cannot exceed 100 items.
Note
Use of this parameter requires that the tenant has pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-OpticalCharacterRecognitionSelectedSitesListOperation
This parameter allows administrators to specify the operation to perform on the optical character recognition premium feature's current selected sites list using the list of site URLs passed to the OpticalCharacterRecognitionSelectedSitesList
parameter.
The valid values are:
Overwrite
: Overwrite the existing selected sites list. This is the default operation.Append
: Append the input list of sites to the existing selected sites list.Remove
: Remove the input list of sites from the existing selected sites list.
Note
Use of this parameter requires that the tenant has pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex.
Calling this parameter without OpticalCharacterRecognitionSelectedSitesList
has no effect.
Type: | SelectedSitesListOperations |
Position: | Named |
Default value: | Overwrite |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-OrphanedPersonalSitesRetentionPeriod
Specifies the number of days after a user's Active Directory account is deleted that their OneDrive for Business content will be deleted.
The value range is in days, between 30 and 3650. The default value is 30.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-OwnerAnonymousNotification
Enables or disables owner anonymous notification. If enabled, an email notification will be sent to the OneDrive for Business owners when anonymous links are created or changed.
PARAMVALUE: $true | $false
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-PermissiveBrowserFileHandlingOverride
Enables the Permissive browser file handling. By default, the browser file handling is set to Strict. The Strict setting adds headers that force the browser to download certain types of files. The forced download improves security by disallowing the automatic execution of Web content. When the setting is set to Permissive, no headers are added and certain types of files can be executed in the browser instead of download.
The valid values are:
- True - Enable the Permissive browser file handling setting.
- False - Keep the default Strict browser file handling setting.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-PrebuiltModelScope
This parameter allows administrators to limit which SharePoint sites the prebuilt model and prebuilt document processing premium feature is available on.
The valid values are:
NoSites
: Prebuilt models are not available on any sites.AllSites
: Prebuilt models are available on all sites.SelectedSites
: Prebuilt models are available only on sites within the feature's selected sites list.
Note
Use of this parameter requires that the tenant either have the required license or pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex. Use of this parameter will clear the current prebuilt model selected sites list, if one exists.
Type: | SyntexFeatureScopeValue |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-PrebuiltModelSelectedSitesList
This parameter allows administrators to pass a list of SharePoint site URLs to modify the prebuilt model and prebuilt document processing premium feature's selected sites list. By default this parameter overwrites the existing list with the user input list. Additionally, the PrebuiltModelSelectedSitesListOperation
parameter can be used to specify a different operation. This parameter can only be called if the prebuilt model's scope is set to SelectedSites
. The inputted list of site URLs cannot exceed 100 items.
Note
Use of this parameter requires that the tenant either have the required license or pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-PrebuiltModelSelectedSitesListOperation
This parameter allows administrators to specify the operation to perform on the prebuilt model and prebuilt document processing premium feature's current selected sites list using the list of site URLs passed to the PrebuiltModelSelectedSitesList
parameter.
The valid values are:
Overwrite
: Overwrite the existing selected sites list. This is the default operation.Append
: Append the input list of sites to the existing selected sites list.Remove
: Remove the input list of sites from the existing selected sites list.
Note
Use of this parameter requires that the tenant either have the required license or pay-as-you-go billing set up. For more information, visit Licensing for Microsoft Syntex.
Calling this parameter without PrebuiltModelSelectedSitesList
has no effect.
Type: | SelectedSitesListOperations |
Position: | Named |
Default value: | Overwrite |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-PreventExternalUsersFromResharing
Prevents external users from resharing files, folders, and sites that they do not own.
PARAMVALUE: $true | $false
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ProvisionSharedWithEveryoneFolder
Creates a Shared with Everyone folder in every user's new OneDrive for Business document library.
The valid values are:
- True (default) - The Shared with Everyone folder is created.
- False - No folder is created when the site and OneDrive for Business document library is created.
The default behavior of the Shared with Everyone folder changed in August 2015.
For additional information about the change, see Provision the Shared with Everyone folder in OneDrive for Business.
Type: | Boolean |
Position: | Named |
Default value: | True |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-PublicCdnAllowedFileTypes
Sets public CDN allowed file types, if the public CDN is enabled.
PARAMVALUE: String
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-PublicCdnEnabled
Enables or disables the public CDN.
PARAMVALUE: $true | $false
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ReduceTempTokenLifetimeEnabled
Enables reduced session timeout for temporary URLs used by apps for document download scenarios. Reduction occurs when an app redeeming an IP address does not match the original requesting IP. The default value is 15 minutes if ReduceTempTokenLifetimeValue is not set.
Note: Reducing this value may bring degradation in end-user experience by requiring frequent authentication prompts to users.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ReduceTempTokenLifetimeValue
Optional parameter to set the session timeout value for temporary URLs. The value can be set between 5 and 15 minutes and the default value is 15 minutes.
Type: | Int32 |
Position: | Named |
Default value: | 15 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-RequireAnonymousLinksExpireInDays
Specifies all anonymous links that have been created (or will be created) will expire after 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).
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ResyncContentSecurityPolicyConfigurationEntries
When set to True
, forces a sync of Content Security Policy sources for SharePoint Framework components in the tenant application catalog.
New sources will be added to the configuration, if not already present, based on the cdnBasedPath
property under a solution's .config/write-manifests.json
if present.
The sync may take up to 24 hours to complete.
In multi-geo environments, Content Security Policy configuration is unique to each geo.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ReSyncTenantPrivacyProfile
The 'SyncPrivacyProfileProperties' parameter is obsolete and renamed ReSyncTenantPrivacyProfile.
This parameter enables the synchronization of privacy profile properties.
ReSyncTenantPrivacyProfile sets whether or not the synced tenant properties will be updated on the next request. The request will cause Microsoft Entra ID to grab the tenant's current display name (TenantDisplayName) and privacy profile URL (PrivacyProfileUrl).
Running 'Set-SPOTenant - ReSyncTenantPrivacyProfile' will force a sync from the Microsoft Entra privacy profile URL to SharePoint Online. The sync may take up to 24 hours to complete. Whenever SharePoint Online gets the privacy profile URL, it checks whether the last sync time is out of the sync time window. If it is, it syncs from Microsoft Entra ID to SharePoint Online.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-SearchResolveExactEmailOrUPN
Removes the search capability from People Picker. Note, recently resolved names will still appear in the list until browser cache is cleared or expired. This also does not allow SharePoint users to search for security groups or SharePoint groups.
SharePoint Administrators will still be able to use starts with or partial name matching when enabled.
The valid values are:
- False (default) - Starts with / partial name search functionality is available.
- True - Disables starts with for all users/partial name search functionality for all SharePoint users, except SharePoint Admins.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-SelfServiceSiteCreationDisabled
When set to True
, users cannot create sites from SharePoint, OneDrive, the PnP PowerShell cmdlet, and the REST API. When set to False
(the default), users can create sites from SharePoint, OneDrive, the PnP PowerShell cmdlet, and the REST API.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-SharingAllowedDomainList
Specifies a list of email domains that are allowed for sharing with the external collaborators. Use the space character as the delimiter for entering multiple values. For example, "contoso.com fabrikam.com".
For additional information about how to restrict a domain sharing, see Restricted Domains Sharing in Office 365 SharePoint Online and OneDrive for Business.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-SharingBlockedDomainList
Specifies a list of email domains that are blocked or prohibited for sharing with the external collaborators. Use space character as the delimiter for entering multiple values. For example, "contoso.com fabrikam.com".
For additional information about how to restrict a domain sharing, see Restricted Domains Sharing in Office 365 SharePoint Online and OneDrive for Business.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-SharingCapability
Determines what level of sharing is available for OneDrive and SharePoint sites.
The valid values are:
- ExternalUserAndGuestSharing (default) - External user sharing (share by email) and guest link sharing are both enabled.
- Disabled - External user sharing (share by email) and guest link sharing are both disabled.
- ExternalUserSharingOnly - External user sharing (share by email) is enabled, but guest link sharing is disabled.
- ExistingExternalUserSharingOnly - Only guests already in your organization's directory.
For more information about sharing, see Manage sharing settings for your SharePoint online environment.
Type: | SharingCapabilities |
Position: | Named |
Default value: | ExternalUserAndGuestSharing |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-SharingDomainRestrictionMode
Specifies the external sharing mode for domains.
The valid values are:
- None
- AllowList - Users will be able to share with external collaborators coming only from that email domain.
- BlockList - Users will be able to share with all external collaborators apart from the ones on the BlockedDomainList.
For additional information about how to restrict a domain sharing, see Restricted Domains Sharing in Office 365 SharePoint Online and OneDrive for Business.
Type: | SharingDomainRestrictionModes |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ShowAllUsersClaim
Enables the administrator to hide the All Users claim groups in People Picker.
When users share an item with "All Users (x)", it is accessible to all organization members in the tenant's Microsoft Entra ID who have authenticated with via this method. When users share an item with "All Users (x)" it is accessible to all organization members in the tenant that used NTLM to authentication with SharePoint.
Note, the All Users (authenticated) group is equivalent to the Everyone claim, and shows as Everyone. To change this, see -ShowEveryoneClaim.
The valid values are:
- True (default) - The All Users claim groups are displayed in People Picker.
- False - The All Users claim groups are hidden in People Picker.
Type: | Boolean |
Position: | Named |
Default value: | True |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ShowEveryoneClaim
Enables the administrator to hide the Everyone claim in the People Picker.
When users share an item with Everyone, it is accessible to all authenticated users in the tenant's Microsoft Entra ID, including any active external users who have previously accepted invitations.
Note, that some SharePoint system resources such as templates and pages are required to be shared to Everyone and this type of sharing does not expose any user data or metadata.
The valid values are:
- True - The Everyone claim group is displayed in People Picker. This has been the default for tenants older than March 2018
- False (default) - The Everyone claim group is hidden from the People Picker. This has become the new default for new tenants.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ShowEveryoneExceptExternalUsersClaim
Enables the administrator to hide the "Everyone except external users" claim in the People Picker.
When users share an item with "Everyone except external users", it is accessible to all organization members in the tenant's Microsoft Entra ID, but not to any users who have previously accepted invitations.
The valid values are:
- True (default) - The Everyone except external users is displayed in People Picker.
- False - The Everyone except external users claim is not visible in People Picker.
Type: | Boolean |
Position: | Named |
Default value: | True |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ShowPeoplePickerGroupSuggestionsForIB
The ShowPeoplePickerGroupSuggestionsForIB setting (defaulted to false) allows showing group suggestions for information barriers (IBs) in the People Picker.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ShowPeoplePickerSuggestionsForGuestUsers
Shows people picker suggestions for guest users. To enable the option to search for existing guest users at Tenant Level, set this parameter to $true.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-SignInAccelerationDomain
Specifies the home realm discovery value to be sent to Microsoft Entra ID during the user sign-in process.
When the organization uses a third-party identity provider, this prevents the user from seeing the Microsoft Entra Home Realm Discovery web page and ensures the user only sees their company's Identity Provider's portal. This value can also be used with Microsoft Entra ID P1 or P2 to customize the Microsoft Entra sign-in page.
Acceleration will not occur on site collections that are shared externally.
This value should be configured with the login domain that is used by your company (that is, example@contoso.com).
If your company has multiple third-party identity providers, configuring the sign-in acceleration value will break sign-in for your organization.
The valid values are:
- "" (default) - Blank by default, this will also remove or clear any value that has been set.
- Login Domain - For example: "contoso.com"
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-SiteOwnerManageLegacyServicePrincipalEnabled
Allows or disallows the site collection admins to manage the Azure Access Control (ACS) service principal.
When the value is set to false, the service principal can only be created or updated by the SharePoint tenant admin. If the value is set to true, both the SharePoint tenant admin and site collection admin will be able to create or update the service principal through SharePoint.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-SocialBarOnSitePagesDisabled
Disables or enables the Social Bar.
The Social Bar will appear on all modern SharePoint pages with the exception of the home page of a site. It will give users the ability to like a page, see the number of views, likes, and comments on a page, and see the people who have liked a page.
PARAMVALUE: $true | $false
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-SpecialCharactersStateInFileFolderNames
Permits the use of special characters in file and folder names in SharePoint Online and OneDrive for Business document libraries.
Note
The only two characters that can be managed at this time are the # and % characters.
The valid values are:
- NoPreference - Support for feature will be enabled by Microsoft on your Office 365 tenant.
- Allowed - Lets the # and % characters in file and folder names in SharePoint Online and OneDrive for Business document libraries.
- Disallowed - Disallows the # and % characters in file and folder names in SharePoint Online and OneDrive for Business document libraries.
Type: | SpecialCharactersState |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-StartASiteFormUrl
Specifies URL of the form to load in the Start a Site dialog.
The valid values are:
- "" (default) - Blank by default, this will also remove or clear any value that has been set.
- Full URL - Example: "https://contoso.sharepoint.com/path/to/form"
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-StopNew2010Workflows
Prevents creation of new SharePoint 2010 classic workflows.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-StopNew2013Workflows
Prevents creation of new SharePoint 2013 classic workflows.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SyncAadB2BManagementPolicy
This feature allows SharePoint Online to synchronize several Entra B2B collaboration settings Guest user access restriction and collaboration restriction, and store them on SharePoint Online tenant store. On sharing, SharePoint checks whether those synchronized settings are blocking sharing before sending invitation requests to Entra B2B invitation manager. The sync might take up to 24 hours to complete if you change those Entra B2B collaboration settings. To make the change effective on SharePoint Online immediately, run 'Set-SPOTenant -SyncAadB2BManagementPolicy $true' and it forces a sync from Microsoft Entra.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-UseFindPeopleInPeoplePicker
This feature enables tenant admins to enable ODB and SPO to respect Exchange supports Address Book Policy (ABP) policies in the people picker.
Note
When set to $true, users aren't able to share with security groups or SharePoint groups.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-UsePersistentCookiesForExplorerView
Note
This setting is not used anymore with Internet Explorer (IE) retired and the parameter would be removed soon. Users need to select "Yes" when prompted for "Stay signed in?" at the time of sign-in for "View in File Explorer" to work with Microsoft Edge.
Lets SharePoint issue a special cookie that will allow this feature to work even when "Keep Me Signed In" is not selected.
"Open with Explorer" requires persisted cookies to operate correctly. When the user does not select "Keep Me Signed in" at the time of sign-in, "Open with Explorer" will fail.
This special cookie expires after 30 minutes and cannot be cleared by closing the browser or signing out of SharePoint Online. To clear this cookie, the user must log out of their Windows session.
The valid values are:
- False (default) - No special cookie is generated and the normal Office 365 sign-in length/timing applies.
- True - Generates a special cookie that will allow "Open with Explorer" to function if the "Keep Me Signed In" box is not checked at sign-in.
Type: | Boolean |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ViewersCanCommentOnMediaDisabled
Controls whether viewers commenting on media items is disabled or not.
Type: | Boolean |
Position: | Named |
Default value: | True |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ViewInFileExplorerEnabled
Enables or disables the ability to use View in Explorer in Microsoft Edge (93) or above.
Note
When the value is set the View In Explorer command will become visible in UX for all users using Edge browser version 93 or above however those users still need ConfigureViewInFileExplorer Edge policy enabled for the functionality to work.
Minimum Module Version Required: 16.0.21610.12000
The valid values are:
- False (default) - Disables View In Explorer command to become visible in Edge.
- True - Enables View In Explorer command to become visible in Edge.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhoCanShareAnonymousAllowList
Sets the list of security groups who are allowed to share with anonymous (non-authenticated) users as well as authenticated guest users. Each security group is denoted by its GUID object ID in the Entra directory.
To set this list to be a specific security group, you need to enter its GUID as the argument. You can enter multiple GUIDs by using commas to separate them. To view the current list, use Get-SPOTenant.
Type: | Guid[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-WhoCanShareAuthenticatedGuestAllowList
Sets the list of security groups who are only allowed to share with authenticated guest users. Each security group is denoted by its GUID object ID.
To set this list to be a specific security group, you need to enter its GUID as the argument. You can enter multiple GUIDs by using commas to separate them. To view the current list, use Get-SPOTenant.
Type: | Guid[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |