cant connect to a azure devops git repo using PAT

John Little
Contributor
October 23, 2019

Ok, I have been using git with github, bitbucket etc for years and never had an issue.

Today I tried the task of simply cloning a project from our orgs dev ops git repo in Azure.

I think I have tried everything, and cant figure it out.

On the mac source tree, if I do new->clone URL

It asks for source url, dest path and name.

For URL I enter: https://ourorg.visualstudio.com/CMS/_git/Project

It then fills out a default desination path and name, which I cant change as it pops up with a login window with username and password.

Meanwhile in the azure repo, I have created a PAT with full access to the repo.  The PAT is a long string.

I have tried the PAT for user name and password (as defined in the source tree docs), just for password, with my azure login details, with my azure user and the PAT as the password everything. No matter what I put, I get the error: 

"this is not a valid source path URL". Well it is!

If I try the same thing in windows, I get "failed to login for user [PAT]"

Our org has disabled "alternative credentials" so PAT is the only option.

Any suggestions?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events