Bulk un-Declare In-Place Record list items

Copper Contributor


I have a sharepoint list that has 5000+ items and is now causing issues in the workflow. When I try to delete the items, it's says item is in read-only state and hence cannot be deleted. I go to the properties, compliance, un-Declare as record, only then I'm able to delete them. However, this is a very lengthy activity to do over for 5000 items. 

How can I bulk un-Declare them and then delete the items or make a similar flow so it loops through all the items in that particular list?

2 Replies

I think it's worth to check if this task can be done with PowerShell

Can you explain in details?