I've been unable to setup a VCS root for a TFS 2018.3 (on premise) Git repo using a personal access token. I've tried in both TC 2019.1 and 2018.2.3.
I was able to create an Azure Dev Ops Connection to the TFS server using the PAT. I can click the little VS icon next to the repo URL field in the VCS settings and get a list of all repos on the TFS server. So I know the PAT works. But I have had no success using the PAT for authentication in a VCS Root.
My understanding is you should be able to use any username and the PAT as the password in the VCS settings, but I always get this error:
List remote refs failed: org.eclipse.jgit.errors.TransportException: <my repo url>: not authorized
If I use the real credentials of the account where the PAT was created, it works fine. But using the PAT as the password never works. Am I missing something or does this just not work? Has anyone been able to do this successfully?