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
Azure App Service Deployment Center "Failed to set up deployment" with source control Bitbucket
Hello,
We get the error "Failed to set up deployment" when using deployment center with Bitbucket source :
No more info. Anybody to help ?
2 answers
Sort by: Most helpful
-
-
Darren Harrison 1 Reputation point
2021-05-19T05:05:02.323+00:00 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.