Forum Discussion
SRAJAKUMARM365AZURE
Aug 02, 2021Copper Contributor
How to block uploading certain file types in Microsoft Teams?
Dears, Is there any option to block uploading certain file types for example (.exe, .dll) on Microsoft Teams/OneDrive for Work/SharePoint Online? Thanks
- Aug 02, 2021Hi,
No, there is option to block files that can be uploaded to SharePoint/OneDrive.
https://support.microsoft.com/en-ie/office/types-of-files-that-cannot-be-added-to-a-list-or-library-30be234d-e551-4c2a-8de8-f8546ffbf5b3?ui=en-us&rs=en-ie&ad=ie#ID0EAABAAA=Modern
You can block file types that users should not be able to sync using onedrive sync client (both to OneDrive and SharePoint).
https://docs.microsoft.com/en-us/onedrive/block-file-types
There is an uservoice request to be able to block formats.
https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/12498615-custom-restrictions-of-file-types-that-user-can-up
abdulrehman_binaltaf
Dec 08, 2021Brass Contributor
SRAJAKUMARM365AZURE yes, it's possible, and you can do that.
we have multiple approaches to block the file upload in OneDrive online ie Microsoft Defender for Cloud Apps / Microsoft Defender for Cloud Apps and the user will be notified with a custom message
follow the below article.
(1) ONEDRIVE & SHAREPOINT ONLINE BLOCK / REMOVE FEATURES 🧐 | LinkedIn