I have a repo in Azure DevOps Server 2020 (on-premise), which contains a lot of files. I'm trying to use Sourcetree to maintain changes in repo.
Sourcetree has an option to setup remote account to connect to ADS. But I cannot connect to ADS, I get strange errors.
I tried using Host URL with only domain, with collection name and even with project name, but no success :(
Settings before clicking "Refresh Personal Access Token".
Then I add my PAT via "Refresh Personal Access Token", I use my ADS username (integrated with Active Directory) and PAT as password:
I get the error after enterring username and PAT:
So my questions:
- Is my authenication flow correct?
- Should I use only hostname as "Host URL" in Sourcetree or I should add also Organisation (Collection) and Project name?
- What should I use in PAT request:
- Active Directory username (with domain or not?) and PAT as password?
- PAT as username and as password?
- PAT as password and no username?
- something else?



The
Remoteoption is only forAzure DevOps Services, the on-premiseAzure DevOps Serveris not supported with this option. Something likeBitbucketandBitbucket Server, they have different authentication methodsE.G The Azure DevOps Services
https://dev.azure.com/{org}works as expected:For on-premise Azure DevOps Server, we can use the
Cloneoption, just copy the specific repo URL from your project, then set the local path to clone. After that you can change your source files on your local repo and push them to remote repo.