Can we block certain file types from being uploaded to Teams

Roopak Sahoo 51 Reputation points

Hi All,
Can we block certain file types from being uploaded to Teams.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,604 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. JimmySalian-2011 42,066 Reputation points

    Hi Roopak,

    I am not sure if this is possible for Teams however you can check this thread and explore on your test lab environment before you can implement on the Prod tenant -

    Hope this helps.



    Please accept as answer and do a Thumbs-up to upvote this response if you are satisfied with the community help. Your upvote will be beneficial for the community users facing similar issues.

    1 person found this answer helpful.
    0 comments No comments

  2. LiweiTian-MSFT 16,845 Reputation points Microsoft Vendor

    Hi @Roopak Sahoo

    Teams files are essentially saved on OneDrive and SharePoint. There is currently no way to prevent users from uploading specific types of files in Teams.

    To get this feature more quickly, you can send a feedback directly to Microsoft Feedback to add it in future updates.

    Many features of our current products are designed and upgraded based on customers’ feedback. With requirements like this increase, the problem may well be released in the future.

    However, 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 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.Go to Settings in the SharePoint admin center, and sign in with an account that has admin permissions for your organization.

    2.Select Sync.

    Sync settings in the SharePoint admin center

    3.Select the Block upload of specific file types check box.

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

    5.Select Save.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.