Questions tagged [azure-deployment-slots]

167 questions
0
votes
1 answer

Azure Automation Runbook, can it call web api through a VNet?

First question is: Is my understanding and my company's current usage of Azure Automation correct? We have a web app running on Azure production slot. There is an Azure Automation Runbook that is configured to run once a week. In the runbook…
0
votes
2 answers

Azure Web App - Create One Deploy Operation to Slot

I want to use REST API Web Apps - Create One Deploy Operation (https://learn.microsoft.com/en-us/rest/api/appservice/web-apps/create-one-deploy-operation) to deploy to slot in Azure Web App. I don't see how to do that. Has someone already faced…
Bertrand Pons
  • 257
  • 2
  • 18
0
votes
0 answers

Blazor Server + Azure App Service deployment slots: active production users keep on using old SignalR connection slot after swap

when setting up deployment slots for our Blazor Server web app using Asp.Net Identity authentication, we stumbled upon the problem of every user getting logged out after swapping slots. Following Swapping Azure Web App deployment slots logs out all…
0
votes
1 answer

How to use Azure Deployment slots with multiple function apps and an app service

I have gone through tutorials on creating and using deployment slots for app services, but have a question on how to handle using deployment slots for several function apps that service the app service. How can one setup deployment slots that swap…
0
votes
1 answer

Do Azure function slots need the app setting AzureWebJobsStorage?

we use Github actions to deploy our function apps, we first deploy it to a slot then swap it. But I noticed this, should I add the AzureWebJobsStorage app setting to Azure Function Slots as well or ignore this warning? If so, is there a way to avoid…
Diego Antunes
  • 848
  • 1
  • 7
  • 8
0
votes
0 answers

Function app new appsettings not present in production slot

I am new with arm template and very first maybe my question is silly but after finding on GitHub regarding my question I was not able to get any strong answer for the same so posting here. I created one arm template which deploy function app with…
0
votes
1 answer

Seeing duplicate attributes after deploying Azure functions to slot

After I deploy my functions to a slot, I see 7 errors in the problem tab in my console. Can anyone tell me why I'm seeing this? The functions are deployed and working fine! Here is my Http trigger: [FunctionName("StripeConnectWebhook")] public…
chuckd
  • 13,460
  • 29
  • 152
  • 331
0
votes
0 answers

How to deal with Azure Web App deployment slot settings?

We are thinking about using deployment slots for Azure Web / Function Apps, but are struggling with one issue and would like to know your thoughts / solutions about this. We think about doing the following: Deploy IaC for a Web App a. IaC defines…
legan
  • 3
  • 3
0
votes
1 answer

Unable to delete Azure Function Keys in staging Deployment Slot?

I have an Azure Function that uses prod and staging Deployment Slots. I was able to delete some Function Keys from the prod slot, but when I try to delete the same Function Keys in the staging slot, I get the error "Failed to delete ". The same…
ericOnline
  • 1,586
  • 1
  • 19
  • 54
0
votes
1 answer

Azure App Service slot swap logs out all users .Net 4.8

I am using asp.net 4.8 mvc and have only been able to find support for this scenario for .net core. Is it possible to swap an Azure stage and production slot and persist the authentication cookies for logged in users in this framework? I have looked…
0
votes
2 answers

Azure Cloud Services Classic - "Deployment could not be created"

We have a Cloud Service that we have been deploying/updating without issue. In the past two weeks every time we try to deploy the package we are getting the error "Deployment could not be created - There was an error processing your request. Try…
0
votes
1 answer

Azure WebApp - Slot Traffic % Not Working

I have an Azure webapp (ASP Core MVC) and normally use 2 slots: Production Staging I deploy to Staging, test to make sure things are running properly, and swap with Production. No problems except for the 1-2 min downtime during swap. However, I…
Mike Smith
  • 618
  • 10
  • 27
0
votes
0 answers

Azure CD best practices for deployment and swapping

Setting up CI/CD for an azure function. We configured it to automatically build and publish to a "test" slot when code is merged in by a programmer. We test and then if we are happy then we do a slot swap to production. This seems to be well…
0
votes
1 answer

How to copy a Azure function from one deployment slot to another?

I have an Azure Function App with a single function. I created a Deployment Slot. I'd like to copy the function to this Deployment Slot. ( In other words I'd like to duplicate the Function App. ) Is this possible ? Note that Swap is not the same…
BaltoStar
  • 8,165
  • 17
  • 59
  • 91
0
votes
1 answer

how can 2 Azure function deployment slots, be available at the same time?

I asked this question to ChatGPT and it says yes. But when I deploy to the DEV slot, the dev URL works but when I swap, the production URL works but the DEV slot does not even have a function. Maybe I am deploying with VS2022 wrong? I need to be…
Ofer Gal
  • 707
  • 1
  • 10
  • 32