-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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 - Azure DevOps #18606
Comments
@sebgott could you share the whole log file so we can get more context, please 🙏 ? Thank you! |
Here is the whole log |
Thank you @sebgott Is it possible you have set up different PATs for each of your Azure DevOps repos? If so, could you remove all Azure DevOps except for one in the repository list and see if you can get the credentials to work with that one? I wonder if GitHub Desktop is asking you credentials for a different repo than the one you're providing the credentials for. It'd be interesting to see if you could use this command in the terminal from your repo path, providing the same credentials, and see if it works: |
I only have one PAT that I have used for the past 2-3 months now without any problems. All the repos are in the same org and project in ADO. Ran the command, but I still get prompted for username and password every time I try to use Github Desktop. |
@sebgott but did the command work or did it also fail? One more question: does your repo use LFS? |
@sergiou87 The command worked, or at least I assume it did because it did not return any errors (it did not say anything). We do not use LFS |
Also getting this same issue. |
@edwinh-capfin / @sebgott Does #18586 (comment) temporarily resolve this for you? |
Every time I pull the push code, I need to re-enter the user name and password. How can I solve this problem? |
Hello 👋 Please, try the latest beta (3.3.19-beta2) from https://desktop.github.com/beta which includes support for multiple git credentials on the same host based on different repository paths and let us know if it works. After updating, you might need to re-enter your credentials for your Azure DevOps repositories. For hosts other than
Thank you for your patience 🙏 |
Works now 👍 |
The problem
Hi since updating to the newest version, 3.3.17, I have to reenter my credentials for Azure DevOps every time I switch repos (email and PAT). This was working fine until Wednesday 08-May-2024
Release version
3.3.17
Operating system
MacOS
Steps to reproduce the behavior
Log files
2024-05-13T11:10:19.697Z - error: [ui]
git -c credential.helper= fetch --progress --prune --recurse-submodules=on-demand origin
exited with an unexpected code: 128.stderr:
fatal: Authentication failed for 'https://dev.azure.com/org/project/_git/repo/'
(The error was parsed as 4: Authentication failed. Some common reasons include:
Changed the actual link to the repo to a generic
Screenshots
Additional context
No response
The text was updated successfully, but these errors were encountered: