Pedro Reinoso
Pedro Reinoso

Reputation: 111

Getting an error while trying to clone a repo from Azure DevOps project using VS Code

I am getting the following error while trying to clone a repo using VS Code in Windows 10. Visual Studio Code Git: remote: TF401019: The Git repository with name or identifier does not exist or you do not have permissions for the operation you are attempting.

The developer has full permission to the repo and the project does exist in Azure DevOps.

Thank you for your help

Pedro Reinoso

Upvotes: 6

Views: 6555

Answers (4)

Peurke
Peurke

Reputation: 316

Mac users: update your dev.azure credentials in Keychain Access.

Upvotes: 0

Alexandra Sh
Alexandra Sh

Reputation: 171

I had the same problem and found a working solution here - Remove credentials from Git

I has a wrong git credentials saved in Credential Manager

  • Open Control Panel\All Control Panel Items\Credential Manager\WindowsCredentials
  • Find git credentials

enter image description here

  • Remove credentials
  • Try to clone again -> you will be asked for login
  • Everything works ok

Upvotes: 7

Ishan
Ishan

Reputation: 295

I stumbled upon a similar issue few days ago. In order to solve this I removed the git credential from windows credential manager and it worked..

Upvotes: 1

Pedro Reinoso
Pedro Reinoso

Reputation: 111

I was able to resolve the issue following another link in SO. It had to do with clearing the Git credentials in the PC affected. Below is the link we followed to resolve the issue:

Remove credentials from Git

Thank you

Upvotes: 2

Related Questions