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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,467,302
Community Members
 
Community Events
177
Community Groups

Azure DevOps Bitbucket Integration with certificates

I just spent quite a few hours trying to integrate BitBucket and Azure DevOps.  We were only able to list repos, and all other operations/selections would not work and would provide a 'Forbidden' error.

We attempted to work around auth issues (MFA enabled on BitBucket), but there doesn't seem to be any way get a private key into Azure DevOps to allow for the jobs to authenticate to build out pipelines.

It doesn't seem to be possible....has anyone had experience with this and found a workaround?

1 comment

FYI, the resolution to this issue was to whitelist an undocumented public IP address for the region that our Azure DevOps org was in.  Overall, i'm not super pleased with the outcome since I'm concerned that IP will change in the future...but at least I now know what to do to fix it.  

@Ziggy Where did you white list the IP? I am having this exact issue and it is driving me insane.  Going on almost a whole day trying to troubleshoot this problem.

Are you hosting your own BitBucket Server or using Cloud Hosted?

Found this for the IPs of Azure Devops

https://docs.microsoft.com/en-us/azure/devops/organizations/security/allow-list-ip-url?view=azure-devops

Thank you

- Marco

Hey @[deleted] , we whitelisted it on the Bitbucket Cloud Hosted solution itself under Access Controls for the account.

Just FYI, after much more discovery work, even though I was able to list the buckets and select content, we were still unable to perform a build.  A git checkout from Azure DevOps was failing to perform the activity while complaining about whitelisting.  

In that case, Microsoft told us to either whitelist the entirety of the Azure CIDR ranges, or move on to self-hosted build agents.

I hope this helps!  Cheers!

Deleted user Aug 16, 2019

Thanks @Ziggy Yeah I am trying to create a Build Pipeline and when I hit save getting the Forbidden error.  I'll put the IPs in the white list and see what happens.  Thanks for the quick response.

 

Thanks

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events