none
How to block extensions mp3 jpg mp4 etc RRS feed

  • Question

  • hi all

    i have question 

    how to deny you to upload files like mp3 or mp4 jpg on site at sharepoint online ?

    thx

    Sunday, June 30, 2019 5:20 PM

All replies

  • Hi Ahmed,

    There is No OOTB way to configure this in SharePoint Online, the easiest way would be to create a workflow that would delete the file automatically based on the extensions. Below article for your reference:

    https://support.office.com/en-us/article/types-of-files-that-cannot-be-added-to-a-list-or-library-30be234d-e551-4c2a-8de8-f8546ffbf5b3

    But there is a way for OneDrive where you can restrict the certain files types from syncing. You can use Set-SPOTenantSyncClientRestriction

    Set-SPOTenantSyncClientRestriction  -ExcludedFileExtensions "mp3;mp4"

    Thanks & Regards,


    sharath aluri

    Sunday, June 30, 2019 9:21 PM
  • Hi,

    Currently, restrict uploading files of particular content types is not available in SharePoint Online.

    If you find any reply helpful to you, please remember to mark it as answer.

    Thank you for your understanding.

    Best regards,

    Chelsea Wu


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Monday, July 1, 2019 3:30 AM
  • Hi,

    Is there any progress on this issue? 

    If you find any replies helpful to you, please remember to mark them as answers. If you have solved the problem yourself, you can reply the solution and mark it as the answer. 

    It will help others who meet the similar question in this forum. 

    Thank you for your understanding.

    Best regards,

    Chelsea Wu


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Thursday, July 4, 2019 1:55 AM