Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,846
Community Members
 
Community Events
168
Community Groups

cant connect to a azure devops git repo using PAT

Edited

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

Atlassian Community Events