403 forbidden issue in sharepoint csom

  • Thread starter Thread starter Parag Ghogal
  • Start date Start date
P

Parag Ghogal

Guest
we are performing CRUD operations on sharepoint list by authentication appid appsecret.

string siteUrl = "https://tenant.sharepoint.com/sites/demo";
using (var cc = new AuthenticationManager().GetAppOnlyAuthenticatedContext(siteUrl, "[Your Client ID]", "[Your Client Secret]"))
{
cc.Load(cc.Web, p => p.Title);
cc.ExecuteQuery();
Console.WriteLine(cc.Web.Title);
};

we are trying to perform CRUD operations for 1.5 lacs records. After executing executequery certain number of times it is showing 403 forbidden error. So we used throttling ExecuteQueryWithIncrementalRetry() mention in below article. It still showing 403 forbidden error. Can anyone help me for this issue.
Avoid getting throttled or blocked in SharePoint Online

Continue reading...
 
Back
Top