Reputation: 754
I have followed the steps described in the link below to create Continuous delivery from tfs build to windows azure: https://www.windowsazure.com/en-us/develop/net/common-tasks/publishing-with-tfs/
the problem that tfs fails to deploy to azure cloud service and gives me the following error:
An attempted http request against URI https ://management.core.windows.net/...-1b8d-49ae-9d78-.../services/hostedservices/myhostedservicename/deploymentslots/Staging returned an error: (400) Bad Request.
Additional Exception Information:
Error Code: BadRequest
Message: The certificate with thumbprint 96a.... was not found.
The Create Deployment operation threw an unexpected exception.
The deployment failed. Check the logs for exceptions that may have caused this failure.
Exception Message: An attempted http request against URI https: //management.core.windows.net/474...f4/services/hostedservices/myhostedservice/deploymentslots/Staging returned an error: (400) Bad Request.
Additional Exception Information:
Error Code: BadRequest
Message: The certificate with thumbprint 6789... was not found. (type AzureHttpRequestException)
Exception Stack Trace: at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Upvotes: 3
Views: 1497
Reputation: 829
I followed this advice http://teelahti.fi/howto-deploy-to-azure-websites-deployment-slot-from-tfs/ to use this pattern mywebsite(slotname)
So if your website is MySite, and you created a slot "Staging" use MySite(Staging) in the "Web site name:" of the "Windows Azure Deployment Settings" in the "Process" tab of the build definition.
Upvotes: 1
Reputation: 426
I had the same issue and it was cause by having the Remote desktop configuration enabled on my cloud project. You have 2 options:
Hope this helps
Upvotes: 0
Reputation: 1511
I can think of two things that it could be of the top my head:
I hope this helps.
Upvotes: 3