Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unauthorized / Invalid Credentials

I can access the bit bucket on the cloud using my credentials successfully. However when I tried connecting via visual studio 2017 (latest bits) extension (version 1.37.95), I am getting following error message:


Unauthorized / Invalid Credentials


I know that my user name and password is correct. I have been using this extension for a while without any issues. But I have not connected with my repos in the cloud recently. This issue just started happening.

What troubleshooting mechanism can I follow to get out of this issue?

2 answers

1 accepted

2 votes
Answer accepted

I ended up using App password feature for this and it worked.

What do you mean by an app password

You can create AppPassword in bitBucket settings, under AccessManagement, once there just give it a name and select the necessary permissions to the app, then, bitbucket shows you the password, is important to save it immediately, because you won't see it again.


Finally, you can go to vs bitbucket extension, use your user name and the generated password.



This helped for me; just wanted to point out that it requires bitbucket username; not email and that password. 

0 votes
Ana Retamal Atlassian Team Jan 17, 2019

Hi Raghu, welcome to the Community!

As you're able to log into Bitbucket using your credentials, seems like the problem might be on the other side. Are you using this extension? If so, I'd recommend contacting them for help or recommendations on how to proceed, since they'll be able to investigate on their side why the connection is not being successful.

Hope that helps!


See my answer. Thanks for your suggestion.

Otherside meaning Atlassian or microsoft

even if I download Bitbucket extension from bitbucket

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

117 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you