Function App Deployment slot swap is not working, when storage access restricted to selected network

Krishnaraj Poojary 1 Reputation point
2022-05-05T07:17:43.51+00:00

Function App Deployment slot swap is not working, when storage access restricted to selected network.
Please check my post azure-functions-swap-functionality-is-not-working-after-enabling-private-endpoin

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,916 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,194 questions
Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
550 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 25,106 Reputation points Microsoft Employee Moderator
    2022-05-06T06:23:18.293+00:00

    @KrishnarajPoojary07388 Thanks for reaching out. I have reviewed the logs of the function app (that you have shared in stack overflow) and I am able to see the swap operation is failing due to Appinit module service unavailable. Could you please check whether [Application Initialization] (https://learn.microsoft.com/en-us/iis/get-started/whats-new-in-iis-8/iis-80-application-initialization) is enabled or not. If yes, could you, please follow [these documented steps] (https://ruslany.net/2017/11/most-common-deployment-slot-swap-failures-and-how-to-fix-them/) and make the changes to those rewrite URLs.

    Feel free to reach back to me if you have any further questions.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.