TFVC Checkin Policy not changing

Mitchell Bland 40 Reputation points

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?

👁 User's image

👁 User's image

  1. Fillmore, Doug 10 Reputation points

    Having exact same issue starting today

  2. Wayne Pfeffer 106 Reputation points

    We have developers who are dead in the water at the moment because of this and the solution given at the URL in the error message is useless because it too uses deprecated SOAP calls instead of REST calls to the TFVC API. Could someone at Microsoft please let us know how to fix this?

  3. Doug Abrahamson 25 Reputation points

    Ditto! We have developers who are dead in the water at the moment because of this and the solution given at the URL in the error message is useless because it too uses deprecated SOAP calls instead of REST calls to the TFVC API. Could someone at Microsoft please let us know how to fix this?

  4. Pritesh Narendra 0 Reputation points

    Hi, I am getting the same message to check-in files on DevOps Azure - TFVC one of the Project through Visual Studio 2015 BUT able to check in files in other projects with same DevOps and Visual Studio 2015

  5. Wayne Pfeffer 106 Reputation points

    The projects that continue to work probably aren't using the same policies as the one you're having problems with. Try executing that tool I posted the URL to on github on the project that isn't working.


Sign in to comment

Answer accepted by question author

Wayne Pfeffer 106 Reputation points

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

  1. Doug Abrahamson 25 Reputation points

    Hi Wayne, you just made my week. We downloaded your github project and edited our organization and project name, compiled the project and ran it and it fixed our issue. Noticed your company name in the AssemblyInfo.cs file and knew we were in good hands. We purchased CCH SureTax and CCH SureAddress for our D365FO implementation and are very pleased with the product. Thank you for your quick response.

  2. Wayne Pfeffer 106 Reputation points

    Thank you.

  3. Mitchell Bland 40 Reputation points

    This fixed it for us! Really appreciate it.

  4. Fillmore, Doug 10 Reputation points

    Thank you, all fixed for me

  5. Ramakrishna Kaniganti 0 Reputation points

    Hi All can anyone explain me the steps to solve it please if possible, any screen shot


Sign in to comment

0 additional answers

Sign in to answer

Your answer