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?
Thanks @ZiggyVeerman 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
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.