not able to use PAT in Teamcity VCS root for authentication
I am trying to enter PAT as authentication in VCS root for Teamcity on premise connecting to azure devops repository and we not able to. If I enter userid/pwd it works fine. I saw a similar post https://teamcity-support.jetbrains.com/hc/en-us/community/posts/360004021559-Can-t-use-personal-access-token-with-TFC-Git-VCS-root and there is no resolution. So I would appreciate any pointers on how/what I should do to get the PAT to work as I will need it to be used in azure devops release pipeline. Thanks for any input!
======
Here are a bit detail about the issue:
Type of VCS: git
Authentication method: password/personal access token
username: blank
password/access token: entered pat created from my azure devops account.
click on test connection, it shows
org.eclipse.jgit.errors.TransportException: {url} not authorized
From the thread it seems this is a feature request, is this implemented? the version I am using is:
TeamCity Professional 2022.10.4 (build 117134)
Please sign in to leave a comment.
As a side note, I'd also recommend switching server-side Git operations from JGit to Native Git: https://www.jetbrains.com/help/teamcity/2022.10/git.html#Native+Git+for+VCS-related+operations+on+the+server
The connection should work with both JGit and Native Git, but the latter is usually faster.