Swap Azure Web site slots with Publish profile

342 Views Asked by At

Folks, I am wondering if there are any ways to swap a staging slot with production when I only have the publish profile for the web site.

I am aware that I can swap slots with Azure CmdLet but that requires adding the Azure subscription into Powershell CLI. In my case, Infrastructure team provisions the web sites in a subscription and provides the Publish Profiles to the Dev team for deployments. The idea we have is dev team will deploy (MSDeploy we are using) the site first in a staging slot and run some sanity check and finally swap the slot. In order to swap the Dev team needs to have the access to the entire Azure Subscription. Which is not what I want. Apparently we are using "Auto Swap" option to do the swap. But this doesn't give the dev team enough control to abandon a bad staging deployment.

Is it possible at all to do the swap for the dev team, given that they only have the publish profiles for the web sites? I would appreciate thoughts, pointers, insights, suggestions etc.

0

There are 0 best solutions below