Questions tagged [azure-deployment-slots]

167 questions
1
vote
1 answer

Azure App Service slot configuration and restarts during swap

We're using Azure App Service with slot deployments and we see unexpected behaviour when swap is performed. We are trying to prevent CMS content sync on staging (which has DatabaseMode: ReadOnly slot setting) during every slot swap. We suspect that…
Aba
  • 55
  • 6
1
vote
0 answers

Routing to a web app slot with query parameters

I have created a web app with multiple slots in azure, I can use it for my A|B testing. Lets say https://mysite.azurewebsites.net is my production site https://mysite-staging.azurewebsites.net is my staging site. When I enable the traffic route (say…
1
vote
1 answer

Azure Resource Manager: Web App Slots Config: App Service Authentication

I am having a issue with applying a App Service Authentication to my Web App Slots. The error i am receiving is the following: "The template resource 'webapptest1a/authconfig' for type…
1
vote
0 answers

Azure Application Gateway marks backend as unhealthy on slot swap

I have a sitecore application deployed to azure webapp. It is exposed to end users through the application gateway. There is a staging slot on the webapp and during the deployment we deploy to the staging slot, do final testing there (using…
1
vote
1 answer

How to Connect MS Teams to Chat Bot Deployed in Azure Bot Service deployment "Development" Slot i.e. NOT the Production/Default Slot

Have created a Development Slot to deploy my Bot and unit test during the development process while the Production/default Slot contains the binaries for tested live ChatBot. We are successfully using MS Teams Channel to connect with the ChatBot…
1
vote
1 answer

Get array of object property names in ARM template

In an ARM template is there a way to get an array containing a JSON object's property names? I don't see anything obvious in the documentation. The closest thing I see is length(object) to get the object's property count but I don't think I could…
1
vote
1 answer

Is it possible to publish cloud service package using AZ powershell script?

I want to find out is it possible to deploy classic cloud service package (Microsoft.ClassicCompute) to Azure deployment slot with AZ powershell. There is a classic service inside a resource group already created in Azure. A package that is going to…
Nikolay
  • 77
  • 1
  • 8
1
vote
2 answers

Azure Deployment Slots with multiple websites hosted under one App Service plan

I am in the process of moving multiple websites to Azure under one Premium App Service plan. Following the instructions provided here https://dotnetthoughts.net/deploying-multiple-application-in-webapp/ I was able to host multiple sites under one…
1
vote
1 answer

Is it possible to route Slot traffic programmatically via an Az Cmdlet?

I would like to be able to route traffic from the "production" Slot to a different slot in Azure via powershell. How could I go about this that does not use RampUpRules? We have an application in Azure currently with 3 slots (the production slot and…
1
vote
1 answer

Managing Azure WebApp Deployment Slots and API Manager

I have a WebApp hosted API secured via Azure AD with API Manager in front of it and that is all working nicely. What I have been trying to do is use deployment slots but of course, that changes the URL endpoint and as such is "unknown" to the API…
K7Buoy
  • 936
  • 3
  • 13
  • 22
1
vote
0 answers

Testing on staging slot using same config urls as production slot

I deployed an Angular app to azure with two slots. One is the staging slot and the other is production slot. The idea is to deploy to staging slot, test and ensure that everything works fine and then swap it with the production slot. I am currently…
1
vote
1 answer

Do I need to add a port to ApplicationInitialization in web.config

I want to do a slot deployment in Azure that automatically swaps the slots if deployment is successful. For that I have an endpoint that returns 200 if everything's fine, returns nothing if anything's wrong (no response). I have this code in my…
xyious
  • 1,065
  • 4
  • 13
  • 29
1
vote
1 answer

Azure Deployment Slots - adding permissions to the slot

We have an Azure database sync group that from time to time needs to be kicked off by the application - as in, a user has done something that requires data to be synced from one database to another (most often adding a new user). We have given the…
Broam
  • 4,602
  • 1
  • 23
  • 38
1
vote
1 answer

Azure app services failed to run deployment command

In the past I'm able to deploy my NodeJS web app on deployment slots for my app service. The deployment was done in the Deployment options blade in portal.azure.com, by configuring the git repository and branch, etc. Recently (last few days since…
1
vote
1 answer

Azure App Service - Setting up Deployment Slots for existing App Service

I have an existing App Service created in Azure, which has a connection string linking to the database, 'Easy Tables' configured, and a whole bunch of custom API methods and table definitions done via the 'App Service Editor'. I'm at a stage in…