Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
You can prevent users from uploading specific file types when they sync their OneDrive files.
This setting prevents file types from being uploaded but not downloaded. If users already have blocked file types in their OneDrive, the files sync to their computer, but any changes they make on their computer won't be uploaded.
Note
The OneDrive sync app doesn't sync .tmp and .ini files.
Go to Settings in the SharePoint admin center, and sign in with an account that has admin permissions for your organization.
Note
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Sharing page.
Select Sync.
Select the Block upload of specific file types check box.
Enter the file name extensions you want to block, for example: exe or mp3.
Important
Do not include the periods with the extensions, or any other punctuation, spaces, or special characters.
Select Save.
Note
When you configure this setting, it takes approximately 8 hours for the OneDrive sync app to detect it and apply the change.
For info about setting this sync app restriction by using PowerShell, see Set-SPOTenantSyncClientRestriction. For info about using a policy to block upload of specific files, see Exclude specific kinds of files from being uploaded.
Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn moreTraining
Module
The module examines the various options that enable administrators to protect user files against data loss.