Skip to content

Issue deleting sharepoint column  #7408

@EdwardKnightonEchelon

Description

@EdwardKnightonEchelon

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

SharePoint CSOM

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

No response

Issue description

When trying to delete a Sharepoint list column using this code:
Field oField = yammerList.Fields.GetByInternalNameOrTitle("ColumnName");
oField.DeleteObject();
context.ExecuteQuery();
I get the error:
The attempted operation is prohibited because it exceeds the list view threshold.

I also get this error while trying to delete the column in list settings on the Sharepoint website. Not certain why this error would occur while deleting a column and would like to know if there are any workarounds or resolutions to it. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APItype:archive-old-issueIssues which are closed as tool old for active worktype:questionQuestion... if answered, will be tagged as such.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions