-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication failed to clone VSTS repository #5397
Comments
@paulmackinnon-adv365 thanks for the report. I've not tried this in a while, but we have this document that someone contributed about cloning VSTS repositories in Desktop - were these the steps you followed? |
@shiftkey yes, that's the same thing as 'generate git credentials'. I have checked it, anyway, and it has been set, but still doesn't work. |
@paulmackinnon-adv365 could you attach the full log files? The Help | Show Logs in Explorer menu items should open the logs folder, and inside those are the log files generated by day. This will provide some more information about what Git is reporting when the authentication fails. |
@shiftkey Here are my REDACTED logs, but I hope you can sill read them.
Please let me know if there's anything else you need. |
@paulmackinnon-adv365 thanks for the log. This helps me confirm that Desktop uses the credentials you provided:
But that the remote Git repository isn't satisfied with the credentials:
This authentication process uses the same flow for GitHub and non-GitHub repositories, so I still believe that VSTS is not satisfied with your setup and/or the credentials provided. |
@shiftkey you were right. Administration hadn't assigned me the correct rights. Cheers for your help. |
Description
Unable to clone a VSTS (*.visualstudio.com) private repository. Authentication failed error appears.
Version
Steps to Reproduce
Expected Behavior
Usually pops up to log in and clone the repository. I 'Generate Git Credentials' from VSTS repository page and generate a username/password for GitHub Desktop to use, and it would Clone.
Actual Behavior
Authentication failed error appears.
Additional Information
Slightly annoying.
Logs
The text was updated successfully, but these errors were encountered: