Skip to content

Commit 1c2079c

Browse files
authored
Merge pull request MicrosoftDocs#3185 from SanjoyanM/patch-1
Update Set-SPOTenant.md
2 parents 8b8cd19 + 2b3bd56 commit 1c2079c

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Set-SPOTenant [-ApplyAppEnforcedRestrictionsToAdHocRecipients <Boolean>]
4646
[-UserVoiceForFeedbackEnabled <Boolean>]
4747
[-ContentTypeSyncSiteTemplatesList MySites [-ExcludeSiteTemplate]]
4848
[-CustomizedExternalSharingServiceUrl <String>]
49+
[-ConditionalAccessPolicy <SPOConditionalAccessPolicyType>]
4950
[<CommonParameters>]
5051
```
5152

@@ -1304,6 +1305,30 @@ Once you have enabled Content Type publishing to OneDrive for Business sites, yo
13041305
Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites -ExcludeSiteTemplate
13051306
```
13061307

1308+
### -ConditionalAccessPolicy
1309+
PARAMVALUE: AllowFullAccess | LimitedAccess | BlockAccess
1310+
Please read documentation here to understand Conditional Access Policy usage in SharePoint Online "https://docs.microsoft.com/en-us/sharepoint/control-access-from-unmanaged-devices"
1311+
```powershell
1312+
Set-SPOTenant -ConditionalAccessPolicy AllowLimitedAccess
1313+
```
1314+
1315+
### -AllowEditing
1316+
PARAMVALUE: $true | $false
1317+
Prevents users from editing Office files in the browser and copying and pasting Office file contents out of the browser window.
1318+
```powershell
1319+
Set-SPOTenant -ConditionalAccessPolicy AllowLimitedAccess -AllowEditing $false
1320+
```
1321+
1322+
### -LimitedAccessFileType
1323+
PARAMVALUE: OfficeOnlineFilesOnly | WebPreviewableFiles | OtherFiles
1324+
The following parameters can be used with -ConditionalAccessPolicy AllowLimitedAccess for both the organization-wide setting and the site-level setting.
1325+
-OfficeOnlineFilesOnly Allows users to preview only Office files in the browser. This option increases security but may be a barrier to user productivity.
1326+
-LimitedAccessFileType WebPreviewableFiles (default) Allows users to preview Office files and other file types (such as PDF files and images) in the browser. Note that the contents of file types other than Office files are handled in the browser. This option optimizes for user productivity but offers less security for files that aren't Office files.
1327+
-LimitedAccessFileType OtherFiles Allows users to download files that can't be previewed, such as .zip and .exe. This option offers less security.
1328+
```powershell
1329+
Set-SPOTenant -LimitedAccessFileType <OfficeOnlineFilesOnly | WebPreviewableFiles | OtherFiles>
1330+
```
1331+
13071332
### CommonParameters
13081333
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
13091334

0 commit comments

Comments
 (0)