A comprehensive suite of productivity tools and cloud services that enhance collaboration, communication, and efficiency. Combining classic Office apps with advanced Microsoft 365 features, it supports both personal and business needs
Thanks Ryan!
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
i'm running a powershell script to upload information to a sp list. it times out with the following error. how to increase the timeout?
regards,
harish kumar
A comprehensive suite of productivity tools and cloud services that enhance collaboration, communication, and efficiency. Combining classic Office apps with advanced Microsoft 365 features, it supports both personal and business needs
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Thanks Ryan!
Hi Harish,
The error usually occurs when we upload a large file to SharePoint Online or have a slow network connection speed. In the scope of SharePoint Online/PowerShell, it is not feasible to increase the timeout period when using ExecuteQuery().
In this case, using SharePoint Client Side Object Model (CSOM) is the best practice to achieve your request. For further assistance, please post a thread in MSDN forum which is the dedicated to SharePoint CSOM related questions.
Additionally, I find an article about SharePoint CSOM for your reference:
https://msdn.microsoft.com/en-us/library/office/fp179912.aspx
Regards,
Ryan
Hi Harish,
The error usually occurs when we upload a large file to SharePoint Online or have a slow network connection speed. In the scope of PowerShell, it is not feasible to increase the timeout period when using ExecuteQuery().
In this case, using SharePoint Client Side Object Model (CSOM) is the best practice to achieve your request. For further assistance, please post a thread in MSDN forum which is the dedicated to SharePoint CSOM related questions.
Additionally, I find an article about SharePoint CSOM for your reference:
https://msdn.microsoft.com/en-us/library/office/fp179912.aspx
Regads,
Ryan