Hello,
We get the error "Failed to set up deployment" when using deployment center with Bitbucket source :


No more info. Anybody to help ?
Hello,
We get the error "Failed to set up deployment" when using deployment center with Bitbucket source :


No more info. Anybody to help ?
Thanks for asking question! Just to confirm how are you trying to enable continuous deployment from BitBucket. The article deploy-continuous-deployment shows you how to use the Azure portal to continuously deploy your app through the Kudu build service or Azure Pipelines. For investigating issues with continuous deployment from Bitbucket, see Investigating-continuous-deployment
I had a similar problem, when looking more at the error it showed:
"Failed to set up deployment: Repository 'UpdateSiteSourceControl' operation failed with Microsoft.Web.Hosting.SourceControls.OAuthException: Bitbucket RemoveSSHKey: (404) NotFound."
In my case, I was trying to re-setup a deployment, and the SSH key in Bitbucket was causing the problem.
I eventually deleted the project Access Key, tried creating the deployment again and it worked.
4 people are following this question.