Create
cancel
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

Unable to clone BitBucket repo created w/ MS credentials

At my organization, we have a BitBucket app in MS Teams, and I used that to create a repo with my credentials. Because I'm logged into the Edge browser, my credentials are passed to BitBucket when I am passed from Teams to the website for my repo, and I do not have to use my e-mail and password. This is convenient, but I cannot clone the repo from another application (RStudio) because RStudio cannot authenticate via Edge. Instead, I encounter an Atlassian pop-up that prompts me for my credentials, but they will not work. Does anyone have experience using a repo that was created via an app (like MS Teams) that has an integration with BitBucket?

1 answer

1 accepted

0 votes
Answer accepted

Hi @SVH ,

If you need to clone a Bitbucket repo, you will need to use your Bitbucket username and password, your MS credentials will not work in this case.

If your account is a managed Bitbucket Cloud account, you will need to use an app-password instead of a password:

Could you please let me know, is this repo hosted in Bitbucket Cloud (https://bitbucket.org/) or Bitbucket Server (self-hosted instance) ?

Kind regards,
Theodora

Hi Theodora,

It is hosted in Bitbucket Cloud, not in a self-hosted instance. 

Thank you for your help,

Sam

Hi Sam,

Thank you for your reply and you're very welcome!

The first step here is finding out if your account is a managed or a non-managed one.

To do this, you can go to the following link (from a browser session where you are already logged in to your Bitbucket Cloud account):

If the account is managed, this page will include a warning message titled "Managed account". Otherwise, in case of a non-managed account, you'll see the option to change your account's email.

If your Bitbucket Cloud account is a non-managed account, you should be able to clone/pull/push using either your Bitbucket account's password or an app-password:

Even if you never set a password for your Bitbucket Cloud account, you should be able to set one by requesting a password reset email via

If your Bitbucket Cloud account is managed, then the account's password won't work for HTTPS authentication and you'll need to generate and use an app-password.

Please feel free to let me know if this works for you and if you need anything further.

Kind regards,
Theodora

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,753 views 10 16
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