1

I am writing a powershell script to copy the sharepoint online list items from one sharepoint online list to another while that list consist of 77 fields. I am getting below error. While the same copy code works for list having lesser fields. Do we face problems when we have more number of fields in sharepoint online powershell. There is no attachment or document in list.

Exception calling "ExecuteQuery" with "0" argument(s): "The request message is too big. The server does not allow messages larger than 2097152 bytes."

1

1 Answer 1

0

It is by default that the maximum file size uploaded is 2 MB if you use content property on the FileCreationInformation class.

You could read this for more: Upload large files sample SharePoint Add-in

Besides, you could refer to this article to upload large files:Large file upload in SharePoint Online with CSOM PowerShell

1

Your Answer

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

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