Skip to content

Commit e6baba7

Browse files
authored
Merge pull request MicrosoftDocs#3186 from SanjoyanM/patch-2
Update Set-SPOSite.md
2 parents 1c2079c + c60e36f commit e6baba7

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Set-SPOSite [-Identity] <SpoSitePipeBind> [-AllowSelfServiceUpgrade <Boolean>] [
3232
[-SharingBlockedDomainList <String>] [-SharingDomainRestrictionMode <SharingDomainRestrictionModes>]
3333
[-ShowPeoplePickerSuggestionsForGuestUsers <Boolean>] [-StorageQuotaReset]
3434
[-DefaultSharingLinkType] [-DefaultLinkPermission] [<CommonParameters>]
35+
[-ConditionalAccessPolicy <SPOConditionalAccessPolicyType>]
3536
```
3637
### ParamSet2
3738
```powershell
@@ -749,6 +750,30 @@ Accept pipeline input: False
749750
Accept wildcard characters: False
750751
```
751752

753+
### -ConditionalAccessPolicy
754+
PARAMVALUE: AllowFullAccess | LimitedAccess | BlockAccess
755+
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"
756+
```powershell
757+
Set-SPOSite -identity <url> -ConditionalAccessPolicy AllowLimitedAccess
758+
```
759+
760+
### -AllowEditing
761+
PARAMVALUE: $true | $false
762+
Prevents users from editing Office files in the browser and copying and pasting Office file contents out of the browser window.
763+
```powershell
764+
Set-SPOSite -identity <url> -ConditionalAccessPolicy AllowLimitedAccess -AllowEditing $false
765+
```
766+
767+
### -LimitedAccessFileType
768+
PARAMVALUE: OfficeOnlineFilesOnly | WebPreviewableFiles | OtherFiles
769+
The following parameters can be used with -ConditionalAccessPolicy AllowLimitedAccess for both the organization-wide setting and the site-level setting.
770+
-OfficeOnlineFilesOnly Allows users to preview only Office files in the browser. This option increases security but may be a barrier to user productivity.
771+
-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.
772+
-LimitedAccessFileType OtherFiles Allows users to download files that can't be previewed, such as .zip and .exe. This option offers less security.
773+
```powershell
774+
Set-SPOSite -identity <url> -ConditionalAccessPolicy AllowLimitedAccess -LimitedAccessFileType <OfficeOnlineFilesOnly | WebPreviewableFiles | OtherFiles>
775+
```
776+
752777
### CommonParameters
753778
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).
754779

0 commit comments

Comments
 (0)