Block syncing of specific file types

You can prevent users from uploading specific file types when they sync their OneDrive for Business files.


This setting prevents file types from being uploaded but not downloaded. If users already have blocked file types in their OneDrive, the files will sync to their computer, but any changes they make on their computer won't be uploaded.

To block uploading of specific file types

  1. Open the OneDrive admin center, and click Sync in the left pane.

    The Sync page of the OneDrive admin center

  2. Select the Block syncing of specific file types check box.

  3. Click Edit.

  4. Type the file name extensions you want to block, for example: exe or mp3.


    Do not include the periods with the extensions, or any other punctuation, spaces, or special characters.

  5. Click Save on the Sync page.

For info about setting this sync client restriction by using PowerShell, see Set-SPOTenantSyncClientRestriction