I am getting
The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator
while renaming site column in SharePoint online using csom. I have faced this issue in the past while fetching items from the large list but this is a different scenario, here I am just trying to rename the site column. Any help would be appreciated.
Below is the code
var siteColumnField = rootWeb.Fields.GetByInternalNameOrTitle(ColumnInternalName); siteColumnField.Title = "UpdatedName"; siteColumnField.UpdateAndPushChanges(true); this.clientContext.ExecuteQueryRetry(ConfigHelper.ThrottleRetryCount, ConfigHelper.ThrottleDelay);