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

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

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.




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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,198 views 2 9
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