As of today I'm getting errors when trying to use git commands with my repository in Azure-DevOps. The repositories sit in a project on DevOps that I can access with the same account and shows no sign of any recent changes to it. The steps I can take to reproduce it is:
git fetch
Error:
fatal: Authentication failed for `<link to repository>`
Things I've tried so far:
Visual Studio
.IdentityService
folderGIT
GIT For Windows
in the Visual Studio Installer
%LOCALAPPDATA%\Microsoft\Team Foundation\7.0\Cache
%LOCALAPPDATA%\Microsoft\Team Foundation\8.0\Cache
GIT
and VS
keys from the Credential Manager
Currently running:
Edit:
I've attempted using Visual Studio Code
with the Azure Repos 1.149.2
extension and get the same error. It yields me the Microsoft page to enter my code for device login which it grants, but using git
commands give me the same error messages.
I've also had my profile removed from the Azure DevOps environment and re-added without success.
In my particular case after many mails back and forth with Microsoft it turned out that two of my accounts somehow started conflicting with eachother causing weird errors. A nice example was that making changes to a wiki in DevOps would show a different account in the commit trial than the account I was logged into.
In the end Microsoft managed to fix it and I haven't had any issues since.