Suddenly I did stop login from Visual Studio.
My user and password works correctly when login from website.
The ouput says:
git: 'credential-manager-core' is not a git command. See 'git --help'.
Logon failed, use ctrl+c to cancel basic credential prompt.
cannot spawn /c/program files (x86)/microsoft visual studio/2019/community/common7/ide/commonextensions/microsoft/teamfoundation/team explorer/Git/mingw32/libexec/git-core/git-askpass.exe: No such file or directory
Git failed with a fatal error.
I see.
What are the alternatives to sync Visual Studio with Bitbucket?
To log on from the visual studio extension I was using:
miemailaddess@gmail.com
my_bitbucket_password
I tried app passsord with:
my_username@bitbucket.org and miemailaddess@gmail.com
my_app_password
But it did not worked.
@Jesus Barrio app passwords do not work with email as username. You need to use your Bitbucket Cloud username in order to successfully authenticate so that you can sync. Please let me know if this works
Finally I reached to sync using as login:
my_bitbuket_username
the password from app passwords
Thank you!
Hi Jesus,
The same issue is appearing at my side. I'm providing bitbucket username and app password but it is not working. Is there any specific format of providing bitbucket user name or app password?
my_bitbuket_username
the password from app passwords
It only works if you use app password BitBucket's (https://bitbucket.org/account/settings/app-passwords/)
First, I used app password Atlassian's but it didn't work.
@Jesus Barrio I also wanted to warn you that this VS Studio Bitbucket extension is not owned by us and from my research appears to not be maintained anymore. For such unmaintained extensions I would exercise caution in using them as they may potentially have more issues out of our scope in the future.
With VS 2022 the plugin does not work and there is no answer from ATLASSIAN for getting this features as supported by Github's VS plugin: GitHub Extension for Visual Studio - Visual Studio Marketplace
I think this is a really bad situation for teams using Visual Studio for development.
I was running 2022 and not having any problems up until I changed my domain password. Then every time I tried to use VS or bash, I would get blocked. In bash, the message was "fatal: Authentications failed for 'https://bitbucket...<domain><application>.git'
The solution was to enter this in bash: "git config --system credential.helper manager"
After the credential manager was engaged, VS and bash worked normally for me. It was explained to me that the credential manager is what made sure git and bash know about and can use your domain credentials.
Might not be the solution in all cases, but it's one more thing to try.