1
votes

I used Visual Studio Team Services for deployment of an MVC website on azure and it was successful.

I also created deployment slots.

Now I would like to rollback the deployment, but I am unable to find the Active Deployment blade on portal.azure.com.

enter image description here

Update 1:

I went to Deployment Source>Choose Source>Visual Studio Team Service> Choose a project. When I clicked it, it did not show any project, although I have project on my Visual Studio Team Services.

I did it other way. I went to Visual Studio Team Services, and there established trust relationship between Azure and Team Services. I succeeded with deployment. enter image description here

1
If you go to the Settings blade and find the Deployment Source menu item, does it say it is configured? If it isn't, you'll need to configure it - then you'll be able to see the Deployments listing and redeploy what you want. - Jason Haley
@JasonHaley I went to Deployment Source>Choose Source>Visual Studio Team Service> Choose a project. When I clicked it, it did not show any project, although I have project on my TFS online. I did it other way. I went to TFS, and there established trust relationship between Azure and TFS online. I succeeded with deployment. - Aditya Bokade
Yeah I had the same thing, my deployments work fine since I connected the VSO build to the Azure webapp, but the Azure portal didn't show the list of deployments until I went through the portal's Deployment Source menu to configure it. All the choices where there, I just needed to connect it. If you don't see the project, it could be a VSO security setting. Are you the Azure account admin and the VSO project owner? - Jason Haley
@JasonHaley I am unable to find where to set myself as owner. I tried this link:visualstudio.com/en-us/docs/setup-admin/team-services/… - Aditya Bokade
I just noticed you also have a deployment slot, are you trying to access the deployment source from the slot you deployed to? Example: for me I was able to connect it on my staging slot's settings -> Deployment Source. Did you create the VSO project? if so, then you should be ok. If not, you probably can't make yourself owner. - Jason Haley

1 Answers

0
votes

Two things need to be checked:

  1. Check whether you have linked a VSTS:

enter image description here

  1. Check whether your team projects are using Git version control. When you select "Visual Studio Team Services" as deployment source from New Azure Portal, it is using Kudu service which is designed for Git version control. So it will only show the projects with "Git" repositories.

enter image description here

If you want to deploy the TFVC project, try with Azure Classic Portal. You can refer to this article for details: Continuous delivery to Azure using Visual Studio Team Services