SharePoint Document Issues

How to Block Video File Uploads to a SharePoint Online Site

Phi Hung VoPhi Hung Vo Nov 2, 2026 869 views

Question details

The user needs a way to prevent specific file types, particularly video files, from being uploaded to a SharePoint Online site.

How to Block Video File Uploads to a SharePoint Online Site
Product
SharePoint Online
Device & OS
not provided
Scenario
Administrators are trying to restrict users from uploading large video files to SharePoint document libraries to manage storage and enforce governance policies.
Observed behavior
SharePoint Online does not offer a standard site setting or built-in interface to block specific file extensions from being uploaded via the web interface or PowerShell.
Before you start

Ensure you have SharePoint Administrator privileges and access to Microsoft Power Automate, as implementing custom upload restrictions requires elevated permissions and workflow configuration.

Solution 1Recommended

Automate Video File Removal Using Power Automate

Since SharePoint Online cannot block web uploads natively, use Power Automate to immediately delete or move video files once they are uploaded.

While you cannot prevent the upload process itself in modern SharePoint Online, a Power Automate workflow can act as a reactive governance tool. It detects the newly uploaded file, checks its extension, and removes it before users can access it.

1
Create an Automated Cloud Flow

Log in to Microsoft Power Automate, select 'Create' from the left menu, and choose 'Automated cloud flow'.

2
Configure the SharePoint Trigger

Name your flow and select the trigger 'When a file is created (properties only)' for SharePoint. Enter your Site Address and Library Name.

3
Add a Condition for Video Extensions

Click 'New step' and add a 'Condition'. Set the condition to check if the 'File name with extension' ends with video formats like '.mp4' or '.mov'.

4
Set the Deletion Action

In the 'If yes' branch, add the 'Delete file' action for SharePoint. Map the 'File Identifier' dynamic content to ensure the detected video is removed.

Quarantine Alternative: Instead of deleting the file permanently, you can use the 'Move file' action to transfer the video to a restricted quarantine library for administrator review.
Free Microsoft Office alternative

Simplify Document Management with WPS Office

Navigating complex administrative controls and file restrictions in SharePoint can be challenging. For organizations and individuals seeking a lightweight, hassle-free document management experience, WPS Office offers a powerful, free alternative to Microsoft Office with built-in cloud support.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free version for your operating system.
  2. 2. Install and Sign In: Run the lightweight installer and sign in to activate your free cloud storage space.
  3. 3. Manage Files Seamlessly: Create, open, and save your documents locally or to the cloud without worrying about complex file extension restrictions.
Highly compatible with Microsoft Office formats including docx, xlsx, and pptxManage cloud documents effortlessly without complex IT governance and upload restrictionsLightweight application that requires minimal system resourcesFree to use with an intuitive, familiar interface for quick onboarding
microsoft office alternative - wps office

Frequently Asked Questions

Why is there no native setting to block file types in SharePoint Online?

Microsoft removed the legacy 'Blocked File Types' feature that was available in on-premises SharePoint Server. In SharePoint Online, Microsoft encourages the use of Power Automate, governance policies, and Information Barriers instead of hard-blocking file uploads via the web interface.

Will Set-SPOTenantSyncClientRestriction stop web browser uploads?

No. The Tenant Sync Client Restriction policy only prevents specified file types from being uploaded or downloaded by the local OneDrive desktop sync application. Users can still bypass this by uploading files directly through the SharePoint web portal.

Can I use custom event receivers to block uploads synchronously?

While classic SharePoint allowed synchronous event receivers to block uploads before they completed, modern SharePoint Online development relies on asynchronous remote event receivers, SharePoint Framework (SPFx), or Power Automate workflows, which typically handle the file immediately after the upload completes.