I am using the OfficeDev.Core to create DocumentSet "Folder" in sharepoint Online in a Provider Hosted Add-in in C#.
I am using the lastest CSOM C# library for Sharepoint On line : Microsoft.SharePoint.Client.dll V16.1.5813.1200 Microsoft.SharePoint.Client.DocumentManagement.dll V16.1.5813.1200
This was working fine for months and yesterday we notice that the method Create from the class Microsoft.SharePoint.Client.DocumentSet.DocumentSet return an error unknown !
I use a AppOnly Access Token with highest permissions.
Do you have any ideas or workarounds to create a documentset with CSOM ?
Thanks
PS: I try to create this documentset with the UI and it works fine.
Indeed, at least i'm experiencing at the moment the same issue (
Microsoft.SharePoint.Client.UnknownError
exception) while trying to create a document set via CSOM API in SharePoint Online.How to reproduce?
While creating a document set via
Microsoft.SharePointOnline.CSOM
library:the exception of
Microsoft.SharePoint.Client.UnknownError
occurs in SharePoint Online.Workaround
But there is a workaround that allows to create a Document Set (without
Microsoft.SharePoint.Client.DocumentSet
namespace involved)Usage