Skip to content

Commit a9a8098

Browse files
committed
Added few more options to the command
1 parent 26dfe5b commit a9a8098

File tree

3 files changed

+534
-17
lines changed

3 files changed

+534
-17
lines changed

docs/docs/cmd/spo/tenant/tenant-settings-set.mdx

+143-5
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,58 @@ m365 spo tenant settings set [options]
3838
: Specifies a URL that will be appended to the error message that is surfaced when a user is blocked from sharing externally by policy
3939

4040
`--SharingCapability [SharingCapability]`
41-
: Determines what level of sharing is available for the site. 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. Allowed values `Disabled`, `ExternalUserSharingOnly`, `ExternalUserAndGuestSharing`, `ExistingExternalUserSharingOnly`.
41+
: Determines what level of sharing is available for the site. 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. Allowed values `Disabled`, `ExternalUserSharingOnly`, `ExternalUserAndGuestSharing`, `ExistingExternalUserSharingOnly`.
42+
43+
`--CoreSharingCapability [CoreSharingCapability]`
44+
: 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. Allowed values `Disabled`, `ExternalUserSharingOnly`, `ExternalUserAndGuestSharing`, `ExistingExternalUserSharingOnly`.
45+
46+
`--ODBSharingCapability [ODBSharingCapability]`
47+
: Determines what level of sharing is available 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. Allowed values `Disabled`, `ExternalUserSharingOnly`, `ExternalUserAndGuestSharing`, `ExistingExternalUserSharingOnly`.
48+
49+
`--OneDriveLoopSharingCapability [OneDriveLoopSharingCapability]`
50+
: Determines what level of sharing is available for the whiteboards in Teams meetings. 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. Allowed values `Disabled`, `ExternalUserSharingOnly`, `ExternalUserAndGuestSharing`, `ExistingExternalUserSharingOnly`.
51+
52+
`--CoreLoopSharingCapability [CoreLoopSharingCapability]`
53+
: Determines what level of sharing is available for the fluid on core partition. 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. Allowed values `Disabled`, `ExternalUserSharingOnly`, `ExternalUserAndGuestSharing`, `ExistingExternalUserSharingOnly`.
54+
55+
`--ContainerSharingCapability [ContainerSharingCapability]`
56+
: 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. Allowed values `Disabled`, `ExternalUserSharingOnly`, `ExternalUserAndGuestSharing`, `ExistingExternalUserSharingOnly`.
57+
58+
`--CoreDefaultShareLinkRole [CoreDefaultShareLinkRole]`
59+
: Sets default share link role on core partition. Allowed values `Edit`, `View`, `LimitedEdit`, `LimitedView`, `ManageList`, `None`, `Owner`, `RestrictedView`, `Review`, `Submit`
60+
61+
`--CoreLoopDefaultSharingLinkRole [CoreLoopDefaultSharingLinkRole]`
62+
: Sets default share link role for fluid on SharePoint sites. Allowed values `Edit`, `View`, `LimitedEdit`, `LimitedView`, `ManageList`, `None`, `Owner`, `RestrictedView`, `Review`, `Submit`
63+
64+
`--ContainerDefaultShareLinkRole [ContainerDefaultShareLinkRole]`
65+
: Allowed values `Edit`, `View`, `LimitedEdit`, `LimitedView`, `ManageList`, `None`, `Owner`, `RestrictedView`, `Review`, `Submit`
66+
67+
`--ContainerLoopDefaultShareLinkRole [ContainerLoopDefaultShareLinkRole]`
68+
: Allowed values `Edit`, `View`, `LimitedEdit`, `LimitedView`, `ManageList`, `None`, `Owner`, `RestrictedView`, `Review`, `Submit`
69+
70+
`--OneDriveDefaultShareLinkRole [OneDriveDefaultShareLinkRole]`
71+
: Sets default share link role on OneDrive partition. Allowed values `Edit`, `View`, `LimitedEdit`, `LimitedView`, `ManageList`, `None`, `Owner`, `RestrictedView`, `Review`, `Submit`
72+
73+
`--OneDriveLoopDefaultSharingLinkRole [OneDriveLoopDefaultSharingLinkRole]`
74+
: Sets default share link role for fluid on OneDrive sites. Allowed values `Edit`, `View`, `LimitedEdit`, `LimitedView`, `ManageList`, `None`, `Owner`, `RestrictedView`, `Review`, `Submit`
75+
76+
`--CoreDefaultShareLinkScope [CoreDefaultShareLinkScope]`
77+
: Sets default share link scope on core partition. Allowed values `Anyone`, `Organization`, `SpecificPeople`, `Uninitialized`
78+
79+
`--CoreLoopDefaultSharingLinkScope [CoreLoopDefaultSharingLinkScope]`
80+
: Sets default share link scope for fluid on SharePoint sites. Allowed values `Anyone`, `Organization`, `SpecificPeople`, `Uninitialized`
81+
82+
`--ContainerDefaultShareLinkScope [ContainerDefaultShareLinkScope]`
83+
: Allowed values `Anyone`, `Organization`, `SpecificPeople`, `Uninitialized`
84+
85+
`--ContainerLoopDefaultShareLinkScope [ContainerLoopDefaultShareLinkScope]`
86+
: Allowed values `Anyone`, `Organization`, `SpecificPeople`, `Uninitialized`
87+
88+
`--OneDriveDefaultShareLinkScope [OneDriveDefaultShareLinkScope]`
89+
: Sets default share link scope on OneDrive partition. Allowed values `Anyone`, `Organization`, `SpecificPeople`, `Uninitialized`
90+
91+
`--OneDriveLoopDefaultSharingLinkScope [OneDriveLoopDefaultSharingLinkScope]`
92+
: Sets default share link scope for fluid on OneDrive sites. Allowed values `Anyone`, `Organization`, `SpecificPeople`, `Uninitialized`
4293

