Some time ago, modern SharePoint sites received a new feature: modern Document Sets. In order to enable and use this feature, “all” you have to do is enable the “Document Sets” feature under Site Collection Features. Then simply add the relevant content type to a library and you can start using them.
Simple right?
Well…perhaps not so simple if you try to do this programmatically.
