tfsbuild - Error deploying to windows Azure cloud service from tfs preview -
i have followed steps described in link below create continuous delivery tfs build windows azure: https://www.windowsazure.com/en-us/develop/net/common-tasks/publishing-with-tfs/
the problem tfs fails deploy azure cloud service , gives me following error:
an attempted http request against uri https ://management.core.windows.net/...-1b8d-49ae-9d78-.../services/hostedservices/myhostedservicename/deploymentslots/staging returned error: (400) bad request. additional exception information: error code: badrequest message: certificate thumbprint 96a.... not found. create deployment operation threw unexpected exception. deployment failed. check logs exceptions may have caused failure. exception message: attempted http request against uri https: //management.core.windows.net/474...f4/services/hostedservices/myhostedservice/deploymentslots/staging returned error: (400) bad request. additional exception information: error code: badrequest message: certificate thumbprint 6789... not found. (type azurehttprequestexception) exception stack trace: @ system.activities.statements.throw.execute(codeactivitycontext context) @ system.activities.codeactivity.internalexecute(activityinstance instance, activityexecutor executor, bookmarkmanager bookmarkmanager) @ system.activities.runtime.activityexecutor.executeactivityworkitem.executebody(activityexecutor executor, bookmarkmanager bookmarkmanager, location resultlocation)
i can think of 2 things of top head:
- your service configuration has cert need upload cloud service before deploy.
- when setup continuous deploy azure management portal, creates cert , uploads cert azure subscription connect tfs account azure account, same way visual studio when setup publish feature of cloud service project. if cleaning certs in azure subscript might have delete cert tfs uses deploy with. fix go team project in tfs , click settings icon, should open new tab setting of team project, if click services tab see azure connection. fix this, click disconnect, go azure portal , re-setup connection cloud service dashboard tab of cloud service same did first time.
i hope helps.
Comments
Post a Comment