SharePoint Document Issues

How to Allow Specific File Types in OneDrive and SharePoint

Anum MushtaqAnum Mushtaq Nov 3, 2026 869 views

Question details

The user wants to configure SharePoint and OneDrive to only accept specific file formats like PNG or PowerPoint.

How to Allow Specific File Types in OneDrive and SharePoint
Product
OneDrive and SharePoint
Device & OS
not provided
Scenario
Managing cloud storage policies to ensure only permitted document types are uploaded or synced to the organization's cloud environment.
Observed behavior
Microsoft SharePoint and OneDrive do not provide a native allowlist setting to exclusively permit selected file types.
Before you start

Ensure you have SharePoint administrator credentials or sufficient permissions to create Power Automate flows for your organization.

Solution 1Recommended

Block Unwanted File Extensions in the SharePoint Admin Center

Since there is no explicit allowlist, you can achieve a similar result by adding all non-permitted file extensions to the tenant blocklist.

This configuration applies globally to both SharePoint document libraries and user OneDrive accounts. Any file format you specify will be prevented from syncing.

1
Access the Admin Center

Log in to the Microsoft 365 admin center and navigate to the SharePoint Admin Center.

2
Navigate to Sync Settings

In the left-hand navigation pane, go to Settings, then click on 'Sync'.

3
Configure the Blocklist

Check the box labeled 'Block syncing of specific file types'. Enter the file extensions you want to prevent users from uploading (e.g., exe, mp3, mp4).

4
Save Changes

Click 'Save' to apply the policy. Allow several hours for the new sync restrictions to propagate across the tenant.

Block Unwanted File Extensions in the SharePoint Admin Center
Blocklist Limitations: Because you must manually list every unwanted extension, this method works best if you only have a specific set of file types you wish to exclude rather than hundreds.
Free Microsoft Office alternative

Create and Edit Your Allowed Files with WPS Office

While SharePoint and OneDrive handle your cloud storage policies, WPS Office provides a lightweight, highly compatible suite to create and edit your allowed documents. It is a powerful, cost-free alternative to Microsoft Office.

Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx)Lightweight installation that consumes minimal system resourcesAll-in-one workspace featuring document editing, spreadsheets, and a built-in PDF toolkitFamiliar user interface ensuring a seamless migration with no learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Can I natively configure a whitelist for file types in OneDrive?

No, SharePoint and OneDrive do not offer a native allowlist (whitelist) feature. You must use the blocklist approach in the Admin Center to manually exclude unwanted file formats.

Do SharePoint file sync restrictions apply to OneDrive as well?

Yes, configuring file sync restrictions in the SharePoint Admin Center applies globally to both SharePoint document libraries and individual user OneDrive accounts.

What happens when a user attempts to sync a blocked file type?

The OneDrive sync client will display an error message indicating that the file type is blocked by the organization and will halt the upload of that specific file.

Does blocking file types prevent users from uploading them via the web browser?

The sync restriction policy primarily stops the OneDrive desktop client from syncing those files. Some restrictions may still allow manual web uploads depending on exact tenant configurations, which is why Power Automate is a more comprehensive fallback for strict filtering.