Open sdebruyn opened 1 week ago
You might need to set useHttpPath
for your DevOps server's URL. In the command below replace https://dev.azure.com
with the URL for your DevOps server and run it in the Dev Container to try:
git config --global credential.https://dev.azure.com.useHttpPath true
Also check which credential manager is installed on the local machine. We recommend GCM these days, but maybe you have it working with a different one: https://learn.microsoft.com/en-us/azure/devops/repos/git/set-up-credential-managers?view=azure-devops
If that doesn't help please append the Dev Containers log from when this failed. (F1
> Dev Containers: Show Container Log
)
Logs: git authentication failed
Steps to Reproduce:
Does this issue occur when you try this locally?: No Does this issue occur when you try this locally and all extensions are disabled?: No
We have an Azure DevOps Server hosting our git repositories. From what I understood the authentication to AZDO Server happens through NTLM.
I've created a DevContainer while working on my MacBook and everything worked fine.
Now a colleague on a Windows domain-joined machine was trying to work inside the DevContainer but git authentication just fails. Git authentication outside the DevContainer works fine. There, the colleague is not asked to provide a username/password. I cannot reproduce this issue on my MacBook, there authentication works just fine inside and outside the container.
Multiple colleagues are experiencing this issue on multiple machines.
There is also not more that I can get from the logs. Even with GIT_TRACE=1 all I get at the end is just Authentication failed for.
What I've tried so far:
Let me know where/how I can get more useful logs explaining why it failed.