Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Bitbucket extension for visual studio - not allowing to login

I installed the bitbucket extension for VS 2017/2019 (tried in both versions that I have on my two machines). I have a free plan account with bitbucket and I could not login either using my email and pwd or username/pwd combination. It gives me the unauthorized error always.



3 answers

I use two factor authentication and without warning it does not work with auto login in Visual Studio 2017 anymore.
I looked at  Visual Studio Marketplace  and found an answer which worked for me.

I created an App Password in bitbucket and used the User-name which is generated for the url of git. Instead of the FQDN or email. Only the username is used for login.

Example: git URL :

The user name is: j_mayers
(without @ and DN)

Hope this helps others.



This is exactly what worked for me........was driving me MAD after the initial login failed several times and even the app password wasn't working either. I switched to that username and bingo! Thanks buddy.  ;)

Like Taurique Toffie likes this

@Joseph Mirwald  Please how did you access the "url of git".  I understand we can pick the user-name from there. But am not sure how to find the URL of Git 

Like burakturan9 likes this


Your email: Udochukwu.eze@somehwere.far

Your Bitbucket Account is mastered of: somecompany.far

Your Project is named: someproject

The URL is:

Hope that helps, because your question seems a bit confusing. We talk about accessing git Repository after change to "app-passwords" in bitbucket.

Thanks @Joseph Mirwald worked like a charm 1st time!

0 votes
anupama junior
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Feb 22, 2023


We are using citrix Bitbucket server, and also installed visual studio with bitbucket extension. 

There is no option in bitbucket to create a app password, and we tried it to login by repository url, bitbucket main url, email and password(password which we use to login bitbucket server)

But still getting 2 errors i.e. Wrong request and Invalid credentials. 

Please can you help to connect bitbucket to visual studio when both are under citrix. 

Below is the screenshot 


0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 21, 2019

Hi @aravindk777 , welcome to the Community!

I unerstand you're having difficulties to connect to Bitbucket using the Visual Studio extension. For troubleshooting purposes, could you try to log in to Bitbucket directly using your browser and the same credentials you're trying with the Visual Studio app and let us know if it works?

If Bitbucket works but you're still unable to log in through the extension, please contact the developer of the plugin so they can continue helping you, you can find their page at Visual Studio Marketplace.

Hope that helps,


Hi, I have same issue. My bitbucket account is 2 factor auth enabled. What should I do now ?




Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events