I have been able to get the code to work with a few modifications, but I'm unable to upload the solution here. Here's the github link: https://github.com/wpfeffer/Obsolete-Policy-Remover
TFVC Checkin Policy not changing
We are using TFVC version control in two projects, hosted in Azure Devops cloud.
Today, we have started getting an error message "It's not possible to operate with deprecated policies, please see Azure DevOps blog for more information. https://aka.ms/tfvc-policy-blogpost", however when I, or our other two admins, try to change the policies in visual studio, the obsolete policies do not show up, and adding new policies don't save changes. None of our developers are able to check in code.
We do not have any custom checkin policies, the only two we use are to ensure a workitem is linked and changesets have a message. We have looked through the settings in the devops portal, but haven't found anything related to checkin policies. How can we disable the deprecated policies?