Azure web app calling function app only works in test not prod

Morten Bloch Lundgreen 21 Reputation points
2021-09-23T19:11:57.067+00:00

We have a setup in Azure where we have deployed one web app and one function app. In the test deployment slot everything works and the web app gets correct responses when calling different functions in the function app. This is somehow not working in the production slot. Any hints to solve this are very welcome.

Regards,
MBL

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,300 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,914 questions
0 comments No comments
{count} votes

Accepted answer
  1. ajkuma 22,416 Reputation points Microsoft Employee
    2021-09-24T19:02:26.627+00:00

    @Morten Bloch Lundgreen , To assist you better on this, could you please more info about your WebApp and Function App? How exactly are the functions called? Which OS/hosting plan are you leveraging? What exactly happens? Do you receive any error message?

    Some configuration settings are slot-specific (is sticky setting - meaning, the setting is targeted to a slot and is not swapped). Kindly see if this is the case-
    Slots docs -which settings are swapped | Azure Functions and Azure WebApps

    Also, to begin with (if you haven’t done this already so), you may Diagnose and solve problems feature from Azure Portal.
    To do this, navigate to your function app/Web App in the Azure portal.
    Select Diagnose and solve problems to open Azure Functions diagnostics.

    Note: Kindly do not share any PII data on the public forum.


0 additional answers

Sort by: Most helpful