title: How do I connect Visual Studio 2017 to BitBucket in 2022?
body: <p>I use Visual Studio 2017 to connect to BitBucket.  VS has been set up by IT for years.  All I do is push/pull/fetch from inside Visual Studio.  Today, I started getting errors.  I remember seeing something about BitBucket not accepting passwords anymore.  I've been Googling all morning, but can't get it to work.  I've tried setting up an App Password and using it to login, but that password isn't accepted.  I tried downloading a new version of Bitbucket Extension to VS, but that also won't take my login.  I've found some mentions of ssh keys if I was using Git Bash, but I'm not sure how that relates to VS.  Can someone walk me through getting VS setup to work with Bitbucket again?</p>
  <p>Here's the error I get when I try to push my changes to BitBucket in VS:</p>
  <pre><code>Opening repositories:
  C:\Users\xxxx\source\repos\nfsshopfloor
  Error: cannot spawn /C/Program Files (x86)/Microsoft Visual     Studio/2017/Professional/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team Explorer/Git/mingw32/libexec/git-core/git-askpass.exe: No such file or directory
  Error encountered while pushing branch to the remote repository: Git failed with a fatal error.
  could not read Password for 'https://xxxx@bitbucket.org': terminal prompts disabled
  </code></pre>
  <p>Pushing to https://xxxx@bitbucket.org/xxxx/xxxx.git</p>
  <p>Here's where I'm clicking Push inside VS:
  <a href="https://i.stack.imgur.com/DABkv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DABkv.png" alt="enter image description here" /></a></p>
  <p>Here's what I see under the Connect option in VS after I installed the Bitbucket Extension:
  <a href="https://i.stack.imgur.com/ZfbQY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZfbQY.png" alt="enter image description here" /></a></p>
  <p>When I click in login, I see the following screen when I try to login using my Bitbucket login.  I've tried both my regular Bitbucket password and a new app password I created.</p>
  <p><a href="https://i.stack.imgur.com/kIt4B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kIt4B.png" alt="enter image description here" /></a></p>