en-US

LimitedAccessFileType

Parameter of SPOTenant

Applies to : SharePoint Online

Description

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

Microsoft Learn documentation

Characteristics

Type
Microsoft.Online.SharePoint.TenantManagement.SPOLimitedAccessFileType
Parameter sets
ParamSetMultipleSites

Apply

This value type (Microsoft.Online.SharePoint.TenantManagement.SPOLimitedAccessFileType) must be built by hand: see the examples on the policy page and the Microsoft documentation.