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

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 @Marco Crank , 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!

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
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,717 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