Tom Huguenard
Tom Huguenard

Reputation: 41

Setting up Artifactory in Visual Studio fails with 403

I am trying to connect Visual Studio to our Artifactory repo for NuGet. I have successfully connected Rider, but VS remains elusive.

It doesn't just fail, mind you: Visual Studio hammers JFrog with auth requests (that get a 403) until my AD account gets locked out.

So it is a bit frustrating to debug/troubleshoot.

Upvotes: 2

Views: 3057

Answers (2)

Fordy
Fordy

Reputation: 780

We had to change the password in Windows Credentials Manager to one that had no special characters (!"£$ etc.) and only used alphanumerics.

Not all special characters cause the issue (@ seems ok), but at least one or a combination just breaks it and locks your account.

Upvotes: 0

Tom Huguenard
Tom Huguenard

Reputation: 41

Turns out the Windows Credential Manager had a bad password stored. Editing the password there fixed the issue.

Credentials Key is "VSCredentials_{Organization}.jfrog.io.

Upvotes: 2

Related Questions