The event content type was added to my list, I've removed it and disabled content type management on the list. I was able to remove all columns brought in with the event content type, except the "EndDate" column. The "Delete" button does not appear on the column settings page. My list is behaving strangely now. When I try to add new items, or edit items I get an error Cant complete the action or similar messages.

The list is basically not functional now, I've even tried deleting the field via PnP Powershell:

PS C:\Windows\system32> Remove-PnPField -Identity "EndDate" -List 286B15D3-D928-4687-A3F1-BD54FAF6352D

Delete field 'EndDate'?
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): y
Remove-PnPField : Operation is not valid due to the current state of the object.
At line:1 char:1
+ Remove-PnPField -Identity "EndDate" -List 286B15D3-D928-4687-A3F1-BD5 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (:) [Remove-PnPField], ServerException
    + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Fields.RemoveField

Anyone have a clue what's going on?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.