4394
`--DisplayStartASiteOption [DisplayStartASiteOption]`
4495
: Determines whether tenant users see the Start a Site menu option. Allowed values `true`, `false`
@@ -133,6 +184,9 @@ m365 spo tenant settings set [options]
133184
`--ODBAccessRequests [ODBAccessRequests]`
134185
: Lets administrators set policy on access requests and requests to share in OneDrive for Business. Allowed values `Unspecified`, `On`,`Off`
135186

187+
`--AllowAnonymousMeetingParticipantsToAccessWhiteboards [AllowAnonymousMeetingParticipantsToAccessWhiteboards]`
188+
: Indicates whether to allow anonymous meeting participants to access whiteboards. Allowed values `Unspecified`, `On`,`Off`
189+
136190
`--PreventExternalUsersFromResharing [PreventExternalUsersFromResharing]`
137191
: Prevents external users from resharing. Allowed values `true`, `false`
138192

@@ -172,9 +226,60 @@ m365 spo tenant settings set [options]
172226
`--CoreRequestFilesLinkExpirationInDays [CoreRequestFilesLinkExpirationInDays]`
173227
: 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
174228

229+
`--OneDriveRequestFilesLinkExpirationInDays [OneDriveRequestFilesLinkExpirationInDays]`
230+
: 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)
231+
175232
`--ExternalUserExpireInDays [ExternalUserExpireInDays]`
176233
: 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
177234

235+
`--ReduceTempTokenLifetimeEnabled [ReduceTempTokenLifetimeEnabled]`
236+
: PEnables reduced session timeout for temporary URLs used by apps for document download scenarios. Allowed values `true`, `false`
237+
238+
`--ReduceTempTokenLifetimeValue [ReduceTempTokenLifetimeValue]`
239+
: Sets the session timeout value for temporary URLs. The value can be set between 5 and 15 minutes and the default value is 15 minutes
240+
241+
`--ShowOpenInDesktopOptionForSyncedFiles [ShowOpenInDesktopOptionForSyncedFiles]`
242+
: Displays the "Open in desktop" option when users go to SharePoint or OneDrive on the web and open the shortcut menu for a file that they're syncing with the OneDrive sync app. The default value is false. Allowed values `true`, `false`
243+
244+
`--ShowPeoplePickerGroupSuggestionsForIB [ShowPeoplePickerGroupSuggestionsForIB]`
245+
: Allows showing group suggestions for information barriers (IBs) in the People Picker. The default value is false. Allowed values `true`, `false`
246+
247+
`--SiteOwnerManageLegacyServicePrincipalEnabled [SiteOwnerManageLegacyServicePrincipalEnabled]`
248+
: Allows the site owner to manage the Azure Access Control (ACS) service principal. Allowed values `true`, `false`
249+
250+
`--StopNew2010Workflows [StopNew2010Workflows]`
251+
: Prevents creation of new SharePoint 2010 classic workflows. Allowed values `true`, `false`
252+
253+
`--StopNew2013Workflows [StopNew2013Workflows]`
254+
: Prevents creation of new SharePoint 2013 classic workflows. Allowed values `true`, `false`
255+
256+
`--ViewersCanCommentOnMediaDisabled [ViewersCanCommentOnMediaDisabled]`
257+
: Specifies whether viewers commenting on media items is disabled or not. Allowed values `true`, `false`
258+
259+
`--AllowEveryoneExceptExternalUsersClaimInPrivateSite [AllowEveryoneExceptExternalUsersClaimInPrivateSite]`
260+
: Specifies whether EveryoneExceptExternalUsers claim is allowed or not in people picker in a private group site. Allowed values `true`, `false`
261+
262+
`--AnyoneLinkTrackUsers [AnyoneLinkTrackUsers]`
263+
: Specifies whether anyone links should track link users. Allowed values `true`, `false`
264+
265+
`--HasAdminCompletedCUConfiguration [HasAdminCompletedCUConfiguration]`
266+
: Specifies if the tenant admin has completed CU configuration. Allowed values `true`, `false`
267+
268+
`--HasIntelligentContentServicesCapability [HasIntelligentContentServicesCapability]`
269+
: Specifies whether the tenant has Intelligent Content Services Capability or not. Allowed values `true`, `false`
270+
271+
`--HasTopicExperiencesCapability [HasTopicExperiencesCapability]`
272+
: Specifies whether the tenant has Topic Experiences Capability or not. Allowed values `true`, `false`
273+
274+
`--MachineLearningCaptureEnabled [MachineLearningCaptureEnabled]`
275+
: Specifies if the Machine Learning capture settings should be shown in the tenant. Allowed values `true`, `false`
276+
277+
`--MassDeleteNotificationDisabled [MassDeleteNotificationDisabled]`
278+
: Enables or disables the mass delete detection feature. When set to true, tenant admins can perform mass deletion operations without triggering notifications. Allowed values `true`, `false`
279+
280+
`--MobileFriendlyUrlEnabledInTenant [MobileFriendlyUrlEnabledInTenant]`
281+
: Specifies if mobile friendly URLs are enabled or disabled in the tenant. Allowed values `true`, `false`
282+
178283
`--DisallowInfectedFileDownload [DisallowInfectedFileDownload]`
179284
: Prevents the Download button from being displayed on the Virus Found warning page. Allowed values `true`, `false`
180285

@@ -244,6 +349,39 @@ m365 spo tenant settings set [options]
244349
`--LimitedAccessFileType [LimitedAccessFileType]`
245350
: Allows users to preview only Office files in the browser. This option increases security but may be a barrier to user productivity. Allowed values `OfficeOnlineFilesOnly`, `WebPreviewableFiles`, `OtherFiles`
246351

