Skip to content

Unable to Persist Credentials and Not Getting Prompted for Auth #633

@gbrac

Description

@gbrac

When pushing or pulling to Azure DevOps git repo, I do not get prompted for credentials and it fails. Running git-credential-manager-core diagnose, I get: System.Exception: Unable to persist credentials with the 'wincredman' credential store.

OK ] Environment
[ OK ] File system
[ OK ] Networking
[ OK ] Git
[FAIL] Credential storage

[!] Encountered an exception [!]
System.Exception: Unable to persist credentials with the 'wincredman' credential store.

See https://aka.ms/gcm/credstores for more information.

   at GitCredentialManager.CredentialStore.ValidateWindowsCredentialManager()

   at GitCredentialManager.CredentialStore.EnsureBackingStore()

   at GitCredentialManager.CredentialStore.Remove(String service, String account)

   at GitCredentialManager.Diagnostics.CredentialStoreDiagnostic.RunInternalAsync(StringBuilder log, IList`1 additionalFiles)

   at GitCredentialManager.Diagnostics.Diagnostic.<RunAsync>d__5.MoveNext()

[*] Diagnostic test log [*]
ICredentialStore instance is of type: CredentialStore

Writing test credential...Deleting test credential...

[ OK ] Microsoft authentication (AAD/MSA)
[ OK ] GitHub API

Diagnostic summary: 6 passed, 0 skipped, 1 failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions