question

THESEIS avatar image
0 Votes"
THESEIS asked DarrenHarrison-0543 answered

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 :


2479-1.png


2725-2.png



No more info. Anybody to help ?

azure-webapps-content-deployment
1.png (93.8 KiB)
3.png (92.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SnehaAgrawal-MSFT avatar image
0 Votes"
SnehaAgrawal-MSFT answered

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


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DarrenHarrison-0543 avatar image
0 Votes"
DarrenHarrison-0543 answered

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.