Skip to main content
update answer
Source Link
Chelsea_MSFT
  • 4.6k
  • 1
  • 7
  • 10

This feature is not yet supported in SharePoint Online.

Please see the SharePoint UserVoice post here: Custom restrictions of file types that user can upload to a document library.

--

As a workaround, you can create a content approval flow to approve only PDF files and reject all other file extensions uploaded to a document library.

UPDATE:

Here is a sample flow for your reference:

enter image description here

Turn on Content Approval for the document library. The flow will delete new uploaded documents that are not PDF files and approve PDF files automatically.

Here is a reference: Require approval of documents in SharePoint using Microsoft Flow.

This feature is not yet supported in SharePoint Online.

Please see the SharePoint UserVoice post here: Custom restrictions of file types that user can upload to a document library.

--

As a workaround, you can create a content approval flow to approve only PDF files and reject all other file extensions uploaded to a document library.

Here is a reference: Require approval of documents in SharePoint using Microsoft Flow.

This feature is not yet supported in SharePoint Online.

Please see the SharePoint UserVoice post here: Custom restrictions of file types that user can upload to a document library.

--

As a workaround, you can create a flow to approve only PDF files and reject all other file extensions uploaded to a document library.

UPDATE:

Here is a sample flow for your reference:

enter image description here

Turn on Content Approval for the document library. The flow will delete new uploaded documents that are not PDF files and approve PDF files automatically.

Here is a reference: Require approval of documents in SharePoint using Microsoft Flow.

Source Link
Chelsea_MSFT
  • 4.6k
  • 1
  • 7
  • 10

This feature is not yet supported in SharePoint Online.

Please see the SharePoint UserVoice post here: Custom restrictions of file types that user can upload to a document library.

--

As a workaround, you can create a content approval flow to approve only PDF files and reject all other file extensions uploaded to a document library.

Here is a reference: Require approval of documents in SharePoint using Microsoft Flow.