352+
`--MediaTranscription [MediaTranscription]`
353+
: When enabled, videos can have transcripts generated on demand or generated automatically in certain scenarios. Allowed values `Enabled`, `Disabled`
354+
355+
`--MediaTranscriptionAutomaticFeatures [MediaTranscriptionAutomaticFeatures]`
356+
: When enabled, videos can have transcripts generated automatically on upload. Allowed values `Enabled`, `Disabled`
357+
358+
`--ImageTaggingOption [ImageTaggingOption]`
359+
: Specifies the Syntex image tagging option for the tenant. Allowed values `Basic`, `Enhanced`, `Disabled`
360+
361+
`--MarkNewFilesSensitiveByDefault [MarkNewFilesSensitiveByDefault]`
362+
: 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 option. Allowed values `AllowExternalSharing`, `BlockExternalSharing`
363+
364+
`--OCRAdminSiteListFileName [OCRAdminSiteListFileName]`
365+
: Sets name of the file which contains the list which contains OCR for full text search enabled sites by the tenant admin
366+
367+
`--OCRComplianceSiteListFileName [OCRComplianceSiteListFileName]`
368+
: Sets name of the file which contains the list which contains OCR for full text search enabled sites by the compliance admin
369+
370+
`--OCRModeForAdminSites [OCRModeForAdminSites]`
371+
: Specifies whether the tenant admin has enabled OCR on SharePoint sites for full text search through Syntex. Allowed values `Disabled`, `ExclusionList`, `InclusionList`
372+
373+
`--OCRModeForComplianceODBs [OCRModeForComplianceODBs]`
374+
: Specifies whether the compliance admin has enabled OCR for full text search through Syntex for ODBs. Allowed values `Disabled`, `ExclusionList`, `InclusionList`
375+
376+
`--OCRModeForComplianceSites [OCRModeForComplianceSites]`
377+
: Specifies whether the compliance admin has enabled OCR for full text search through Syntex for SharePoint sites. Allowed values `Disabled`, `ExclusionList`, `InclusionList`
378+
379+
`--OneDriveDefaultLinkToExistingAccess [OneDriveDefaultLinkToExistingAccess]`
380+
: Sets default share link to existing access on OneDrive partition. Allowed values `true`, `false`
381+
382+
`--ContainerDefaultLinkToExistingAccess [ContainerDefaultLinkToExistingAccess]`
383+
: Sets default share link to existing access on Containers. Allowed values `true`, `false`
384+
247385
`--OptOutOfGrooveBlock [OptOutOfGrooveBlock]`
248386
: Opts out of the groove block. Allowed values `true`, `false`
249387

@@ -301,9 +439,6 @@ m365 spo tenant settings set [options]
301439
`--DisableBackToClassic [DisableBackToClassic]`
302440
: Disables or enables the back to classic link for libraries and lists. Allowed values `true`, `false`.
303441

304-
`--DisableListSync [DisableListSync]`
305-
: Disables or enables sync functionality for lists. Allowed values `true`, `false`.
306-
307442
`--DisablePersonalListCreation [DisablePersonalListCreation]`
308443
: Allows creating personal lists within the OneDrive for Business site of the user. Allowed values `true`, `false`.
309444

@@ -320,7 +455,10 @@ m365 spo tenant settings set [options]
320455
: Sets default share link to existing access on core partition. Allowed values `true`, `false`.
321456

322457
`--CoreRequestFilesLinkEnabled [CoreRequestFilesLinkEnabled]`
323-
: Enables or disables the Request files link 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. Allowed values `true`, `false`.
458+
: Enables or disables the Request files link for all SharePoint sites (not including OneDrive sites). If this value is not set, Request files link will only show for OneDrives with Anyone links enabled. Allowed values `true`, `false`.
459+
460+
`--OneDriveRequestFilesLinkEnabled [OneDriveRequestFilesLinkEnabled]`
461+
: Enables or disables the Request files link on the OneDrive partition for all OneDrive sites. If this value is not set, Request files link will only show for OneDrives with Anyone links enabled. Allowed values `true`, `false`.
324462

325463
`--DisableDocumentLibraryDefaultLabeling [DisableDocumentLibraryDefaultLabeling]`
326464
: Allows tenant admins to disable the capability of configuring a default sensitivity label for a document library. Allowed values `true`, `false`.

0 commit comments

Comments
 (0)