My company is implementing a sharepoint structure of a single hub site consisting of many sites, no subsites. We don't want the presence of folders being in our sharepoint online document libraries. We only want to use document sets and documents. I have already removed the folder option in the "New" menu, and sharepoint designer has prevented users to upload folders into specific libraries through the "upload" menu, however users can still drag and drop folders into document libraries.

When I try to remove the folder content type(0x0120) from the site altogether in sharepoint designer, it states that it could not save changes. I found a way to disable the drag and drop feature, but I still want users to be able to drag and drop documents.

It there any way to remove the folder content type completely from the site?

1 Answer 1


It's impossible to remove the folder content type from the site in sharepoint online. This is by design. The only way you can do is to disable creating folder in library advanced settings one by one.

enter image description here

Besides, if you are familiar with powershell, you could also use powershell to disable it.

  • I think that only removes the command from UI, but will not stop creating folders from the drag and drop. Commented Jun 21, 2019 at 10:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.