Comments on: CSOM in SharePoint Online – Complete Guide https://www.spguides.com/sharepoint-csom-tutorial/ Learn SharePoint, Office 365, Nintex, PowerApps, PowerBI etc, SharePoint training and video courses Thu, 16 May 2024 13:08:49 +0000 hourly 1 https://wordpress.org/?v=6.6.2 By: Eduardo Ticianelli https://www.spguides.com/sharepoint-csom-tutorial/#comments/335 Wed, 21 Jul 2021 14:15:04 +0000 https://www.sharepointsky.com/?p=16153#comment-335 In reply to Eduardo Ticianelli.

I just found out where I got it wrong: I created the project using .NET Core instead of .NET Framework. Once I created a new solution using .NET Framework, it worked correclty.

]]>
By: Eduardo Ticianelli https://www.spguides.com/sharepoint-csom-tutorial/#comments/334 Tue, 20 Jul 2021 17:37:39 +0000 https://www.sharepointsky.com/?p=16153#comment-334 A Great step-by-step tutorial. Thanks!

But I am getting a problem: Whenever I try to connect, I receive an error 400 from the server:

System.Net.WebException: ‘The remote server returned an error: (400) Bad Request.’

This exception was originally thrown at this call stack:
System.Net.HttpWebRequest.GetResponse()
Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
Microsoft.SharePoint.Client.ClientContext.GetFormDigestInfoPrivate()
Microsoft.SharePoint.Client.ClientContext.EnsureFormDigest()
Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
CSOM_SharePoint.Program.Main(string[]) in Program.cs

Any idea on how to solve this?

Thank you in advance

]]>
By: shaik zuber https://www.spguides.com/sharepoint-csom-tutorial/#comments/170 Sat, 23 Jan 2021 15:41:45 +0000 https://www.sharepointsky.com/?p=16153#comment-170 Thanks Bijay. It was very helpful

]]>